Commit Graph

31626 Commits

Author SHA1 Message Date
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
Phil Ringnalda
9ea53214d8 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Blake Winton
1d02564612 Bug 1215130 - Use periodInMinutes as the default for delayInMinutes. r=billm
--HG--
extra : rebase_source : c44128cc99a168d38875b00ff3d26ec86696c295
2015-10-16 13:24:57 -04:00
Wes Kocher
1662b03a4f Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Tom Schuster
d1bc68e874 Bug 1208563 - Implement chrome.extension.inIncognitoContext property for chrome/popups. r=billm 2015-10-16 20:54:16 +02:00
Iaroslav (yarik) Sheptykin
e3f623f36e Bug 1140512: Ensure FindBar communicates properly with content after remoteness change. r=mikedeboer 2015-10-15 15:13:54 +02:00
Paolo Amadini
2654050231 Bug 1193341 - Detect presence of password fields in any subframe, flagging those on insecure connections. r=MattN
--HG--
extra : commitid : ADlptzF6ATB
extra : rebase_source : dc352aa8cd85aec40d2fefbf0536d57c25ce316e
2015-10-13 13:40:34 +01:00
Vladan Djeric
a2c41b67dc Bug 1178083: Fix chromehang symbolication code in about:telemetry. r=gfritzsche 2015-10-15 13:51:23 -04:00
Ehsan Akhgari
d94c126262 Bug 994063 - Properly disable the quick-find bar only if an editable element is focused, or if the document is in design mode; r=mikedeboer 2015-10-16 12:43:30 -04:00
Phil Ringnalda
ddeeb376bd Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein
74567c8e04 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
9f2bd66799 Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein
49b796aa96 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
0124735fc7 Bug 1201397 - New layout of XUL Notifications. r=MattN 2015-10-15 22:58:56 -04:00
Mark Hammond
376ea85d2e Bug 1074937 - replace defaultFavicon.png and defaultFavicon@2x.png with versions depicting a globe. r=dolske 2015-10-16 12:23:29 +11:00
Sanchit Nevgi
adf88be3b8 Bug 1205181 - Removed Deprecated.jsm import from TelemetryStorage.jsm. r=gfritzsche
--HG--
extra : commitid : 5DpMy9KkihG
2015-10-14 10:47:00 -07:00
Wes Kocher
403b53b231 Merge m-c to fx-team, a=merge 2015-10-15 11:38:00 -07:00
Wes Kocher
ac656a7d21 Merge inbound to central, a=merge 2015-10-15 11:17:56 -07:00
Carsten "Tomcat" Book
f20ce8a104 Merge m-c to mozilla-inbound 2015-10-15 11:57:47 +02:00
Carsten "Tomcat" Book
9e9666b762 merge mozilla-inbound to mozilla-central a=merge 2015-10-15 11:52:40 +02:00
Fabrice Desré
19f432d5e2 Bug 1214021 - Move ext-bookmarks to browser/ r=billm
--HG--
rename : toolkit/components/extensions/ext-bookmarks.js => browser/components/extensions/ext-bookmarks.js
2015-10-14 16:31:08 -07:00
Wes Kocher
d0b3e3dc72 Merge fx-team to central, a=merge 2015-10-14 14:39:58 -07:00
Jordan Santell
cd1103e7d0 Bug 1213138 - Add react-redux library to developer tools. r=gerv 2015-10-14 10:07:59 -07:00
Marco Bonardo
71bb23b14d Bug 1206488 - Unable to get URL of a livemark from a bookmarks tree. r=gijs 2015-10-14 18:49:19 +02:00
Carsten "Tomcat" Book
6ffd4fc09b Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book
0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Felipe Gomes
c56d3c0a1c Bug 1214052 - Remove unnecessary files from the pre-processing list. r=glandium 2015-10-13 23:50:30 -03:00
Felipe Gomes
799f2ff613 Backed out changeset b78c1b06764c (bug 1212618), because a better fix landed in bug 1211344 2015-10-13 23:50:28 -03:00
Gijs Kruitbosch
9453c32647 Bug 1162635 - flatten notification styles on Windows and Linux, r=dao
--HG--
extra : commitid : 8dPIxhXV8wl
extra : rebase_source : 53203f85e91fc99f9716f054bb4410803e59f33b
extra : histedit_source : f037b5dbb6cb94bf9ca8e2aa3a9177aa15463f97
2015-10-14 16:52:46 +01:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Nathan Froyd
70573b80f5 Bug 1164921 - part 3 - make more things depend on CONFIG[MOZ_ANDROID_CXX_STL]; r=glandium 2015-10-15 16:32:25 +09:00
Mike Hommey
9af046b5b4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Milan Sreckovic
07eeb05f0f Bug 1213007 - Part 1. Implementing gfxCrash. r=dvander 2015-10-14 08:24:00 +02:00
David Rajchenbach-Teller
cbe8e23af4 Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug
--HG--
extra : rebase_source : 50d89efacee7103452218782c92a53a7cf07dd9b
2015-10-07 12:42:43 +02:00
Felipe Gomes
3ad5426b56 Bug 724353. r=Mossop 2015-10-13 20:33:35 -03:00
Felipe Gomes
62ea4c17d5 Bug 1116385. r=Mossop 2015-10-13 20:32:25 -03:00
Gijs Kruitbosch
83bbfbe68e Bug 1047595 - make picking colors work in HCM / when author colors are disabled, r=jaws
--HG--
extra : commitid : 6czZkr7SAqT
extra : rebase_source : cbb0635bfa7ae983e1fbf86c19d3612250c140b2
2015-10-13 13:24:14 +01:00
Carsten "Tomcat" Book
2803b80084 Merge m-c to fx-team 2015-10-13 12:43:53 +02:00
Carsten "Tomcat" Book
944b9ebefa merge mozilla-inbound to mozilla-central a=merge 2015-10-13 12:00:54 +02:00
Phil Ringnalda
3223175289 Back out 2 changesets (bug 1116385, bug 724353) for test_unknownContentType_delayedbutton.xul failures
Backed out changeset aaade64d3f28 (bug 724353)
Backed out changeset dca478776c91 (bug 1116385)
2015-10-12 21:37:58 -07:00
Bill McCloskey
7c41291110 Bug 1212718 - [webext] Test for webRequest resource types (r=Mossop) 2015-10-12 20:04:21 -07:00
Bill McCloskey
c18171f450 Bug 1212718 - [webext] Add resource types for webRequest (r=Mossop) 2015-10-12 20:04:00 -07:00
Bill McCloskey
c107fdc361 Bug 1212718 - [webext] Add onCompleted test (r=Mossop) 2015-10-12 20:03:48 -07:00
Bill McCloskey
bcd9fdf57f Bug 1212718 - [webext] Add test for onSendHeaders problem (r=Mossop) 2015-10-12 20:03:35 -07:00
Bill McCloskey
7b60d2ddcd Bug 1212718 - [webext] Ensure webrequest onComplete fires (r=Mossop) 2015-10-12 20:01:28 -07:00
Felipe Gomes
1f586b6e64 Bug 724353. r=Mossop 2015-10-12 22:05:42 -03:00
Felipe Gomes
17a3d1c487 Bug 1116385. r=Mossop 2015-10-12 22:05:38 -03:00
Bill McCloskey
31df91c1aa Bug 1202897 - Switch all WebExtension tests to use generated zip files rather than files (r=gabor) 2015-10-12 16:19:50 -07:00
Mike de Boer
21d6020db6 Bug 1194706: make sure that the notification icons and doorhangers are shown in undocked chat windows too. r=Mossop 2015-10-12 23:03:23 +02:00
Jared Wein
c19a5b10ac Bug 1212618 - unknownContentType.xul grows size when toggling the "Do this for all files". r=felipc 2015-10-09 10:14:00 +02:00