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

38 Коммитов

Автор SHA1 Сообщение Дата
Landry Breuil 7b56d0cc5b Bug 1587116 - only include sys/auxv.h on platforms where it might exist r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D51803

--HG--
extra : moz-landing-system : lando
2019-11-12 07:10:12 +00:00
André Bargull 0b138ce1ee Bug 1433306 - Part 2: Implement Intl.ListFormat stage 3 proposal. r=jwalden
"disjunction" and "unit" types aren't yet supported, because ICU doesn't
provide a C-API for this functionality. "short" and "narrow" styles aren't
supported for the same reason.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 16:05:06 +00:00
Kai Engert d65daa1f26 Bug 1570064 - Allow app (e.g. Thunderbird) to extend the system-headers variable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45922

--HG--
extra : moz-landing-system : lando
2019-09-17 09:54:33 +00:00
Nathan Froyd 4bc1fdffc6 Bug 1570334 - remove `MOZ_ENABLE_CONTENTMANAGER` headers; r=dmajor
`MOZ_ENABLE_CONTENTMANAGER` is no longer defined in m-c or c-c.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 14:57:17 +00:00
André Bargull 2beb9f62fb Bug 1566410 - Part 9: Handle the case when a system ICU supports a different set of measurement units. r=jwalden
This gives a nicer error when a sanctioned unit identifier isn't supported by
the current ICU.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 11:04:50 +00:00
André Bargull 8767ed1f43 Bug 1543675 - Part 1: Change Intl.NumberFormat to use UNumberFormatter API. r=jwalden
- Add NumberFormatterSkeleton as a helper class to construct a number formatter
  skeleton. When the "Intl.NumberFormat Unified API" proposal gets implemented
  a more feature-rich class may be necessary.
- In addition to a UNumberFormatter instance, NumberFormatObject now also
  stores a UFormattedNumber instance. This avoids a performance regression
  compared to creating a new UFormattedNumber object each time a number gets
  formatted. (In micro-benchmarks 20% regressions were seen, with a cached
  UFormattedNumber the same micro-benchmarks even improved by ~33%.)
- Add accessors for reserved slot values to NumberFormatObject to improve
  readibility.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 14:12:03 +00:00
André Bargull ae3180c00d Bug 1473229 - Part 3: Add support for "formatToParts" to Intl.RelativeTimeFormat. r=jwalden
- The new formatted-value API is still draft-only, so extra U_HIDE_DRAFT_API guards
  are currently needed.
- Also moves steps 4-5 of PartitionRelativeTimePattern to native code to reduce code
  duplication.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 10:04:45 +00:00
Mihai Alexandru Michis 57a64c3906 Backed out 3 changesets (bug 1473229) for causing bustages in ICUStubs.h CLOSED TREE
Backed out changeset 953a2bd4220b (bug 1473229)
Backed out changeset f3a2031bde94 (bug 1473229)
Backed out changeset 5109ce5a4b44 (bug 1473229)
2019-07-09 12:07:22 +03:00
André Bargull 435d94c7fa Bug 1473229 - Part 3: Add support for "formatToParts" to Intl.RelativeTimeFormat. r=jwalden
- The new formatted-value API is still draft-only, so extra U_HIDE_DRAFT_API guards
  are currently needed.
- Also moves steps 4-5 of PartitionRelativeTimePattern to native code to reduce code
  duplication.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 08:45:12 +00:00
Mike Hommey 4f79d8057f Bug 1557171 - Wrap the sys/cachectl.h system header on mips linux. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33883

--HG--
extra : moz-landing-system : lando
2019-06-07 00:02:18 +00:00
Josh Matthews c2627621c9 Bug 1457669 - Support Android system headers for standalone SpiderMonkey builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D29698

--HG--
extra : moz-landing-system : lando
2019-05-02 17:07:52 +00:00
André Bargull cc456464eb Bug 1527879: Explicitly set ICU's data directory to stop ICU from trying to load individual files on Windows. r=jwalden
And change the shell to use JS_InitWithFailureDiagnostic instead of plain
JS_Init, so any ICU data loading errors will be printed to stderr instead of
simply exiting the application.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 23:32:40 +00:00
Andy Wingo 585800608e Bug 1522436 - Enable BigInt compilation by default r=jandem,terpri,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17487

