Граф коммитов

31643 Коммитов

Автор SHA1 Сообщение Дата
Oliver Henshaw a24bd6393b Bug 1180715 (3/4) - Drop parseURI from newChannel2. review=ttaubert
Extract the nsIFile from aURI instead.
2015-10-20 10:45:46 +05:30
Oliver Henshaw b8653b6cd5 Bug 1180715 (4/4) - Use nsIURL methods instead of RegExp. review=ttaubert
Also move host check from the parseURI caller to parseURI itself.
2015-10-20 10:45:40 +05:30
Oliver Henshaw 7e5727b51a Bug 1180715 (2/4) - Provide a nsIFileURL interface for thumbnails. review=ttaubert
Use nsISubstitutingProtocolHandler to return a SubstitutingURL and to
resolve the thumbnail URL to the backing nsIFile.

Now the image loader code will realise that moz-page-thumb:// URLs are
backed by a file and will be able to use the file mtime to evaluate
whether the cached imgRequest has expired.

* Implement the nsISubstitutingProtocolHandler methods in the thumbnail
protocol handler. The resolveURI method does all the work, the other
methods are just stubs.

* moz-page-thumb:// is now an URL rather than an URI, so update the
signature accordingly.

* Add xpcshell-test to affirm that SubstitutingURL::EnsureFile()
resolves the backing file correctly.

* Adjust the mochitest to account for the one second granularity of the
mtime tracking.
2015-10-20 10:45:32 +05:30
Nicholas Nethercote 343f285eca Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj.
--HG--
extra : rebase_source : d472ec1638cb1697af0d2f2dbae4f4229bea1a80
2015-10-19 15:46:46 -07:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Chris Manchester 08c59074db Bug 1175857 - Build libraries composing dump_syms with optimization. r=glandium
A previous patch enabled optimizations when building the dump_syms executable.
This patch enables optimizations when building dependent libraries, where much
of the work is actually done, to achieve the expected speeedup.

--HG--
extra : commitid : 6Ud7gz1BNMU
2015-10-19 17:57:11 -07:00
Mike Hommey 223417d648 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
Nick Thomas 20d95cef4f Bug 1213721 - unbuffered python output during 'make upload', r=glandium
--HG--
extra : rebase_source : bc64f6d336d2f0a27bc9e1b31e93f254892d499a
2015-10-20 10:59:19 +13:00
Francois Marier 3ae91b2ba9 Bug 1215396 - Log Safe Browsing prefixes as they are added to the local database. r=gcp 2015-10-19 14:13:49 -07:00
Chris Manchester 884de0189d Backed out changeset 92e5edb0d02e (bug 992983) for breaking fix_stack_using_bpsyms.py
--HG--
extra : commitid : zxCwIsOz0B
2015-10-19 12:15:43 -07:00
Jonas Sicking 4316c13003 Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Chris Manchester 3ac85eaba9 Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
--HG--
extra : commitid : 3gQEwA4tB9L
2015-07-16 16:52:31 -07:00
Iaroslav (yarik) Sheptykin abcebff312 Bug 1209458 - Replace HISTOGRAM_FILE_VERSION preprocessor usage with AppConstants.jsm definitions. r=ted,gfritzsche
--HG--
extra : transplant_source : %B9%5D%20%1EN%D0%C3%F7%0F1%CF%91%F2%2C%10%81U%D8X%3F
2015-10-01 10:18:10 +02:00
Matthew Noorenberghe 8edadb5ccc Bug 1208346 - Fix manualDoNotDisturb build bustage on Android. r=bustage
--HG--
extra : commitid : H8rOzhmp5fi
2015-10-18 20:39:35 -07:00
rosako 2c25780d0d Bug 1207733 - Update @disabled on the Remove Password button when selection changes. r=MattN
--HG--
extra : commitid : BbzCjDURRwQ
extra : amend_source : 6650f287e5a0d0269886d7cf0754e7a175cc95fa
extra : histedit_source : d0d52f8bdd168f77910a9694d801ed5d5bb0a6bb
2015-10-18 20:10:09 -07:00
Matthew Noorenberghe a0340b8221 Bug 1208346 - Alert service Do Not Disturb backend. r=jaws
IGNORE IDL

--HG--
extra : commitid : DSoZhCVy0aw
extra : rebase_source : 5208177e675dd7447ecfbc47476d0ac07d89d29c
extra : histedit_source : 2b2f42685915d06f06397f8f805d493f9500254c
2015-10-18 20:04:56 -07:00
Kate McKinley c4ba172faa Bug 1207838 - Update text used for the security referrer command. r=ckerschb, r=jwalker, r=fkiefer 2015-09-28 15:11:02 -07: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
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