Commit Graph

4878 Commits

Author SHA1 Message Date
Xidorn Quan
4b5a4691e5 Bug 1202940 part 1 - Move html.css and ua.css back to be loaded in constructor of nsLayoutStylesheetCache. r=dbaron
DependentPrefChanged and InvalidateSheet are no longer used anywhere, but it is
probably better to keep them as-is, since we may need them again in the future.

--HG--
extra : source : 5e976ebbbba3b4ce8d83d40e4d071184ab52aaaa
2015-12-01 09:39:37 +11:00
Paul Kerr [:pkerr]
ab0c35c8ba Bug 1226347 - Part 3: AEC agnostic delay pref true by default. r=rjesup 2015-11-30 09:18:10 -08:00
Xidorn Quan
e33deb9306 Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
--HG--
extra : source : 354f4bd8c87646dfbe0a307e0fa140c630dbdb89
2015-11-28 11:56:33 +11:00
Kartikaya Gupta
36bf0301ba Bug 960317 - Remove cross-slide code from APZC. r=botond
--HG--
extra : commitid : HZ0FIlYFgg0
2015-11-25 10:30:36 -05:00
Jeff Gilbert
19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Dan Glastonbury
5b14b3a87d Bug 618898 - Add D3D11SharedSurfaceInterop. r=jgilbert
--HG--
extra : commitid : LSoMbZrQQSO
extra : rebase_source : d207b87eafc300a1d3c99c0c85403056008b1bf6
2015-11-06 10:19:24 +10:00
Paul Kerr [:pkerr]
c4670b9125 Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Wes Kocher
dba42704d1 Backed out 2 changesets (bug 1226347) for build bustage CLOSED TREE
Backed out changeset da34ad5d6957 (bug 1226347)
Backed out changeset 63d13b6b43ee (bug 1226347)

