Commit Graph

272228 Commits

Author SHA1 Message Date
Nicholas Nethercote
000b911cc5 Bug 1223690 - Remove implicit Rect conversions. r=jrmuizel.
gfxRect can be implicitly constructed from IntRect, which hides a number of
implicit conversion points, makes Moz2Dification harder, and has some
surprising effects.

This patch removes the implicit constructor and replaces it with an explicit
conversion function:

  gfxRect ThebesRect(const IntRect&)

This is the obvious outcome of removing the constructor.

But there is also a second, less obvious outcome: currently we do a number of
IntRect-to-Rect conversions using ToRect(), which (surprisingly) works because
it turns into an implicit IntRect-to-gfxRect conversion (via the implicit
constructor) combined with an explicit gfxRect-to-Rect conversion (via
ToRect()). I.e. we do two conversions, going from a Moz2D type to a Thebes
type and back to a Moz2D type!

So this patch also changes these conversion. It moves this existing function:

  Rect ToRect(const IntRect&)

from gfx2DGlue.h -- where it doesn't really belong because it doesn't involve
any Thebes types -- to gfx/2d/Rect.h, templatifying and renaming it as
IntRectToRect() in the process.

The rest of the patch deals with fall-out from these changes. The call sites
change as follows:

- IntRect-to-gfxRect conversions:
  - old: implicit
  - new: ThebesRect()

- IntRect-to-Rect conversions:
  - old: ToRect()
  - new: IntRectToRect()
2015-11-11 14:23:14 -08:00
Karl Tomlinson
45b7e4d6de bug 726483 keep an extra reference to the window r=roc 2015-11-10 16:37:02 +13:00
Karl Tomlinson
bb23291274 bug 726483 avoid DispatchResized() during size-allocate r=roc 2015-11-11 13:50:04 +13:00
Karl Tomlinson
f3efe6f25d bug 726483 remove unnecessary DispatchResized() parameters r=roc 2015-11-10 15:09:52 +13:00
Bill McCloskey
d2786ccbd0 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Wes Kocher
cfdc46c501 Merge m-c to inbound, a=merge 2015-11-11 17:12:26 -08:00
Wes Kocher
50a65f459c Merge b2ginbound to central, a=merge 2015-11-11 17:08:11 -08:00
Wes Kocher
dea8d31228 Merge inbound to central, a=merge 2015-11-11 16:42:05 -08:00
Botond Ballo
dfc82f55ec Bug 1224021 - Support fractional async scroll offsets in the reftest harness. r=tn 2015-11-11 19:10:23 -05:00
Gerald Squelart
10bc26d8f3 Bug 1224019 - Disable Stagefright subset gtests - r=jya, rs=botond
These tests are exploratory, they don't particularly match whatever the
original issues were discovered, so it is safe to disable them for now.
A future bug will look at re-enabling them, but without all the output
that they generate.
2015-11-11 19:24:48 -05:00
Bill McCloskey
9300fab4c2 Bug 967873 - Fix some recently enabled tests 2015-11-11 16:24:34 -08:00
Wes Kocher
601a4cc0b4 Backed out changeset b4c4ffc473ba (bug 1223635) for mass m(bc) bustage CLOSED TREE 2015-11-11 10:11:50 -08:00
Wes Kocher
c442d7b8de Backed out changeset d1cc0dd57fbe (bug 1100662) for browser_notification_tab_switching.js bustage CLOSED TREE 2015-11-11 10:05:34 -08:00
B2G Bumper Bot
0202bfecdb Bumping manifests a=b2g-bump 2015-11-11 09:57:03 -08:00
B2G Bumper Bot
ba3db598c6 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3b39cf1a2b4c
Author: No-Jun Park <npark@mozilla.com>
Desc: Merge pull request #33146 from npark-mozilla/1223849

Bug 1223849 - ID of the settings->bluetooth page have been changed from 'bluetooth_v2' to 'bluetooth'

========

https://hg.mozilla.org/integration/gaia-central/rev/a46c68b8669b
Author: g5njpark <nojun.park@gmail.com>
Desc: Bug 1223849 - ID of the settings->bluetooth page have been changed from 'bluetooth_v2' to 'bluetooth'
2015-11-11 09:55:40 -08:00
B2G Bumper Bot
a8d95619fd Bumping manifests a=b2g-bump 2015-11-11 09:21:54 -08:00
B2G Bumper Bot
5303a5dc9e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/39921fea9ac2
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #33143 from mikehenrty/bug-1223792-convert-bookmark-uninstall-to-pinning

Bug 1223792 - Convert bookmark_uninstall_test.js to pinning the web

========

https://hg.mozilla.org/integration/gaia-central/rev/00236f04ddef
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1223792 - Convert bookmark_uninstall_test.js to pinning the web
2015-11-11 09:20:31 -08:00
B2G Bumper Bot
5854a6f53d Bumping manifests a=b2g-bump 2015-11-11 08:21:37 -08:00
B2G Bumper Bot
9a24eea8ca Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e1986a2cfacd
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #33140 from michielbdejong/1214570-skip-initfxsyncwebcrypto