--HG--
extra : moz-landing-system : lando
2019-02-06 13:41:56 +00:00
Dana Keeler 74e6b5cabe bug 1498909 - dynamically load libsecret at runtime if available r=franziskus,jcj
Enough linux-based systems don't have libsecret that we can't make it a
requirement on linux. For those that do, however, we can dynamically load the
library at runtime. For those that don't, we can fall back to NSS.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 00:39:45 +00:00
Mike Hommey f61d77aee3 Bug 1507032 - Work around bug in wayland (< 1.12) headers. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11837

--HG--
extra : moz-landing-system : lando
2018-11-14 22:48:26 +00:00
Andrew Osmond d87a27c07f Bug 1294490 - Part 5. Add --with-system-webp switch to build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8118
2018-10-31 15:01:08 -04:00
Chris Manchester f464819a70 Bug 1478499 - Do not list pixman.h twice in system-headers.h r=froydnj
The file is added both unconditionally and conditionally to no effect.

MozReview-Commit-ID: 4t57o0bTF9P

--HG--
extra : rebase_source : c5f7bbb20e094cd4f7a9fcd1e143da90069b73b6
2018-07-31 16:19:59 -07:00
Andreea Pavel 67ce5df76f Backed out 6 changesets (bug 1478499) for failing spidermonkey pkg
Backed out changeset 9dee6a08a2dd (bug 1478499)
Backed out changeset 3982c14a834e (bug 1478499)
Backed out changeset 6f6e562e2013 (bug 1478499)
Backed out changeset 03f68a47b89e (bug 1478499)
Backed out changeset 237dc169f486 (bug 1478499)
Backed out changeset 3f72358d338a (bug 1478499)
2018-08-01 22:22:41 +03:00
Chris Manchester 533c7f8511 Bug 1478499 - Do not list pixman.h twice in system-headers.h r=froydnj
The file is added both unconditionally and conditionally to no effect.

MozReview-Commit-ID: JBZKN2qRf73

--HG--
extra : rebase_source : 74b601ae1d64f8ed7a47b02f79cbef66ac606abc
2018-07-31 15:15:57 -07:00
Franziskus Kiefer 3d0b306faa Bug 1464828 - DAR API with libsecret and NSS back-end, r=keeler,m_and_m,froydnj
This implements an API in `nsIOSKeyStore.idl` and `OSKeyStore.cpp` to encrypt and decrypt bytes with a key that is stored in the OS key store.
There are two OS adapters in this patch.
Libsecret is used on Linux if available.
The NSS key store is used as fallback if no OS specific key store is implemented.

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

--HG--
extra : rebase_source : 99d7d646968a46a13ffa61885bb246f6d3e443e4
2018-07-26 16:05:35 +02:00
Martin Stransky cd921ebea3 Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie
Use wl_keyboard_listener and keymap event to get key mapping on Wayland. Weston simple-im.c example
is used as a reference implementation and actual key modifiers are derived from Wayland/GDK code from
gdkkeys-wayland.c.

MozReview-Commit-ID: 9fMwCvxkYy0

--HG--
extra : rebase_source : 21212cadfa7b1e8bacec2d6fb6970d2aaba7b3f6
2018-07-10 18:28:32 +02:00
Robin Templeton f6e5382e6a bug 1366287 - Part 2.0: Use GMP integers to represent BigInt values. r=jwalden
Also link to libgmp and initialize it with custom memory allocation
functions.

--HG--
extra : rebase_source : 3aab0578a0b9e61c4aea5c7b7d1d572316f63b46
2018-05-11 19:42:48 -07:00
Kris Maglione f8506d46d0 Bug 1460600: Remove unsupported --enable-system-hunspell flag. r=glandium
Our bundled Hunspell now significantly differs from upstream Hunspell. Most
importantly, it supports loading dictionaries from jar: URIs, which is now a
requirement for loading bundled and extension dictionaries. This means that
system Hunspell libraries are no longer compatible with our spell checker
code. We should remove the option to use them so that users don't fall into
the trap of trying to use them.

