Commit Graph

572937 Commits

Author SHA1 Message Date
Oriol Brufau
04c1b90604 Bug 1417039 - Do not defer loading JSON Viewer. r=Honza
MozReview-Commit-ID: BtnH41N1w8P

--HG--
extra : rebase_source : 7c6e416f9130fbd9bb6deff2bee9a24fc1a937c0
2017-11-28 16:28:21 +01:00
Lars T Hansen
3b440491aa Bug 1421993 - rabaldr, simplify scratch register management. r=bbouvier
The idea here is that on quite a few platforms we will not necessarily
want to use the assembler's ScratchRegisterScope (for any type),
because the assembler uses its scratch registers very actively, as
does rabaldr.  So on those platforms we want our own.  Same on x86,
where there isn't a scratch register.

Anyhow, to make that happen we generalize the scratch register
management here so that it can use the platform's when that is
appropriate (x64 for all, x86 for float registers) and have its own
when that is appropriate (most other platforms).  This is managed with
ifdefs set up in the configuration section.

The net result is fewer, and more easily managed, platform
dependencies.

MozReview-Commit-ID: AOpu7ju4t1c

--HG--
extra : rebase_source : 5d1d4f1f925d61be5e753209f17e5c8b420dcd5f
extra : intermediate-source : 7cea7f8e7d0b5eb0109c431d35c26cdf0ae24330
extra : source : 4a77af46bd0e620076e5b646f752bab9643ea29f
2017-11-28 13:23:39 +01:00
Scott Wu
91fbb20d80 Bug 1420883 - Change setting width to min-width for manage addresses dialog. r=lchang
MozReview-Commit-ID: E1jjtfSdjZs

--HG--
extra : rebase_source : f2e2ddef43f27eb7358cbf5fb153162c54ae925e
2017-11-28 15:21:47 +08:00
bechen@mozilla.com
90589ae7f3 Bug 1420357 - The default value of positionAlign is "auto". r=rillian
MozReview-Commit-ID: KkRzI3B5mfZ

--HG--
extra : rebase_source : 56b6cd5befbb7c76384290f2f0d8915231ee27f6
2017-11-30 11:17:28 +08:00
bechen@mozilla.com
008a43e297 Bug 1420357 - fix postion testcase. r=rillian
1. The default value of position is "auto".
2. follow the spec to parse the position value.

MozReview-Commit-ID: HO7sQ0go5A6

--HG--
extra : rebase_source : ab6066f260abac25d71a1c35511c5389444e000a
2017-11-29 16:16:40 +08:00
Tom Prince
615d82c39d Bug 1421162: Remove some dead mozharness mar code; r=jlund
MozReview-Commit-ID: JvkQ713z1eW

--HG--
extra : rebase_source : 25329f9d189cc1ca1c5823bfa0c15966417ff841
extra : source : d768123592505cb15bcb03f86b62e244c066626a
2017-11-27 22:50:31 -07:00
tigercosmos
89778e9157 servo: Merge #19492 - use entry global's origin in is_origin_clean check for canvas rendering (from tigercosmos:b1); r=jdm
use entry global's origin in `is_origin_clean` check for canvas rendering

