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

5020 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Jason Orendorff 405e06a621 Bug 1439936 - Change check_spidermonkey_style.py to support sorting "util/Windows.h". r=sfink.
Far more files #include "util/Windows.h" than <psapi.h>, so this makes the
style-checker check more things (and makes --fixup mode fix more things).

--HG--
extra : rebase_source : a0c4edf10ad7dd4b5e0265c49035acf242197e6c
2018-02-16 21:41:35 -06:00
Dave Hunt 99c36d0dd9 Bug 1438253 - Add Python 3 support to mozunit. r=gps
MozReview-Commit-ID: AJEb9Wcm2T4

--HG--
extra : rebase_source : 3b7dccc542b4d4b146d7f96bf89ee6c54b307a0c
2018-02-14 18:50:52 +00:00
Gurzau Raul 13030d55c1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-21 12:06:01 +02:00
Jeff Walden 5472050225 Bug 1438750 - Remove mfbt/double-conversion.h, and change existing users to instead do #include "double-conversion/double-conversion.h" themselves. r=froydnj on a CLOSED TREE
--HG--
extra : amend_source : 72f066d9c75ae5ccd4d1e929896a2b12aa0ddc8c
2018-02-21 10:15:43 +02:00
Gurzau Raul 14b89a5ae5 Backed out changeset 66c1c1596bea (bug 1438750) for assertion failure at TestFloatingPoint.cpp on Windows platform 2018-02-21 08:29:50 +02:00
Andrew McCreight 98c246e41e Bug 1219081 - Remove undefined reference to libxul_sdk_includes from XPIDL makefile. r=glandium
MozReview-Commit-ID: BK20h5Nexe0

--HG--
extra : rebase_source : 64008aabf15fe6b0a3fa44c43b0c3070dc762acf
2018-02-20 10:22:36 -08:00
Jeff Walden 2b6c4bedad Bug 1438750 - Remove mfbt/double-conversion.h, and change existing users to instead do #include "double-conversion/double-conversion.h" themselves. r=froydnj
--HG--
extra : rebase_source : 76ecf4ab0caf7a5367636a866512931d3fd9b962
2018-02-15 21:02:53 -08:00
Jason Orendorff c1d0be7190 Bug 1438278 - Part 4: Rename some files into js/src/util. r=jandem.
jsdtoa.* -> util/DoubleToString.*
jswin.h -> util/Windows.h
jsnativestack.cpp -> util/NativeStack.cpp
jsnativestack.h -> util/NativeStack.h
jsnspr.h -> util/NSPR.h

--HG--
rename : js/src/jsdtoa.cpp => js/src/util/DoubleToString.cpp
rename : js/src/jsdtoa.h => js/src/util/DoubleToString.h
rename : js/src/jsnspr.h => js/src/util/NSPR.h
rename : js/src/jsnativestack.cpp => js/src/util/NativeStack.cpp
rename : js/src/jsnativestack.h => js/src/util/NativeStack.h
rename : js/src/jswin.h => js/src/util/Windows.h
extra : rebase_source : 189adff9f7cb74dfbd101b6b39986d63b0274096
extra : amend_source : 34efb7c0a7dd23bb797940558616e0657b20ef20
extra : intermediate-source : 16fc0963cac52ccb1ed2de9c174855e8a3cb2b52
extra : source : 7b8377e2efd5994b37b65bebd1fdd4367a849b93
2018-02-14 16:04:42 -06:00
Jason Orendorff 1009666ca4 Bug 1429206 - Part 5: Rename jsscript* -> vm/JSScript*. r=jandem.
--HG--
rename : js/src/jsscriptinlines.h => js/src/vm/JSScript-inl.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : rebase_source : 76a4533cf979baa37e00cabd2c415651c40dbb07
extra : source : d2e0574ed57e4185cef132acc3be30a29833f622
2018-02-12 13:07:16 -06:00
Jason Orendorff 9726925e27 Bug 1429206 - Part 4: Rename jsfun* -> vm/JSFunction*.
--HG--
rename : js/src/jsfuninlines.h => js/src/vm/JSFunction-inl.h
rename : js/src/jsfun.cpp => js/src/vm/JSFunction.cpp
rename : js/src/jsfun.h => js/src/vm/JSFunction.h
extra : rebase_source : 2fe8f01ec6ec2ad4dba3f80fb99cca89b0bcba9e
extra : source : 29b51bc766687c21a809acf8dae10ec214626ba3
2018-02-12 12:51:39 -06:00
Jason Orendorff cad22c716c Bug 1429206 - Part 3: Rename jsobj* -> vm/JSObject*. r=jandem.
--HG--
rename : js/src/jsobjinlines.h => js/src/vm/JSObject-inl.h
rename : js/src/jsobj.cpp => js/src/vm/JSObject.cpp
rename : js/src/jsobj.h => js/src/vm/JSObject.h
extra : rebase_source : 56a6d297b6cb63b72670b2310a48e00d56917648
extra : source : f61c33f738a6c5d2e52a6063bd18c632caea9e91
2018-02-12 12:03:37 -06:00
Jason Orendorff 89506377a3 Bug 1429212 - Add --fixup mode to check_spidermonkey_style.py. r=sfink.
--HG--
extra : rebase_source : fea02f44c54aa994f49c120c096be03774aac974
2018-02-12 11:37:12 -06:00
Nick Alexander 9d65a9cea8 Bug 1435424 - Remove doxygen support from the build system. r=gps
This is ancient and the team that used it (gfx) is no longer using it.