MozReview-Commit-ID: 2ihJe6YOnGf

--HG--
extra : rebase_source : ceb091b9475a2b101156405a02a60015fc36da17
2018-05-10 10:36:53 -07:00
Martin Stransky 5fbefbfb2d Bug 1460605 - Provide NS_NATIVE_EGL_WINDOW to get a native EGL window on Wayland, r=jhorak
Original patch author is Takuro Ashie <ashie@clear-code.com>

Provide ability to create native EGL window and provide it under NS_NATIVE_EGL_WINDOW
to GL code. The native EGL window is owned/managed by mozcontainer.

MozReview-Commit-ID: 4d0Kk6DRSaD

--HG--
extra : rebase_source : e4677ce51fbf918eb1b0257c66ca4b7220174bbb
2018-05-10 16:04:20 +02:00
Sylvestre Ledru d8248a15c7 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 9f48f2e181fb16ad6bde1c357d74f879e1ef101e
2017-11-24 16:45:47 +01:00
Jim Chen 3daaf655bf Bug 1428182 - 6b. Support unified headers in Breakpad code; r=ted
Fix several problems when building Breakpad with new NDK unified
headers.

- Unified headers define its own tgkill wrapper, so rename our own
  wrapper to __tgkill.

- Unified headers define user_fpxregs_struct for all API levels, so
  don't redefine it.

- Only the target sources under google-breakpad/src/common/linux should
  use custom Android headers, so change the includes line in moz.build to
  use OS_INCLUDES.

MozReview-Commit-ID: HGnUMu5vDUM

--HG--
extra : rebase_source : f5c29c9949a48a8376f84dcc676e5f8df886f130
2018-01-30 14:08:23 -05:00
Cosmin Sabou c6a0d55423 Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE
Backed out changeset 84c767de6202 (bug 1428182)
Backed out changeset 429433caa78c (bug 1428182)
Backed out changeset c576e9d1f68f (bug 1428182)
Backed out changeset 092662eab5eb (bug 1428182)
Backed out changeset 4dd7eaff3ab5 (bug 1428182)
Backed out changeset fbbb0745b139 (bug 1428182)
Backed out changeset 1d1278b289b7 (bug 1428182)
Backed out changeset 55891ffb3768 (bug 1428182)
Backed out changeset 4655e1b1b237 (bug 1428182)
Backed out changeset 377eada51b3c (bug 1428182)
Backed out changeset 17c0e373d921 (bug 1428182)

--HG--
rename : ipc/chromium/src/third_party/libevent/patches/android-api-level.patch => ipc/chromium/src/third_party/libevent/patches/android-arc4random-buf.patch
2018-01-30 01:22:33 +02:00
Jim Chen 1befc583c9 Bug 1428182 - 6b. Support unified headers in Breakpad code; r=ted
Fix several problems when building Breakpad with new NDK unified
headers.

- Unified headers define its own tgkill wrapper, so rename our own
  wrapper to __tgkill.

- Unified headers define user_fpxregs_struct for all API levels, so
  don't redefine it.

- Only the target sources under google-breakpad/src/common/linux should
  use custom Android headers, so change the includes line in moz.build to
  use OS_INCLUDES.

MozReview-Commit-ID: HGnUMu5vDUM