Bug 1214570 - Skip _initFxSyncWebCrypto if zero collections, r=ferjm

========

https://hg.mozilla.org/integration/gaia-central/rev/64792ae164fb
Author: Michiel de Jong <mbdejong@mozilla.com>
Desc: Bug 1214570 - Skip _initFxSyncWebCrypto if zero collections, r=ferjm

========

https://hg.mozilla.org/integration/gaia-central/rev/c2e90f799c57
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #33138 from michielbdejong/1223417-avoid-timer-in-integrationtest

Bug 1223417 - Avoid setTimeout in integration tests, r=ferjm

========

https://hg.mozilla.org/integration/gaia-central/rev/215ec07780f7
Author: Michiel de Jong <mbdejong@mozilla.com>
Desc: Bug 1223417 - Avoid setTimeout in integration tests, r=ferjm
2015-11-11 08:20:14 -08:00
B2G Bumper Bot
ce5e392f2c Bumping manifests a=b2g-bump 2015-11-11 08:09:44 -08:00
B2G Bumper Bot
d08bbe5188 Bumping manifests a=b2g-bump 2015-11-11 08:01:47 -08:00
B2G Bumper Bot
223d0cacb9 Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ace3ac923228
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #33139 from mikehenrty/bug-1223778-convert-bookmark-order-to-pinning

Bug 1223778 - Convert bookmark_order_test.js to pinning the web

========

https://hg.mozilla.org/integration/gaia-central/rev/f17e944c379b
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1223778 - Convert bookmark_order_test.js to pinning the web

========

https://hg.mozilla.org/integration/gaia-central/rev/4ed8ac5d5614
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #32992 from michielbdejong/1219621-resync-after-delete

Bug 1219621 - Also resync after a remove, r=ferjm

========

https://hg.mozilla.org/integration/gaia-central/rev/88910c6a9686
Author: Michiel de Jong <mbdejong@mozilla.com>
Desc: Bug 1219621 - Also resync after a remove, r=ferjm

========

https://hg.mozilla.org/integration/gaia-central/rev/ac1cf0759e57
Author: Carsten Book <tomcat@mozilla.com>
Desc: Merge pull request #33095 from janus926/bug-1188232

Bug 1188232 - Get rid of class screenoff to make screen on/off faster. r=gweng

========

https://hg.mozilla.org/integration/gaia-central/rev/1656a46d802d
Author: Ting-Yu Chou <janus926@gmail.com>
Desc: Bug 1188232 - Get rid of class screenoff to make screen on/off faster. r=gweng
2015-11-11 08:00:24 -08:00
John Daggett
8204f43ef5 Bug 1160506 - support intra-family font fallback. r=heycam
Fontconfig allows for fonts to be arbitrarily mapped into another font
family. Under some versions of Debian and Fedora, families like Droid
Sans Japanese were mapped into the Droid Sans family. To match these
font families properly, it's necessary to test multiple fonts within a
single given family. Since this is a relatively time consuming
procedure, only do this when there are multiple regular faces for a
given family.
2015-11-11 21:13:33 +09:00
Bevis Tseng
c23e34d98e Bug 1223662 - Improve Test Coverage. r=echen 2015-11-11 13:24:51 +08:00
Bevis Tseng
58059457ef Bug 1223662 - Part 1: Check mmiServiceCode with correct constant. r=echen 2015-11-11 13:10:51 +08:00
B2G Bumper Bot
d30fc86c2b Bumping manifests a=b2g-bump 2015-11-11 07:49:31 -08:00
B2G Bumper Bot
d8398ef0b5 Bumping manifests a=b2g-bump 2015-11-11 07:24:43 -08:00
B2G Bumper Bot
d139dd9f2c Bumping manifests a=b2g-bump 2015-11-11 05:16:34 -08:00
B2G Bumper Bot
5a61a986ad Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8feaf542bbc4
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #33086 from ferjm/bug1217385.browserdialog.tests

Bug 1217385 - BrowserDialog signout tests. r=yifan

========

https://hg.mozilla.org/integration/gaia-central/rev/74841a395413
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Bug 1217385 - BrowserDialog signout tests. r=yifan
2015-11-11 05:15:12 -08:00
Carsten "Tomcat" Book
8b2f33db56 Merge mozilla-central to b2g-inbound 2015-11-11 12:45:25 +01:00
Carsten "Tomcat" Book
eb4942092b merge mozilla-inbound to mozilla-central a=merge 2015-11-11 12:42:52 +01:00
B2G Bumper Bot
35a4e65520 Bumping manifests a=b2g-bump 2015-11-11 03:16:59 -08:00
B2G Bumper Bot
4530859ce6 Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/35b793826815
Author: Scott Wu <scottwu@mozilla.com>
Desc: Merge pull request #33039 from scottwu/1219688-gij-change-keyboard-language

