Commit Graph

33039 Commits

Author SHA1 Message Date
Wes Kocher
d72cc95f50 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Mike Hommey
9917a51ee8 Bug 1212773 - Extend jar maker syntax for jar file location. r=gps
Indicating a jar currently looks like the following in a jar manifest:
  path/to/name.jar:

The `path/to` doesn't contain the implicit "chrome/" directory. This, in
turn, doesn't allow much flexibility to use the jar maker for what is not
necessarily under chrome/.

To use the jar maker to fill some chrome manifest for the default theme
extension, we currently use a hackish path to get to the right location,
and rely on the chrome.manifest file in the parent directory never to be
picked by the package manifest, which is a quite horrible way to do this,
but worked well enough for that specific use case.

With the need to handle system addons at the build system level, it
becomes necessary to come up with something less hackish.

What this change introduces is an additional syntax for the jar manifest,
in the following form:
  [base/path] sub/path/to/name.jar:

Using this syntax, there is no implicit 'chrome' path. The `base/path` is
relative to the current DIST_SUBDIR, and the `sub/path` is relative to that
`base/path`. The distinction can be useful for build system backends.

The assumption that the "root" chrome.manifest is in the parent directory
of the implicit "chrome" directory dies, and the `base/path` is where the
root chrome.manifest is placed.
2015-10-20 07:36:51 +09:00
Christoph Kerschbaumer
d022767327 Bug 1204983 - Deprecate NewTabURL and forward calls to AboutNewTabService (r=florian,olivier)
* * *
Bug 1204983 - Replace NewTabURL.jsm with simpleBrowserServices.js (r=florian)
2015-10-19 13:29:33 -07:00
Christoph Kerschbaumer
a50c9d422d Bug 1204983 - Allow about: pages to load remote content - tests (r=bholley) 2015-10-09 21:50:31 -07:00
Christoph Kerschbaumer
3e1391af9e Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Carsten "Tomcat" Book
d4e02e52be Merge m-c to mozilla-inbound 2015-10-19 11:40:29 +02:00
Jan-Ivar Bruaroey
248dae179c Bug 1207784 - skip permission hooks in createOffer when called from hiddenWindow (add-ons). r=mt 2015-10-16 12:16:24 -04:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Nathan Froyd
e504437747 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
Phil Ringnalda
1d97342df5 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Phil Ringnalda
54b2dc5b81 Merge m-i to m-c, a=merge 2015-10-17 10:16:55 -07:00
ffxbld
bdd6742d3c No bug, Automated blocklist update from host bld-linux64-spot-1092 - a=blocklist-update 2015-10-17 04:10:55 -07:00
Masatoshi Kimura
5cda8378bd Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
Brian Grinstead
baa26421bb Bug 1207542 - Hide the Control Center when the URL changes;r=paolo 2015-10-16 16:48:45 -07:00
Wes Kocher
2568f19afd Merge inbound to central, a=merge 2015-10-16 11:52:24 -07:00
Wes Kocher
9a0c35e2f6 Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Carsten "Tomcat" Book
3db71c38d1 Merge m-c to fx-team 2015-10-16 15:01:23 +02:00
Carsten "Tomcat" Book
529dbcc2ac merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda
0b6ffd7546 Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein
691382249c Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
2c52b25713 Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein
b55b7bd64f Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Ehsan Akhgari
dce5285675 Bug 1210154 - Part 3: Update the clang that we use to build with on OSX as well 2015-10-16 13:27:40 -04:00
Ehsan Akhgari
f7412010e9 Backout changeset d922e18b6dc1 (Bug 1210154) since it touched the wrong file 2015-10-16 13:27:39 -04:00
J. Ryan Stinnett
6706ededaf Bug 1213693 - Repair view source tab for parent process only URLs. r=mconley 2015-10-15 15:55:34 -05:00
Matthew Noorenberghe
b50a2a0ea4 Bug 1209140 - Open a second firstrun tab for Tracking Protection promotion. r=jaws 2015-10-15 13:44:18 -07:00
Mark Banner
ec85a94564 Bug 1213855 - Remove direct call functionality from Loop's backend. r=mikedeboer 2015-10-15 19:13:08 +01:00
Mark Banner
a06560fd22 Bug 1213810 - Remove obsolete actions previously associated with direct calls. r=mikedeboer 2015-10-15 19:13:07 +01:00
Ryan VanderMeulen
7d58998bbf Bug 1214766 - Update pdf.js to version 1.1.527. r=bdahl 2015-10-16 16:30:11 -04:00
Iaroslav (yarik) Sheptykin
06f15963af Bug 1140512: Ensure FindBar communicates properly with content after remoteness change. r=mikedeboer 2015-10-15 15:13:54 +02:00
Wes Kocher
b0dcade35d Merge m-c to fx-team, a=merge 2015-10-16 12:31:52 -07:00
Chris Rafuse
2c47d40375 Bug 1212079 - Removed contact scripts from index, r=dmose 2015-10-16 11:03:20 -07:00
Manuel Casas
1d3951d95d Bug 1131542 - Loop button on toolbar needs different tooltips to explain colours/state. r=Standard8 2015-10-16 17:06:48 +01:00
Dave Townsend
a76e0ab061 Bug 1213348: Turn on system add-on update checks. r=nthomas 2015-10-16 08:51:41 -07:00
Gijs Kruitbosch
6b555a2f4c Bug 1123760 - fix accessible labels of urlbar items, r=florian,f=MarcoZ 2015-10-13 15:01:43 +01:00
Gijs Kruitbosch
8f7b420237 Bug 1162635 - flatten notification styles on Windows and Linux, r=dao 2015-10-14 16:52:46 +01:00
Dão Gottwald
31b3db7fe5 Bug 1215093 followup, fixing typo. DONTBUILD 2015-10-16 13:44:56 +02:00
Dão Gottwald
d97ef06689 Bug 1215093 - For lightweight themes, make toolbar buttons semitransparent white with a black border on :hover/:active. r=gijs 2015-10-16 13:09:56 +02:00
Mark Banner
e8e0c138ea 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
eedc6fb8bb Bug 1209686 - Remove Standalone header from Loop, r=mardak 2015-10-13 12:18:00 +02:00
Ed Lee
d9cb2af597 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
Alexandre Poirot
7416d7ae00 Bug 1204808 - Move devtools prefs to its own file in /devtools folder. r=jryans 2015-10-15 03:47:21 -07:00
Alexandre Poirot
56e4b75c0b Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Manuel Casas
aa01310947 Bug 1212340 - Move the Leave feedback option from the conversation window settings menu to the panel settings menu. r=Standard8 2015-10-15 11:42:22 +01:00
Chris Rafuse
f68603bdb4 Bug 1209589 - Collect Google Analytics data for users on IE 10 & 11. r=Standard8 2015-10-15 11:42:21 +01:00
Carsten "Tomcat" Book
fdfc49b76d merge mozilla-inbound to mozilla-central a=merge 2015-10-15 11:52:40 +02:00
Fabrice Desré
79c309fe6a Bug 1214021 - Move ext-bookmarks to browser/ r=billm 2015-10-14 16:31:08 -07:00
Wes Kocher
fd0c4509fc Merge fx-team to central, a=merge 2015-10-14 14:39:58 -07:00
Marco Bonardo
48cfc10fc7 Bug 1190350 - Bookmarks sidebar displays regular folder icons for livemarks. r=gijs 2015-10-14 18:49:23 +02:00
Carsten "Tomcat" Book
f5968f154a Merge m-c to mozilla-inbound on a CLOSED TREE 2015-10-14 16:20:56 +02:00