There is no change with:
```
./mach test-wpt tests/wpt/web-platform-tests/2dcontext
./mach test-wpt tests/wpt/web-platform-tests/html/semantics/embedded-content/the-canvas-element
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix  #19480 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 79f43ec3b555621d549567f36adb071d33f2d6cc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f2603c4c8aeed1cc9b91e86381da6efafa69319e
2017-12-05 11:33:03 -06:00
steveck-chung
a8b7199f62 Bug 1418884 - [Form Autofill] Make getAbbreviatedSubregionName/findOption supports more locales. r=lchang,scottwu
MozReview-Commit-ID: HD8xFNHJwDR

--HG--
extra : rebase_source : 944ea41bb9470c3707b0bdc5e053bd433a060cbe
2017-11-24 17:04:00 +08:00
Mike Hommey
627d9acca4 Bug 1423461 - Report the right size to the OOM handler for moz_xcalloc. r=njn
--HG--
extra : rebase_source : 536f6504394b14a4968b24fbc719017111a428cf
2017-12-06 16:10:30 +09:00
Mike Hommey
33ca8ff779 Bug 1423461 - Use mozilla/Likely.h in mozalloc.cpp. r=njn
Back when mozalloc.cpp was written, mozilla/Likely.h didn't exist.

--HG--
extra : rebase_source : da3b4c8839a97e3ac2d40da158905ac38c088683
2017-12-06 16:05:08 +09:00
Mike Hommey
a646756fb7 Bug 1423461 - Use noexcept in mozalloc.h on android. r=njn
Bug 1163171 removed support for building for android with GCC, and we
don't need to use throw() anymore. We can use the same code as for other
non-Windows platforms.

--HG--
extra : rebase_source : 9c2c2179a6d214096619ff0ae1d1a42912beda79
2017-12-06 11:38:59 +09:00
Mike Hommey
41a56e83c2 Bug 1423461 - Remove MOZALLOC_INLINE, and always use MOZ_ALWAYS_INLINE_EVEN_DEBUG. r=njn
MOZ_ALWAYS_INLINE_EVEN_DEBUG is always defined through
mozilla/Attributes.h, so the fallbacks are never used in practice. They
are just there from the old days when mozalloc.h didn't use
mozilla/Attributes.h.

--HG--
extra : rebase_source : 0d55068ab5fcec3f4bcafecd8c3ce371597f8cfe
2017-12-06 11:31:48 +09:00
Rob Thijssen
46b04a90df Bug 1416779 - disable firewall notifications; r=MattN
MozReview-Commit-ID: 88jOI6CVhja

--HG--
extra : rebase_source : 61890720720e805176daaab8814330a536990faa
2017-12-05 14:12:55 +02:00
Tiberius Oros
1880c5e16b Merge mozilla-central to mozilla-autoland. r=merge a=merge
--HG--
extra : rebase_source : b704804c0529b605cda321eb65c867121107ce21
2017-12-06 12:29:38 +02:00
Boris Chiou
5f1cc1b488 servo: Merge #19504 - hashglobe: Dump more information if out of memory while allocating a table (from BorisChiou:stylo/crash/out_of_memory); r=emilio
This is for Bug 1418806 and Bug 1416903. Sometimes, we got a crash message on stylo:

>  called `Result::unwrap()` on an `Err` value: FailedAllocationError {
>  reason: "out of memory when allocating RawTable" }

but this is not enough to debug, so let's add one more field in
FailedAllocationError, so we can know the size we are allocating.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 7fd7c21c4c99dd9f8e118948f0c52d4b4073d559

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6566ffbcab15da7dc3f80551089fc433b2635936
2017-12-06 02:38:22 -06:00
Michael Ratcliffe
7523cf460a Bug 1422341 - Prepare VisibilityHandler.js for React 16 r=Honza
MozReview-Commit-ID: 9apN31q36qo

--HG--
extra : rebase_source : 133b09ba8c995368d2e0dae91dab0504e96c0651
2017-12-01 16:30:30 +00:00
Sylvestre Ledru
06be3310e3 Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
Sylvestre Ledru
064af18473 Bug 1407285 - Support spaces in toolkit/locales/l10n.mk r=Pike
MozReview-Commit-ID: CfJlnn2NdoH

--HG--
extra : rebase_source : aa5f6e4557be6abd6117b7566c2e3d87c5062fd2
2017-12-05 12:20:52 +01:00
James Cheng
d04758259c Bug 1423518 - Add Samsung Galaxy S4 Mini GT-I9195 into blacklist. r=jolin
MozReview-Commit-ID: LYqXif8kMmm

--HG--
extra : rebase_source : 6bd80e121c0d96a4b6092740d2f3434b5a7eba19
2017-12-06 18:02:00 +08:00
Gurzau Raul
9197ca87b9 Backed out 2 changesets (bug 1423167) for build bustage on OSX and Windows on a CLOSED TREE
Backed out changeset a83339d160f1 (bug 1423167)
Backed out changeset a27e933a27b6 (bug 1423167)
2017-12-06 12:18:24 +02:00
Emilio Cobos Álvarez
87e28f7863 Bug 1423167: Address missed review comment and fix last-minute typo. r=me
MozReview-Commit-ID: BTCShuEXZdl
2017-12-06 09:58:25 +01:00
Martin Stransky
c960be3742 Bug 1421974 - use gtk_window_set_titlebar() to hide titlebar on WM where GDK_DECOR_BORDER does not work, r=jhorak
This patch is based on Karl Tomlinson's (:karlt) demo from Bug 1419456. We use gtk_window_set_titlebar()
to set invisible widget. The widget takes place of GtkHeaderBar which leads Gtk+ to render CSD shadows
and handle window resizing, it does not render any titlebar.

gtk_window_set_titlebar() works on unrealized windows only and mShell is already realized at time
of nsWindow::SetDrawsInTitlebar() call so we need to update recent GtkWidget setup.

In that case we create GdkWindow for mContainer (instead of mShell), create a temporary GtkWindow,
reparent mContainer (which owns mGdkWindow) to it, unrealize mShell and set up the titlebar
for mShell toplevel window.

As a workaround for Gtk+ Bug 791081 we also allocate some valid size for mShell before it's newly realized
with the updated titlebar.

MozReview-Commit-ID: A3KwRoOzoko

--HG--
extra : rebase_source : ded644762d3be9e79e3d407f57b2f9098021fb96
2017-12-01 15:22:48 +01:00
Martin Stransky
034109dd85 Bug 1421974 - refactor nsWindow::HideWindowChrome() to nsWindow::SetWindowDecoration() and share it with nsWindow::SetDrawsInTitlebar, r=jhorak
MozReview-Commit-ID: 3xEdMXq9JvJ

--HG--
extra : rebase_source : 20a981ec562388337f826cbfcc5cdd5a4c6c37a8
2017-12-01 15:09:11 +01:00
Emilio Cobos Álvarez
66e359331d Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
MozReview-Commit-ID: 6WXqNiODttD

--HG--
extra : rebase_source : bcc1c98bd6b1f865760f2db33f2427a833a89196
2017-12-05 18:05:51 +01:00
Henrik Skupin
426fd860a6 Bug 1423255 - Cleanup tests in test_click_scrolling.py. r=ato
MozReview-Commit-ID: CWJS4izi4RK

--HG--
extra : rebase_source : 064592ed72d49238dc2cefffff58fa7a2a75013c
2017-12-05 21:43:53 +01:00
Mike Shal
92ff4a1e33 Bug 1319222 - Enable compilation on all directories in the tup backend; r=chmanchester
MozReview-Commit-ID: D5NlgEHVydZ

--HG--
extra : rebase_source : f1abb438a0fbd1bf1afbe4610eb0faf9916e1a4b
2017-11-22 13:26:33 -05:00
Mike Shal
d50a647313 Bug 1319222 - Support compiling *.s with yasm; r=chmanchester
The moz.build files that specify USE_YASM = True will get the value of
AS_DASH_C_FLAG and AS overwritten in PassthruVariables. We can save
those in the BackendTupfile and use them in place of the configure or
default settings as appropriate. This enables compilation of those .s
files that are built with yasm.

MozReview-Commit-ID: J66q8nKQ0an

--HG--
extra : rebase_source : 0ee97ef7a2122b42f1d21c473539a2e6352bd9ab
2017-11-22 17:12:50 -05:00
Mike Shal
b0392c330f Bug 1319222 - Enable host compilation in the tup backend; r=chmanchester
MozReview-Commit-ID: 4hp6oH7YOd7

--HG--
extra : rebase_source : a6afa0967aaf3820b38372ca56df258789f00953
2017-11-22 16:24:33 -05:00
Mike Shal
6fab321f11 Bug 1319222 - Add include flags to HOST_*; r=chmanchester
This accounts for LOCAL_INCLUDES in the moz.build files, as well as the
default INCLUDES specified in config.mk that are used for host
compilation. Since some of the HOST_CFLAGS were also used for linking,
those flags are split off into HOST_C{XX}_LDFLAGS so that
the linker-only flags can be placed in those variables.

MozReview-Commit-ID: J1LxIZVeFJ

--HG--
extra : rebase_source : ed7293604e5428e3124f1ecfb2b706e087436b72
2017-11-22 16:23:44 -05:00
Mike Shal
b631c0c574 Bug 1319222 - Remove INCLUDES from HOST_SIMPLE_PROGRAMS linking; r=chmanchester
These flags were added way back in bug 59454 to both the compiling and
linking rules for HOST_SIMPLE_PROGRAMS. However, the INCLUDES aren't
actually needed when linking so we can safely remove them.

MozReview-Commit-ID: 8QywO7tGPpU

--HG--
extra : rebase_source : 34870adcf73b459771413e52bc84c6c63669d0f9
2017-12-05 10:36:15 -05:00
Mike Shal
1cdf4db159 Bug 1319222 - Compile the generated IPDL and WebIDL sources in the tup backend; r=chmanchester
The filenames that these objects generate are passed into the _handle_*
methods instead of with a Sources object, so they need to be added to
the BackendTupfile's list of sources separately.

MozReview-Commit-ID: GoqhiJ3Ismm

--HG--
extra : rebase_source : 60e53c2c28a93c543a99bff0463b2935b2826e09
2017-11-22 16:06:34 -05:00
Mike Shal
5e5570c9ca Bug 1319222 - Add an SFLAGS ComputedFlags variable for compiling *.S; r=chmanchester
Both SFLAGS and ASFLAGS are used to compile assembly, but SFLAGS include
DEFINES and LOCAL_INCLUDES whereas ASFLAGS do not. It seems easiest to
just separate them into two different ComputedFlags values so that the
backend can distinguish between the two types.

MozReview-Commit-ID: Bkm3621ImJG

--HG--
extra : rebase_source : 420204e37d591512f700d77b780939d20c2feeb0
2017-11-22 15:27:52 -05:00
Mike Shal
29e2f8c259 Bug 1319222 - Change --param flag to be multiple arguments; r=chmanchester
This flag should be two parameters, the first of which is '--param', and
the second is the parameter, such as 'inline-unit-growth=10000'. The
recursive make backend lets this slide at the moment because
PerSourceFlags aren't shell_quoted() there.

MozReview-Commit-ID: 8vblYqCGxwg

--HG--
extra : rebase_source : b3fb7fd78e1deec27c3ceb2bcc706e2e3e201e9e
2017-11-22 14:50:24 -05:00
Mike Shal
b2932846e3 Bug 1319222 - Use relobjdir instead of relativedir to determine outputs; r=chmanchester
In most cases, relobjdir is the same as relativedir. However they are
different for some objects, notably with nss gyp handling.  We need to
output files in relobjdir, so use that when getting the BackendTupfile.
This puts generated files like certdata.c in the directory that
moz.build is expecting.

MozReview-Commit-ID: DG29OulOKAz

--HG--
extra : rebase_source : 76dbaeb92fb4112b664768653548caf57242d90d
2017-11-22 11:24:12 -05:00
Mike Shal
5cb7e343f8 Bug 1319222 - Remove srcdir from BackendTupfile; r=chmanchester
The srcdir does not necessarily directly correspond to the objdir, so it
doesn't make sense to tie them together in BackendTupfile. Since the
srcdir was only used for the IPDL sources, we can just replace that
usage with a local variable.

MozReview-Commit-ID: By0N30VTKhh

--HG--
extra : rebase_source : 5cc35da4fadcc53132d459173bcc29ac5b0a57bc
2017-11-22 11:18:28 -05:00
Sebastian Hengst
35e834df9a Backed out changeset 8312a6286023 (bug 1415692) for failing to parse dom/events/test/mochitest.ini on Android due pref usage. r=backout 2017-12-05 19:56:51 +02:00
Pradeep
e511a02e60 Bug 1400315- Fix padding and remove center alignment for empty downloads in downloads dropdown; r=sfoster
MozReview-Commit-ID: 9c5Bp9V9Nl3
***
Bug 1400315- Fix padding and remove center alignment for empty downloads in downloads dropdown; r=sfoster

--HG--
extra : rebase_source : a525fa2367d188a1951fe92ab89e513fb27ff7aa
2017-12-03 16:49:47 +05:30
Aki Sasaki
3c46abf3fd bug 1423014 - add devedition to l10n-changesets. r=Callek
MozReview-Commit-ID: HJT2T1XxrOm

--HG--
extra : rebase_source : 205177fe15b6086e8cd3bc8f7b7c48f738b2aeef
2017-12-03 18:37:32 -08:00
Aki Sasaki
faf36026cb bug 1423014 - 5 locales per chunk. r=Callek
We used to be at 5 locales per chunk, but I reduced it to 2 because we were timing out on signing. That appears to have been due to network issues; let's go back to 5 to reduce the number of tasks in the graph.

MozReview-Commit-ID: Km7YD6RrPmv

--HG--
extra : rebase_source : 01f9424cd1a375d7ce94b63ff5c969adf8e38055
2017-12-04 17:11:33 -08:00
Aki Sasaki
66197cf94f bug 1423014 - fix l10n rstrip bug. r=Callek
'win64-devedition-nightly'.rstrip('-nightly') gives us 'win64-deveditio'
Changing to a .replace() fixes this.

MozReview-Commit-ID: 37cS4IrSuRg

--HG--
extra : rebase_source : 2dc4530101dfd2ae3f278ec46188429daef044f3
2017-12-04 16:50:03 -08:00
Servo VCS Sync
10ffde4a6a No bug - Revendor rust dependencies 2017-12-05 17:34:00 +00:00
Bastien Orivel
7c6e509871 servo: Merge #19487 - Update lazy_static to 1.0 (from Eijebong:bump); r=jdm
For now it'll be duplicated

Source-Repo: https://github.com/servo/servo
Source-Revision: e2a7360e17e5d6ae8aca274183f67db18f37a6c4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dfcd68496ca486045b0b0bc0c51ea4293d8487de
2017-12-05 10:31:16 -06:00
Zibi Braniecki
e62b350d3b Bug 1422997 - Fix multilocale.json in repacks. r=Pike
MozReview-Commit-ID: 8KBNmesxhpY

--HG--
extra : rebase_source : d7e483df25d9a58961c9486dfe09a51437394ee3
2017-12-04 16:14:23 -08:00
Michael Kaply
17dfe3c849 Bug 1417637 - Update l10n strings for pocket. r=mixedpuppy
MozReview-Commit-ID: 1yCZnNVdT8R

--HG--
extra : rebase_source : c925088f30d7696e71dd420bb547c0f475860a44
2017-12-04 16:56:00 -06:00
Matthew Noorenberghe
02471f5cfa Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 20eeacd571e6f50ff076ae1a97924720bf7a55f3
2017-12-04 15:24:02 -08:00
Rob Wood
b731ee0f64 Bug 1422863 - Increase h1 max run time to prevent intermittent timeout on win7; r=gbrown
MozReview-Commit-ID: FRP6UDvtW3T

--HG--
extra : rebase_source : f41103f07cbf3c8b34bf51532f9771609ddef0ad
2017-12-05 11:30:09 -05:00
Ray Lin
131e430cbb Bug 1422692 - Make search result always return success code for every filled fields to show clear form button popup. r=lchang
MozReview-Commit-ID: 6D4U2ZFf2QJ

--HG--
extra : rebase_source : 39f84f0c3f5a1f3627fc60d830e7ff15566a30f1
2017-12-05 13:57:22 +08:00
Jim Chen
2119c96737 Bug 1423010 - 3. Clean up o.m.g.gfx package; r=rbarker
Remove unused classes and make classes that are not used outside of the
package package-private.

MozReview-Commit-ID: 9FxcL5QsM1Q

--HG--
extra : rebase_source : d9ed39d06a0e2aadec131d06c92cb11ef342a320
2017-12-05 11:40:10 -05:00
Jim Chen
93f25f7335 Bug 1423010 - 2. Fix other code that use BitmapUtils; r=rbarker
Use o.m.g.util.BitmapUtils in code that use BitmapUtils.

MozReview-Commit-ID: KPM05Aqf1kW

--HG--
extra : rebase_source : ea910333fc195b329ef41bf168d0299584e63d20
2017-12-05 11:40:10 -05:00
Jim Chen
dadd929ff8 Bug 1423010 - 1. Move BitmapUtils to util package; r=rbarker
I think BitmapUtils is better suited for the o.m.g.util package instead
of o.m.g.gfx, since none of the other classes in gfx actually use
BitmapUtils.

MozReview-Commit-ID: IEwSIb5h9Y7

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/BitmapUtils.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/BitmapUtils.java
extra : rebase_source : 3960fbd5172b745b3a41d1da8e855a2a539ed906
2017-12-05 11:40:10 -05:00