MozReview-Commit-ID: HrDgmAU9QeW

--HG--
extra : rebase_source : c4a64965c4ae1a50888893e881a6e8a9688a58b6
2018-02-02 14:24:18 -08:00
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
André Bargull 9129fc5348 Bug 1430761: Update tzdata in ICU data files to 2018c. r=Waldo 2018-02-01 05:36:03 -08:00
Nick Alexander 5ee275d6d3 Bug 1368699 - Post: Remove PURGECACHES from Make and now-unused app-rules.mk. r=gps
Now that writing the .purgecaches sentinel is done by |mach build|, we
can remove it from Make.  In addition, we can cull the now-unused
app-rules.mk \o/

MozReview-Commit-ID: 6CnAqLeZwzB

--HG--
extra : rebase_source : 2a5b67e723f8e1654627e6e6f26704f6a4e57706
2018-01-19 10:50:42 -08:00
Nick Alexander 6729d9a469 Bug 1368699 - Pre: Remove MY_{CONFIG,RULES} Makefile customization hooks. r=gps
I very much doubt these are used, but even if we are -- we shouldn't
support this type of local customization, since it doesn't extend to
non-Make-based backends.

With the customization point removed, there's no way to set ETAGS, so
we remove what little support there was for generating Emacs tags.

MozReview-Commit-ID: IEF2Q4tISEn

--HG--
extra : rebase_source : 3bc8e651c03517edb797032db6ce60ed8852d9fa
2018-01-19 10:43:51 -08:00
Coroiu Cristina 04dc0e7243 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-01-31 02:14:54 +02:00
Coroiu Cristina 4854a65d8c Backed out 3 changesets (bug 1368699) for bustage on Android L10n nightlies a=backout
Backed out changeset e16fc8abd345 (bug 1368699)
Backed out changeset 35a5db01b6ae (bug 1368699)
Backed out changeset 7297a1e8c4ff (bug 1368699)
2018-01-31 01:59:23 +02:00
Nick Alexander f6ce1f10e0 Bug 1368699 - Post: Remove PURGECACHES from Make and now-unused app-rules.mk. r=gps
Now that writing the .purgecaches sentinel is done by |mach build|, we
can remove it from Make.  In addition, we can cull the now-unused
app-rules.mk \o/

MozReview-Commit-ID: 6CnAqLeZwzB

--HG--
extra : rebase_source : 7427ca9aecc6619f48090c6a26c9a2e0e7d37bad
2018-01-19 10:50:42 -08:00
Nick Alexander feb76eb004 Bug 1368699 - Pre: Remove MY_{CONFIG,RULES} Makefile customization hooks. r=gps
I very much doubt these are used, but even if we are -- we shouldn't
support this type of local customization, since it doesn't extend to
non-Make-based backends.

With the customization point removed, there's no way to set ETAGS, so
we remove what little support there was for generating Emacs tags.

MozReview-Commit-ID: IEF2Q4tISEn

--HG--
extra : rebase_source : 140e07f78dbd72391c70c48f25e2b85c924fe78d
2018-01-19 10:43:51 -08: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
Andrew Halberstadt 3684054b5d Bug 1433974 - Update BUG_COMPONENT for some of the new Testing components, r=jmaher
MozReview-Commit-ID: 7jQnnAhOzEr

--HG--
extra : rebase_source : af1c9dca779c6089b5cc062eea81ef9945133d48
2018-01-29 12:57:54 -05:00
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Matt Howell 2e1fabc3c5 Bug 1427365 - Support spaces in the Windows version resource product name/description. r=gps
MozReview-Commit-ID: Gdm389zZqYq

