Commit Graph

11843 Commits

Author SHA1 Message Date
Wes Kocher
872e4742b4 Merge fx-team to central, a=merge 2015-10-22 16:45:45 -07:00
Ed Lee
d2641daeda Bug 1215455 - eslint consistent-return [r=Standard8] 2015-10-17 00:25:22 -07:00
Ed Lee
02291fbb9c Bug 1215455 - eslint react/jsx-curly-spacing [r=Standard8] 2015-10-17 00:10:34 -07:00
Ed Lee
4ca7c2f33f Bug 1215455 - eslint space-in-parens [r=Standard8] 2015-10-16 17:12:11 -07:00
Ed Lee
b8d6bd81fc Bug 1215455 - eslint operator-assignment [r=Standard8] 2015-10-16 17:12:02 -07:00
Ed Lee
95c75f39d0 Bug 1215455 - eslint space-before-function-paren [r=Standard8] 2015-10-16 01:39:52 -07:00
Ed Lee
8984b26370 Bug 1215455 - eslint space-before-blocks [r=Standard8] 2015-10-16 01:38:21 -07:00
Ed Lee
3164ac9d75 Bug 1215455 - eslint space-after-keywords [r=Standard8] 2015-10-16 01:36:22 -07:00
Ed Lee
cf5f0295a5 Bug 1215455 - eslint object-curly-spacing [r=Standard8] 2015-10-16 01:18:11 -07:00
Ed Lee
14c11fb7c5 Bug 1215455 - eslint array-bracket-spacing [r=Standard8] 2015-10-16 01:11:48 -07:00
Ed Lee
4563590767 Bug 1215455 - eslint no-multi-spaces [r=Standard8] 2015-10-16 01:10:56 -07:00
Ed Lee
671440aa56 Bug 1215455 - Use eslint --fix to turn on additional rules [r=Standard8] 2015-10-16 01:27:50 -07:00
Carsten "Tomcat" Book
9b961dc677 Merge m-c to fx-team 2015-10-22 11:59:07 +02:00
Carsten "Tomcat" Book
b26729a177 merge mozilla-inbound to mozilla-central a=merge 2015-10-22 11:45:11 +02:00
Johann Hofmann
e602c93ac2 Bug 1198405 - Use MatchPattern to match URLs in tabs.query. r=billm
--HG--
extra : rebase_source : 9a461d879f79cc67fb1f5405f9b68bd605dfa47d
2015-10-19 12:29:29 +02:00
Wes Kocher
7852a87430 Merge m-c to fx-team, a=merge CLOSED TREE 2015-10-21 16:40:51 -07:00
David Critchley
a4512f7492 Bug 1216368 - Fix the panel views in Loop's ui-showcase - fake-Mozloop was missing a return statement. r=Standard8 2015-10-21 22:48:37 +01:00
Wes Kocher
b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett
6335fd7480 Bug 1203159 - Clean up various incorrect paths. r=ochameau 2015-10-21 12:48:55 -05:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Blake Winton
f3d400df56 Bug 1199056 - Give the WebExtension's panels the same attributes as the other toolbar button's panels. ui-r=maritz, f=kmag, r=MarcoZ, r=billm, r=gijs
--HG--
extra : commitid : 4tS59NiBXjT
extra : rebase_source : 7407fca6d9e0dddc73bc510e9f1fa126b8fa10ea
2015-10-20 11:18:11 -04:00
Gijs Kruitbosch
b4048dc695 Bug 731025 - Add telemetry for migrator usage and errors, r=MattN,p=bsmedberg
--HG--
extra : commitid : 1TzjbWkzOq7
extra : rebase_source : fad923bd73689a49315e0e737553f0fd146a8d57
2015-10-07 13:34:46 +01:00
Gijs Kruitbosch
b81daea0ab Bug 1164675 - hide min/max/restore buttons in the main window in windows 10 tablet mode, r=jaws
--HG--
extra : commitid : A3v45wmzyhs
extra : rebase_source : 4c284994b5f8e066af6f6206f981bab21f3c8d90
2015-10-20 14:56:17 +01:00
Carsten "Tomcat" Book
9fcc822888 Backed out changeset 1df2049352ff (bug 1205928) for bc7 test bustage on a CLOSED TREE 2015-10-21 12:01:38 +02:00
Jared Wein
602b82c362 Bug 1211718 - Remove address field from notification permissions dialog. r=MattN
--HG--
extra : commitid : AH8cxBm8RwW
extra : rebase_source : 46393491dfef6d7be0914fc7de16b98a6f16f584
2015-10-20 21:45:00 -07:00
Matthew Noorenberghe
951babb585 Bug 1212610 - Fix sorting permissions by site due a legacy property name being referenced. r=jaws
A reference to `rawHost` wasn't updated to `origin`.