--HG--
extra : commitid : 4yYcYyidto4
2015-11-24 09:02:03 -08:00
Paul Kerr [:pkerr]
46b05602ec Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Phil Ringnalda
71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Nicholas Nethercote
7e4bd1e0e1 Bug 1187152 (part 3) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
7f26939fe8 Bug 1187152 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Bobby Holley
b83cc03bd2 Bug 773429 - Remove dom.disable_image_src_set. r=khuey 2015-11-23 14:08:34 -08:00
Francois Marier
82be864165 Bug 1226490 - Allow administrators to prevent users from ignoring Safe Browsing warnings. r=gcp,r=smaug 2015-11-23 13:34:31 -08:00
Jean-Yves Avenard
120f450e91 Bug 1225019: Disable intel hardware VP decoder by default. r=cpeterson 2015-11-23 14:46:52 +11:00
Francois Marier
67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Mark Goodwin
9f468cf8f0 Bug 921907 - Enable OCSP must-staple. r=keeler
--HG--
extra : commitid : LvP86DDj772
extra : rebase_source : e06438c614c00fd9d77ca88886368948f13d6454
extra : histedit_source : f72078bac3dd14d4166ddd3bf24b582b13de1519
2015-11-20 11:44:25 +00:00
John Daggett
15444a76a4 Bug 1119062 - enable unicode-range in release builds. r=dbaron 2015-11-20 14:46:47 +09:00
John Daggett
16757f4a4b Bug 1180560 - enable fontconfig platform fontlist in release builds. r=karlt,cam 2015-11-20 13:35:15 +09:00
John Daggett
fbf9fafe6b Bug 1224965 p1 - add pref for max substitutions for generics under fontconfig. r=m_kato 2015-11-20 13:35:15 +09:00
Tobias Schneider
1262c58ac3 Bug 1221677 - "[css-grid] Put the 'subgrid' support behind a pref, disabled by default". r=mats 2015-11-13 13:15:00 +01:00
Phil Ringnalda
e65f139789 Back out changeset 1d431c8667a3 (bug 1209388) for breaking test_can_play_type_mpeg.html (and thus, probably, the playing of audio) on OS X 10.6
CLOSED TREE
2015-11-18 19:25:08 -08:00
Jean-Yves Avenard
7f7b3a0bfe Bug 1209388: P2. [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Remove prefs missed during rebase.
2015-11-19 10:52:52 +11:00
Mason Chang
d7f814c9e2 Bug 1208636 - Adjust displayport size based on available system memory. r=kats 2015-11-18 15:48:19 -08:00
Botond Ballo
f7282ab158 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Valentin Gosu
c91754df8d Bug 1218918 - Issues with devtools "work offline" when connectivity changes r=mcmanus,dao
* Flip the network.offline-mirrors-connectivity pref, so that ioservice.offline means the same as devtools work offline
* ioService.manageOfflineStatus shouldn't be changed when going to offline mode.
* Add logging to nsIOService in order to track offline/connectivity issues
2015-11-18 15:25:39 +01:00
James Willcox
5df7f27109 Bug 1225287 - Use more reasonable APZ multipliers on mobile 2015-11-17 10:09:16 -05:00
William Chen
8588891ca7 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
--HG--
extra : commitid : 70QSm4u4WLW
extra : rebase_source : e52cc3bae822448e64dca6c40be48d74ea924e0b
2015-11-16 21:33:11 -08:00
Phil Ringnalda
6edbd4d1af Back out 3 changesets (bug 1210211) for b2g build bustage
CLOSED TREE

Backed out changeset 204a1746f421 (bug 1210211)
Backed out changeset e5d16111e809 (bug 1210211)
Backed out changeset b78d00c9af42 (bug 1210211)
2015-11-16 19:34:14 -08:00
William Chen
e791f70b13 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
--HG--
extra : commitid : GXDHaPbe8pi
extra : rebase_source : 260a2a8e1434355671b25d58e36007c88b934464
2015-11-16 13:20:09 -08:00
Daniel Stenberg
9dad85ec49 Bug 1207798 - add pref to toggle proxy behavior when inaccessible. r=mcmanus 2015-11-10 15:27:45 +01:00
Maire Reavy
25fb4a7545 Bug 1201832 - Add unify's domains to the screensharing whitelist. r=jesup 2015-11-13 17:38:45 -05:00
Wes Kocher
7167e1dc3d Backed out changeset b6edabc35c21 (bug 1217515) for mulet reftest failures
--HG--
extra : commitid : LfjPOQOXmxO
extra : rebase_source : a8766e0ad91a52a3617de6e74f8a4914e6d17c39
2015-11-13 12:11:05 -08:00
Botond Ballo
94f0bf5241 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : source : a9d8eb075f383d39d96d283825fe432417b3e01a
extra : intermediate-source : 9764f77b64e4a9c7914b539e61c412f838c09093
2015-10-26 16:06:27 -04:00
Jonas Sicking
01d0bafa52 Bug 990270 - Enable navigator.sendBeacon by default on Firefox OS. r=fabrice 2015-11-12 12:40:45 -08:00
Benoit Girard
f167bfd6b8 Bug 1223540 - Add a pref for CGL's multithreaded mode (EMPEngine). r=jrmuizel
--HG--
extra : commitid : AGxBynhmllr
extra : rebase_source : 744bf8e02589cc919eb41471979f69d10683716f
2015-11-10 16:14:24 -05:00
Kartikaya Gupta
8531f6e36c Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00
Jonathan Kew
e735d0520a Bug 1122918 - Put the logical values for 'float' and 'clear' behind a pref, and enable them only on nightly builds and for B2G. r=heycam 2015-11-10 09:07:01 +00:00
Kit Cambridge
e5aa219f60 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt
--HG--
extra : commitid : D2lgLoQtSlk
extra : rebase_source : 58bb82b758ef4dc2c4e8b8a7e902c266670347e8
2015-11-09 13:58:32 -08:00
Kartikaya Gupta
cca6bbe4e9 Bug 1174532 - Even if the APZC is not pannable, have a small slop area to consume touchmove events. r=botond
--HG--
extra : commitid : 4O6nOyxOfbz
2015-11-09 16:42:34 -05:00
Josh Aas
bbb0292ad2 Bug 1180564: Don't implement NSTextInput any more, just NSTextInputClient. r=masayuki 2015-11-07 18:19:49 +09:00
Chris Lord
b80cfac62c Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond 2015-11-05 13:58:16 +00:00
Andrea Marchesini
9d98f9a481 Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Kris Maglione
c663cc0727 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : HUFAitZpdVA
extra : rebase_source : b2eb9ede0582b804e1e583570e165e27f42c8fa7
extra : source : a4d5d63a03ef3938d95f629a6a9ea31d3e88627d
2015-11-03 14:49:46 -08:00
Wes Kocher
7a3e94be61 Backed out 2 changesets (bug 1214058) for xpcshell bustage
Backed out changeset 90e625ac70b2 (bug 1214058)
Backed out changeset a4d5d63a03ef (bug 1214058)
2015-11-03 16:06:23 -08:00
Kris Maglione
84b37ed6ea Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : kx59XtC26O
extra : rebase_source : 95f8fa8f13be16f2353ea3dcaa230a92563e6af6
2015-11-03 14:49:46 -08:00
Nathan Froyd
65fd1f7783 Bug 1219310 - part 2 - keep track of how much pref file we have read; r=njn
Looking at a preference file read with strace typically looks like:

open("...", O_RDONLY) = X
...
read(X, "...", SIZE) = SIZE
read(X, "...", SIZE) = 0
...

There's no reason to call Read() and make another syscall to determine
there's no data left for reading.  We can keep track of how much we've
read at minimal cost and thus determine for ourselves when we are done.
2015-10-28 12:19:03 -04:00
Nathan Froyd
17b7d5be31 Bug 1219310 - part 1 - ask the prefs file for its size directly; r=njn
Calling nsIInputStream::Available on nsIFileInputStreams is relatively
expensive, as it requires three system calls: one to determine the
current file position, one to seek to the end file position, and one to
rewind to the previous file position.

We can do better by asking the file for its size directly, prior to
opening the stream.  This only requires one system call, stat, and is
thus superior--at least in considering the number of system calls.
2015-10-28 12:16:33 -04:00
Mats Palmgren
2fc77d7073 Bug 1000592 - Enable CSS Grid by default in non-release channels. r=dholbert 2015-11-03 21:45:33 +01:00
Mike Hommey
ccf2ec68da Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-31 07:32:48 +09:00
Wes Kocher
46439f8894 Backed out changeset 57137bb5c665 (bug 1219126)
--HG--
extra : commitid : 2AioSh3eozm
2015-10-30 10:11:42 -07:00
Seth Fowler
d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Mike Hommey
b6620df9b1 Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-30 08:19:04 +09:00
Phil Ringnalda
a727c1fe68 Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Seth Fowler
68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
James Willcox
d51dcbce99 Bug 1214678 - Allow Apple media decoders to work on iOS r=jya 2015-10-28 14:10:28 -05:00
Jean-Yves Avenard
038e893621 Bug 1101885: P4. Enable Intel VP8/VP9 HW decoder by default. r=cpearce 2015-10-29 00:46:30 +11:00
Benoit Girard
5b68a8adf7 Bug 1097321 - Add layers.amd-switchable-gfx.enabled pref. r=jrmuizel
--HG--
extra : commitid : 4X1a35Dm5sB
extra : rebase_source : 9d5a51da0f7f4697edb164a23a24698285c9b704
2015-10-20 12:58:11 -07:00
Ehsan Akhgari
0d4e98b0d2 Bug 1203359 - Enable interception of opaque responses through service workers; r=bkelly 2015-10-26 20:47:46 -04:00
Chris Lord
e31fb8cd6d Bug 1177842 - Introduce separate friction for fling-snap. r=botond
--HG--
extra : rebase_source : 1ce9d27b5208622a9ba14be4b684116adbc6c453
2015-10-26 18:04:02 +00:00
Shih-Chiang Chien
04cd256752 Bug 1217807 - disable MDNS discovery. r=xeonchen. 2015-10-26 01:28:00 +01:00
Carsten "Tomcat" Book
3f4ea95cfa Merge m-c to mozilla-inbound 2015-10-26 11:29:00 +01:00
Carsten "Tomcat" Book
758c43af6b merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
dimi
975b82b179 Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly 2015-10-26 11:03:47 +08:00
Wes Kocher
e01755351b Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 5iarrH8FlDy
2015-10-23 15:52:55 -07:00
Patrick McManus
266550b577 bug 1217834 - buzzfeed packet loss r=dragana 2015-10-22 17:46:02 -04:00
Gijs Kruitbosch
6612459260 Bug 1217806 - flip OSK pref on release builds, r=jaws
--HG--
extra : commitid : Dby1tgbTA9G
extra : rebase_source : 4e3917f3cf481be69c6b309a0a398f00a95bf086
2015-10-23 13:17:20 +01:00
Jonathan Hao
3d02a2da65 Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Ehsan Akhgari
383397be38 Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Francois Marier
54ba9beffb Bug 1216604 - Ensure that Mozilla list are downloaded immediately in new profiles. r=gcp 2015-10-21 14:34:58 -07:00
Chris Pearce
e2337163c0 Bug 1205083 - Don't enable low latency WMF video decoding as it crashes sometimes. r=jya 2015-10-21 21:17:56 +13:00
Jeremy Chen
f59482fa1d Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin
--HG--
extra : rebase_source : 15fdcdf119d30e1e51d98e69a1f229778aa26256
2015-10-19 01:53:00 +02:00
Carsten "Tomcat" Book
3198b767f9 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Gijs Kruitbosch
e182a0c49c Bug 1213845 - enable osk support on windows 8, but hide it behind a preference, r=jaws
--HG--
extra : commitid : HGvNNv1htDF
extra : rebase_source : 7c39d7903bfda6040a202d6784c5a4e469a7eeed
extra : amend_source : af5a54a5fe9f3120c30dfe6ac3b607da596364e9
2015-10-16 16:28:13 +01:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Makoto Kato
26c8790fb2 Bug 978679. Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
81454198ef Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
5a68a1b8d5 Bug 978679 - Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Chris Pearce
83fed249a0 Bug 1214932 - Remove fragmented-mp4 from media prefs. r=jya 2015-10-15 14:51:28 +13:00
Carsten "Tomcat" Book
6ffd4fc09b Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Chris Pearce
2c28e66665 Bug 1209385 - Backout 417dab86a413 and 6078e8b4878b. r=backout 2015-10-14 19:42:25 +13:00
Henry
d0922cb7a4 Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin
--HG--
extra : histedit_source : e3820fb54cfbab00bf8db377aec2bc8afcb0fb0e
2015-10-12 15:38:41 +08:00
M Hamdy
67d215f8de Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak
--HG--
extra : rebase_source : 242a074db54395e4b285110286e7692f26b57daa
2015-10-08 09:13:00 +02:00
Timothy Nikkel
ca4a4e67d1 Bug 1213953. Remove pref "layout.imagevisibility.enabled_for_browser_elements_only", it is unused and obsolete. r=seth 2015-10-12 13:50:16 -05:00
Morris Tseng
d5147a9b2a Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : ce16acdc340cbe67102da651552f574eee897ca9
2015-10-12 11:21:03 +08:00
Jean-Yves Avenard
7d704a120e Bug 1213173: Always use FFmpeg regardless of version. r=kentuckyfriedtakahe
We don't need to prevent using FFmpegDecoderModule on older version anymore
2015-10-12 10:00:04 +11:00
Xidorn Quan
f062c6a861 Bug 1213123 - Make Preferences::SetString accept char16ptr_t instead of char16_t*. r=froydnj
--HG--
extra : source : 201ba51e2d2c674f3b6088ac255e2e6331d1a162
2015-10-10 12:19:23 +11:00
Jared Wein
f6f9ada2ed Bug 1210033 - Add on-screen keyboard diagnostic information to about:support. r=masayuki r=felipe 2015-10-08 11:51:47 -04:00
Chris Pearce
70498d2115 Bug 1211812 - Add pref to select GMP to use for unencrypted decoding. r=jwwang 2015-10-08 20:40:09 +13:00
Daniel Holbert
7810dd3b96 (no bug) Fix a typo in all.js's documentation for pref "layout.css.convertFromNode.enabled". DONTBUILD because comment-only 2015-10-07 22:55:58 -07:00
Wes Kocher
ad8e897290 Merge m-c to inbound, a=merge 2015-10-07 11:09:47 -07:00
Wes Kocher
399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
75ff20f5af Backed out changeset 91d4539e00ce (bug 1207245)
--HG--
rename : mfbt/RefPtr.h => mfbt/nsRefPtr.h
2015-10-07 10:19:19 -07:00
Nathan Froyd
89a69c829a Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-07 16:50:25 -04:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Wes Kocher
bca6669470 Merge m-c to fx-team, a=merge 2015-10-06 12:17:59 -07:00
Tom Tromey
bc328979f0 Bug 984880 - as-authored styles in the rule view; r=pbrosset,r=bgrins
--HG--
extra : commitid : Io2mbcAjYMx
2015-10-06 09:35:31 -07:00
Ting-Yu Lin
d7357db411 Bug 1210315 - Use preference to control whether to use long tap injector. r=roc
In AccessibleCaretEventHub, it is not accurate to use APZ enabled to
determine whether to use long tap injector. On desktop browser, there's
no long tap events even if APZ is enabled. We should use a preference to
control that.

Since it's a fact the APZ on b2g has long tap events, we should use
preference to disable long tap injector so that when long tap events
stop dispatching to AccessibleCaretEventHub, we'll know immediately.

Delete SetUseAsyncPanZoom() usage in gtest since APZ is not related to
scrolling in AccessibleCaretEventHub.

--HG--
extra : commitid : KgAxEFNYaeb
extra : rebase_source : 1f0eb87354be8d97f946ea2b1f2a5425521bcf12
2015-10-02 23:10:29 +08:00
Benoit Girard
2a2fca7ffa Bug 1199885 - Part 3: Add 'apz.drag.enabled' preference for async scrollbars. r=kats
--HG--
extra : commitid : FT9vDNL0XDw
extra : rebase_source : f5cd5f6e53c669f33fc628915cab1f6c57beaa11
2015-09-28 14:44:36 -04:00