--HG--
extra : rebase_source : 95d22d94cc26ad1f333ea61e083bfaecaa1034f0
2018-01-04 13:50:56 -08:00
Jeff Walden 40b1aa5f10 Bug 1432312 - Move a few trivial -inl.h definitions into the .h to eliminate used-but-not-defined compiler warnings (errors, with -Werror). r=nbp
--HG--
extra : rebase_source : a2eb78ecf7815c7f903a312d26585beff91a1442
2018-01-22 12:51:58 -08:00
Nika Layzell c33284aec0 Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Christian Holler 5e6434ac23 Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.

MozReview-Commit-ID: D6Tyebz3jZS

--HG--
extra : rebase_source : f07a5d2bf8e09fb6c93501e58fbb958004e2fa05
2018-01-17 17:05:04 +01:00
Coroiu Cristina faa2f8c7da Backed out 2 changesets (bug 1431090) for Bf bustage at src/tools/fuzzing/interface/harness/FuzzerTestHarness.h
Backed out changeset 2e98bda3f397 (bug 1431090)
Backed out changeset eb6acc9e44ad (bug 1431090)

--HG--
rename : tools/fuzzing/registry/FuzzerRegistry.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp
rename : tools/fuzzing/registry/FuzzerRegistry.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h
rename : tools/fuzzing/interface/harness/FuzzerRunner.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp
rename : tools/fuzzing/interface/harness/FuzzerRunner.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h
rename : tools/fuzzing/interface/harness/FuzzerTestHarness.h => tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
rename : tools/fuzzing/interface/harness/moz.build => tools/fuzzing/libfuzzer/harness/moz.build
2018-01-23 13:49:26 +02:00
Christian Holler 08e812cc03 Bug 1431090 - Add FuzzingInterface support to JS engine. r=froydnj
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.

MozReview-Commit-ID: D6Tyebz3jZS

--HG--
extra : rebase_source : 58e4d85e657347b061de0ed912365f2a955a86e3
2018-01-17 17:05:04 +01:00
Christian Holler 9b23854e8b Bug 1432298 - Make sm-fuzzing build ready for libfuzzer. r=sfink
This patch disables the stdcxx-compat check for the sm-fuzzing build which
requires patching autospider as well. Furthermore, it switches the build
to linux64-clang-6-pre because the older clang 3.9 does not support trace-pc
instrumentation. Finally, it excludes fuzzing parts from the vanilla allocation
check.

MozReview-Commit-ID: FdhCIFdUore

--HG--
extra : rebase_source : c41bda01cb42f2ef0cd5a1675d88bdb55d9dc8c9
2018-01-22 21:23:47 +01:00
Gurzau Raul bbe856eaf5 Backed out 5 changesets (bug 1255485) for mochitest failures on test/mochitest/test_hangui.xul
Backed out changeset 90b7449882b6 (bug 1255485)
Backed out changeset 5672cf8d324b (bug 1255485)
Backed out changeset ed6dd4aefadb (bug 1255485)
Backed out changeset 0ba36c0feddb (bug 1255485)
Backed out changeset 51af06b6123c (bug 1255485)
2018-01-23 02:01:43 +02:00
Ted Mielczarek 4c95b3dc36 bug 1255485 - force import libraries to be generated in objdir, not dist/bin. r=chmanchester
The MSVC linker winds up generating import libraries when linking some of
our executables, presumably because they contain functions that are
__declspec(dllexport). By default the import libraries get written
alongside the exe, so we force them to be written to the objdir so they don't
clutter up dist/bin.

MozReview-Commit-ID: 7DTfCo3OdDQ

--HG--
extra : rebase_source : fea69e8f60633b824726269c2296af9fe812d3ed
2017-11-27 09:03:31 -05:00
Ted Mielczarek be1e5a70e4 bug 1255485 - Remove NSDISTMODE=copy support from config.mk. r=nalexander
MozReview-Commit-ID: L5Pe4NexbJD

--HG--
extra : rebase_source : 3a499c357948da288fa12e28010bee069510b00d
2017-11-22 15:31:01 -05:00
Ted Mielczarek 2a410dbcc3 bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander
Historically we built all our binaries in directories in the objdir, then
symlinked them into dist/bin. Some binaries needed to be copied instead
so that certain relative path lookups work properly, so we resorted to
sprinkling `NSDISTMODE=copy` around Makefiles.

This change makes it so we build PROGRAMs (not any other sort of targets)
directly in dist/bin instead. We could do the same for our other targets
with a little more work.

There were several places in the tree that were copying built binaries to
some other place and needed fixup to match the new location of binaries.