Bug 1219688 - Implemented *test_settings_change_keyboard_language.py*…

========

https://hg.mozilla.org/integration/gaia-central/rev/14aeff02e794
Author: Scott Wu <scottcwwu@gmail.com>
Desc: Bug 1219688 - Added a test case that adds a new keyboard layout and typing out a special character (Implemented from *test_settings_change_keyboard_language.py* in Gip). r=timdream

========

https://hg.mozilla.org/integration/gaia-central/rev/997ea3d09a36
Author: Scott Wu <scottwu@mozilla.com>
Desc: Merge pull request #32985 from scottwu/1179666-wifi-network-sort

Bug 1179666 - Sort network names alphabetically within each signal ba…

========

https://hg.mozilla.org/integration/gaia-central/rev/7fabe155d036
Author: Scott Wu <scottcwwu@gmail.com>
Desc: Bug 1179666 - Sort network names alphabetically within each signal bar level, added getSignalLevel WifiHelper method, added a unit test. r=gasolin

========

https://hg.mozilla.org/integration/gaia-central/rev/d530f73b07df
Author: Scott Wu <scottwu@mozilla.com>
Desc: Merge pull request #33131 from scottwu/1222117-cellular-data-confirmation

Bug 1222117 - Added back the removed warning strings, r=gasolin

========

https://hg.mozilla.org/integration/gaia-central/rev/22e0faa7772d
Author: Scott Wu <scottcwwu@gmail.com>
Desc: Bug 1222117 - Added back the removed warning strings
2015-11-11 03:15:36 -08:00
Carsten "Tomcat" Book
339df82364 Backed out changeset 0af975118f61 (bug 1220121) for bustage on a CLOSED TREE 2015-11-11 12:07:05 +01:00
Carsten "Tomcat" Book
fcaa1f310c Backed out changeset 28725f253f82 (bug 1220121) 2015-11-11 12:06:50 +01:00
Carsten "Tomcat" Book
9afc19ecd4 Backed out changeset a7ea5f2e3444 (bug 1220121) 2015-11-11 12:06:48 +01:00
Carsten "Tomcat" Book
c1298898cd Backed out changeset 975e3b3d7504 (bug 1220121) 2015-11-11 12:06:47 +01:00
Carsten "Tomcat" Book
7a41174632 Backed out changeset 1ebe50bb4fad (bug 1220121) 2015-11-11 12:06:46 +01:00
Carsten "Tomcat" Book
0440db395c Backed out changeset 7251fc4dce99 (bug 1220121) 2015-11-11 12:06:44 +01:00
Carsten "Tomcat" Book
b57212d645 Backed out changeset aa607b61225c (bug 1220121) 2015-11-11 12:06:43 +01:00
Carsten "Tomcat" Book
dc3e1cfa37 merge fx-team to mozilla-central a=merge 2015-11-11 12:04:33 +01:00
Thomas Zimmermann
25f7ddb3f3 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
093f99ceff Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
d4577877ee Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-11 11:14:40 +01:00
Thomas Zimmermann
c1f654190d Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
2e64f2be08 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
e290567d0e Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun 2015-11-11 11:14:39 +01:00
Thomas Zimmermann
2f64733f59 Bug 1220121: Prepare IPDL support for additional Bluetooth types, r=brsun
This patch adds IPDL helpers for transfering |BluetoothAddress|,
|BluetoothPinCode|, and |ControlPlayStatus|.
2015-11-11 11:14:39 +01:00
B2G Bumper Bot
13f749fda9 Bumping manifests a=b2g-bump 2015-11-11 01:45:58 -08:00
B2G Bumper Bot
949fe942d3 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3ffb5cf093da
Author: Yi-Fan Liao <yliao@mozilla.com>
Desc: Merge pull request #33038 from begeeben/1220961_escape_key

Bug 1220961 - Escape key in the refresh auth screen in the fx account…

========

https://hg.mozilla.org/integration/gaia-central/rev/60b2f6729247
Author: yifan <yliao@mozilla.com>
Desc: Bug 1220961 - Escape key in the refresh auth screen in the fx account flow doesn't work

========

https://hg.mozilla.org/integration/gaia-central/rev/92b4ac2dd019
Author: Yi-Fan Liao <yliao@mozilla.com>
Desc: Merge pull request #33036 from begeeben/1221420_failed_to_go_back

Bug 1221420 - [TV Browser] Failed to go back to the previous screen a…

========

https://hg.mozilla.org/integration/gaia-central/rev/86eb974b4548
Author: yifan <yliao@mozilla.com>
Desc: Bug 1221420 - [TV Browser] Failed to go back to the previous screen after tapping the Back button in "Inactive Account" page
2015-11-11 01:44:33 -08:00