--HG--
extra : rebase_source : 07da575044ca805a3f7f8ba87be8a8c279f17379
2018-01-29 17:38:14 -05:00
Csoregi Natalia 3ce27a72d5 Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE
Backed out changeset 0ecc98bd0822 (bug 1418425)
Backed out changeset 7b7725d1d3c3 (bug 1418425)
Backed out changeset 2e95ebdcae6d (bug 1418425)
Backed out changeset 47fbcaf5ad05 (bug 1418425)
Backed out changeset 142001babb39 (bug 1418425)
2018-01-15 15:30:30 +02:00
Sylvestre Ledru b9a138ff91 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 8b239e9851c9e05a8df64068790b6b1984ff1732
2017-11-24 16:45:47 +01:00
Narcis Beleuzu 26be8043ca Backed out 5 changesets (bug 1418425) for windows build bustage "mbsdiff.exe : fatal error LNK1120". on a CLOSED TREE
Backed out changeset 8154486d3e00 (bug 1418425)
Backed out changeset d32ae48690a7 (bug 1418425)
Backed out changeset 772538a846cb (bug 1418425)
Backed out changeset 29fd023f999f (bug 1418425)
Backed out changeset 218077e82115 (bug 1418425)
2018-01-12 11:32:58 +02:00
Sylvestre Ledru 6c3b68c5e8 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 00ea1457bc84584bf272164570dda8a6e55ca4b6
2017-11-24 16:45:47 +01:00
Andreea Pavel 88a00ab51b Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE
Backed out changeset 228743018ded (bug 1418425)
Backed out changeset f29f7bb3059a (bug 1418425)
Backed out changeset 1d798e14223b (bug 1418425)
Backed out changeset fd4af65bf966 (bug 1418425)
Backed out changeset 656649ecfb11 (bug 1418425)

--HG--
extra : amend_source : 686bbebdb6f490496f9c69ccff4ac22bbb495ad5
2017-12-12 17:48:45 +02:00
Sylvestre Ledru 87099dcb69 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : dfe12a9c531814ae5fd058f6def7a115d4fe7dac
2017-11-24 16:45:47 +01:00
Mike Shal de7dbcd8bd Bug 1417660 - Remove duplicate native_window.h in system-headers.mozbuild; r=chmanchester
MozReview-Commit-ID: 3ltJ9kEXYsj

--HG--
extra : rebase_source : 641d7702e43695b4ff36403247ed367d8cebfc99
2017-11-15 16:30:43 -05:00
Mike Shal 615e689f44 Bug 1407432 - Move system wrapper generation to moz.build; r=froydnj
The make-system-wrappers.py invocation is largely identical to
make-stl-wrappers.py, though this script generates wrappers for both the
STL headers and every other system header that can be used.

Note that the nsprpub script didn't create multiple layers of
subdirectories properly, so for example the 'ia64/sys/inline.h' wrapper
is now generated properly. Additionally, MOZ_SYSTEM_ICU define was
incorrectly using '#ifdef' instead of '#if ... == 1', which causes those
unicode headers to have wrappers when they shouldn't. These will show up
as differences when comparing the Makefile output to the moz.build
output.

MozReview-Commit-ID: KvQAawfzXao

--HG--
extra : source : 5a967cc85e28e63c283a81e2c76444a76dfbd266
2017-11-08 19:58:56 -05:00
Phil Ringnalda 8ccc4ff982 Backed out 6 changesets (bug 1407432) on (wild) suspicion of causing failures in browser_sanitize-timespans.js, somehow
CLOSED TREE

Backed out changeset 86302df0b38a (bug 1407432)
Backed out changeset 5a967cc85e28 (bug 1407432)
Backed out changeset 828d43ec1b16 (bug 1407432)
Backed out changeset bacf04be0a48 (bug 1407432)
Backed out changeset 8d770908a5b9 (bug 1407432)
Backed out changeset ffe9aed0944f (bug 1407432)

MozReview-Commit-ID: 7D50rKeXLrn
2017-11-09 22:07:46 -08:00
Mike Shal 7f43a2e505 Bug 1407432 - Move system wrapper generation to moz.build; r=froydnj
The make-system-wrappers.py invocation is largely identical to
make-stl-wrappers.py, though this script generates wrappers for both the
STL headers and every other system header that can be used.

Note that the nsprpub script didn't create multiple layers of
subdirectories properly, so for example the 'ia64/sys/inline.h' wrapper
is now generated properly. Additionally, MOZ_SYSTEM_ICU define was
incorrectly using '#ifdef' instead of '#if ... == 1', which causes those
unicode headers to have wrappers when they shouldn't. These will show up
as differences when comparing the Makefile output to the moz.build
output.

MozReview-Commit-ID: KvQAawfzXao

--HG--
extra : rebase_source : 758e325c6ec192d83fcfa10f8c878ba2629e45a3
2017-11-08 19:58:56 -05:00