On Windows pdb files are left in the objdir where the program was
originally linked. symbolstore.py needs to locate the pdb file both to
determine whether it should dump symbols for a binary and also to copy
the pdb file into the symbol package. We fix this by simply looking for
the pdb file in the current working directory if it isn't present next
to the binary, which matches how we invoke symbolstore.py.

MozReview-Commit-ID: 8TOD1uTXD5e

--HG--
extra : rebase_source : 9140be949b206bb595d9188ce7e8357347ecd9a9
2018-01-10 14:26:12 -05:00
Simon Fraser 638b7b677e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-01-22 11:19:18 +00:00
Ralph Giles a9735964e0 Bug 1430886 - Disable incremental rust in automation. r=froydnj
Work around excessive command-line length issues by
disabling incremental rust compilation, which is enabled
by default outside `cargo --release` starting with Rust 1.24.

Incremental rust builds shouldn't help much in automation,
where sccache provides the only continuity between build
environments. In the meantime, they add a lot of object
files to the link line.

See https://github.com/rust-lang/rust/pull/47507 about addressing
the underlying issue upstream.

MozReview-Commit-ID: LRwUj3fhiaO

--HG--
extra : rebase_source : 1739a7570b2e7fe40ead3b301ea20c2fe79f0431
2018-01-17 08:32:51 -08:00
Ted Mielczarek 817545f74a bug 1419756 - deactivate pytest cache plugin to stop it writing files in the srcdir. r=davehunt
The pytest cache plugin writes its cache in the srcdir, which means that it
shows up in `hg status`, which is annoying. Writing files to the srcdir is
generally bad practice anyway, so we disable this plugin to stop this
from happening.

MozReview-Commit-ID: HytLLMUtKlc

--HG--
extra : rebase_source : f6acbf3650881312cef051126387220a0f78597f
2018-01-17 11:50:56 -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
Dragana Damjanovic 2dce8cd834 Bug 1429830 - Enable TFO is a cross-compiler is used.r=nwgh 2018-01-11 23:17:44 +01:00
André Bargull ca61705b43 Bug 1415827 - Update in-tree ICU to release 60.2. rs=Waldo 2017-12-18 08:54:56 -08:00
Tom Prince 46e782b6d5 Bug 1424171: Allow controlling the base a relative directories used for looking up localized files; r=ted
MozReview-Commit-ID: J0A2iD5PkD6

--HG--
extra : rebase_source : fe7a2d5e2f486b28902048155718ed8859b06099
extra : source : fca9f7cf6bdbb24f558a9c24973e65bf5681eb09
2017-12-11 10:02:49 -07:00
Mike Hommey bd1eb0ab94 Bug 445128 - Stop putting the version number in the target directory for make install. r=nalexander
Back when I filed this bug, $appname-$version was already useless, but
there actually were multiple supported versions (e.g. 3.5/3.6). So it
made sense to have e.g. firefox-3.5 and firefox-3.6, but not
firefox-3.5.12 and firefox-3.5.13.

Fast forward 10 years, and we change "major" versions every 6 to 8
weeks, have multiple chemspills every other week, and installing to
firefox-57.0, firefox-57.0.1, firefox-57.0.2, firefox-57.0.3 doesn't
make any kind of sense. Even firefox-56, firefox-57 is pretty much
useless.

There /kind/ of was some usefulness to the version in the SDK
directories, but those are gone.

I'm pretty sure no downstream is actually using versioned directories
anyways.

At this point, it seems better to just use the application name, without
the version. A case could be made about ESR, but that would be better
handled with a separate application name (e.g. firefox-esr).

--HG--
extra : rebase_source : 333e10ea1316714bf0008ec772b35093edfc45ff
2017-12-31 17:18:52 +09:00
Mike Hommey 3d82836a72 Bug 1427455 - Remove unused variables from baseconfig.mk. r=froydnj
Bug 1333826 removed their use.

--HG--
extra : rebase_source : 485de0d94f6f349b2c7ac0364b29ce9f5673e944
2017-12-31 10:36:46 +09:00
Mike Hommey 5f5b6efb65 Bug 1426555 - Make autospider builds use --enable-stdcxx-compat on Linux only. r=sfink
Some of the variants are multi-platforms, and having
--enable-stdcxx-compat in their definition will break when the option is
moved over to python configure.

While here, prepare for --enable-stdcxx-compat actually doing something
(it currently doesn't), by adding an exception for it in
check_vanilla_allocations.py.

--HG--
extra : rebase_source : ee1647421542209cf0137db703c4f7e7f06cbc91
2017-12-21 09:50:16 +09:00
David Major 18a5250f02 Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium
Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.
2017-12-20 09:07:46 -05:00