--HG--
extra : commitid : IAXhtYxtuek
extra : rebase_source : 086be8f70ba411a28495883920afa6b8a37ebf3c
2015-10-20 09:49:06 -07:00
Mark Hammond
43b5036225 Bug 1205928 - update the Sync migration code to automatically and unconditionally disconnect from legacy Sync. r=adw
--HG--
extra : rebase_source : d25e174f975077705bb0070161253e34a22e478e
2015-10-21 15:00:13 +11:00
Jared Wein
dfe2b9c960 Bug 1209601 - follow-up, check that AlertsService.manualDoNotDisturb is implemented in the AlertsService lazy getter. r=MattN CLOSED TREE
--HG--
extra : rebase_source : 41457518292d1dfb3d864937a36728da32791f7a
2015-10-20 18:07:20 -04:00
Jared Wein
ea1f75dc57 Bug 1209601 - Add do not disturb management UI to preferences when a platform is using XUL alerts. r=MattN
--HG--
extra : rebase_source : 46074073795998b2816431841b2460fa7619366f
2015-10-20 15:45:21 -04:00
Kris Maglione
afa8d67bb4 Bug 1197422 - Part 3: [webext] Update browserAction API to use the same context tracking code as pageAction. r=billm
--HG--
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_browserAction_context.js
extra : commitid : 5EzvwcupwbG
extra : rebase_source : 5ac2d9c8d131c718bd3290120a8b108e4601c36f
2015-10-15 15:14:49 -07:00
Kris Maglione
9dd208611e Bug 1197422 - Part 2: [webext] Implement the pageAction API. r=billm ui-r=bwinton
--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_icon.js => browser/components/extensions/test/browser/browser_ext_browserAction_pageAction_icon.js
extra : commitid : GSQiN6Zykrs
extra : rebase_source : 45e056feb97f60592400568c6eeded4b7cc76ab5
2015-10-15 15:15:04 -07:00
Paolo Amadini
fdfd38ab19 Bug 1179961 - Use a lock with a strikethrough for HTTP pages that have password fields in the Control Center. r=ttaubert,bgrins
--HG--
extra : commitid : LRcPqFBGWx0
extra : rebase_source : 4782a713d8cd66d7fd2bf3ddd420519f920f9845
extra : amend_source : d2e953b04cb4b0d86c794789075cfe8af7077d5e
2015-10-19 16:43:18 +01:00
Carsten "Tomcat" Book
ec9c88ad1d Merge m-c to mozilla-inbound 2015-10-22 11:55:01 +02:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09:00
Wes Kocher
3fe8e966dd Merge m-c to inbound, a=merge CLOSED TREE 2015-10-21 16:39:18 -07:00
Mike Kaply
5d51094760 Bug 1203531 - Don't use default prefs for determining Custom History, use actual values. r=Gijs
--HG--
extra : amend_source : 62ad87e3137fe799e96aae1e941480ce9313765c
2015-10-21 14:52:27 -05:00
Carsten "Tomcat" Book
1ee391eb20 Merge m-c to mozilla-inbound on a CLOSED TREE 2015-10-21 15:34:18 +02:00
Christoph Kerschbaumer
eee83aa5d8 Bug 1204983 - Deprecate NewTabURL and forward calls to AboutNewTabService (r=florian,olivier)
--HG--
rename : browser/components/newtab/tests/xpcshell/test_NewTabURL.js => browser/components/newtab/tests/xpcshell/test_AboutNewTabService.js
2015-10-20 18:51:25 -07:00
Christoph Kerschbaumer
33fa277605 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Luca Greco
71224bbe04 Bug 1214040 - WebExtension tabs.sendMessage should not raise an exception on unexistent tabId. r=billm 2015-10-16 03:31:00 -04: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
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Chris Rafuse
1920e94a4f Bug 1212079 - Removed contact scripts from index, r=dmose 2015-10-16 11:03:20 -07:00
Manuel Casas
d55d4faa86 Bug 1131542 - Loop button on toolbar needs different tooltips to explain colours/state. r=Standard8 2015-10-16 17:06:48 +01:00
Mark Banner
559e525ffd Bug 1210774 - Upgrade Loop's use of eslint (to 1.6.x) and eslint-plugin-react (to 3.5.x). r=Mardak NPOTB DONTBUILD 2015-10-16 10:31:06 +01:00
David Critchley
f5f9ce8253 Bug 1209686 - Remove Standalone header from Loop, r=mardak 2015-10-13 12:18:00 +02:00
Matthew Noorenberghe
5c48ecabc8 Bug 1209140 - Open a second firstrun tab for Tracking Protection promotion. r=jaws
--HG--
extra : commitid : 18Jp0NB0RWc
2015-10-15 13:44:18 -07:00
Mark Banner
3539ee9023 Bug 1213855 - Remove direct call functionality from Loop's backend. r=mikedeboer 2015-10-15 19:13:08 +01:00
Mark Banner
e0db1b6b03 Bug 1213810 - Remove obsolete actions previously associated with direct calls. r=mikedeboer 2015-10-15 19:13:07 +01:00
Ed Lee
178ba2f16a Bug 1212361 - Re-arrange panel layout for user journey (put the button above the room list) [r=Standard8] 2015-10-12 23:56:23 -07:00