Commit Graph

341250 Commits

Author SHA1 Message Date
Jacek Caban
b0b4671dba Merge branch 'mozilla-central' 2015-10-19 06:19:39 +02:00
Phil Ringnalda
e8e1387f15 Merge f-t to m-c, a=merge 2015-10-18 11:19:30 -07:00
Olli Pettay
7b8389cf43 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku 2015-10-18 14:14:22 +03:00
Andrew McCreight
eeb9c65a6d Bug 1215151 - Add XPCOM leak checking for base::Thread. r=jld 2015-10-16 09:02:00 -07:00
James Kitchener
c6c0f44dbd Bug 1011020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc (relanding with correct bug number, DONTBUILD) 2015-10-17 10:18:00 -07:00
Phil Ringnalda
d53e28d2d6 Back out changeset 2fe5dee8825d (not 1101020) for landing with the wrong bug number 2015-10-17 21:44:43 -07:00
James Kitchener
1d7414a377 Bug 1101020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc 2015-10-17 10:18:00 -07:00
Cameron McCormack
900363f0ab Fix formatting of some macros; no bug. 2015-10-18 15:18:10 +11: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
74aeac944d Bug 1207245 - part 4 - remove RefPtr.h; r=ehsan
It has been superseded by the availability of nsRefPtr.h.
2015-10-18 00:40:16 -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
d1b851cb44 Merge m-c to m-i 2015-10-17 11:24:26 -07:00
Phil Ringnalda
1d97342df5 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Michael Wu
b74c72b00d Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Phil Ringnalda
54b2dc5b81 Merge m-i to m-c, a=merge 2015-10-17 10:16:55 -07:00
Nils Ohlmeier [:drno]
f33c6a0f24 Bug 1215616: use base address for server rflx ICE candidates r=bwc 2015-10-17 11:34:01 -04:00
Daniel Stenberg
1705492004 Bug 1214200: avoid double NS_RELEASE(), r=mcmanus 2015-10-17 08:26:38 -04: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
ffxbld
a19e38ff29 No bug, Automated HPKP preload list update from host bld-linux64-spot-1092 - a=hpkp-update 2015-10-17 04:10:53 -07:00
ffxbld
f5848220b0 No bug, Automated HSTS preload list update from host bld-linux64-spot-1092 - a=hsts-update 2015-10-17 04:10:51 -07:00
Eric Faust
33922998c4 Bug 1215744 - Unnamed class expressions shouldn't get a name property. (r=arai) 2015-10-17 00:53:18 -07:00
Heiher
25e1f3f03e Bug 1066642 - IonMonkey: MIPS32: Do not allocate odd FP registers on Loongson CPU-s. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 21 ++++++++++++++++++---
 js/src/jit/mips32/Assembler-mips32.cpp  |  6 +++---
 js/src/jit/mips32/Simulator-mips32.cpp  |  2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)
2015-10-17 23:41:16 +08:00
James Cowgill
42d730665a Bug 1129878 - nspr: enable atomic instructions on mips r=hev
---
 nsprpub/pr/include/md/_linux.h | 10 ++++++++++
 nsprpub/pr/include/pratom.h    |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
2015-10-17 23:41:10 +08:00
Masayuki Nakano
9cab3875db Bug 1215434 part.2 Add plugin frame rect to dispatch-to-content region if it wants to handle wheel event as default action r=mstange 2015-10-17 15:50:09 +09:00
Masayuki Nakano
10ea38d130 Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Phil Ringnalda
4080ce9e73 Back out 2 changesets (bug 1215336, bug 1215337) in hopes it will appease the angry gods, who will then stop hurling !phaseStartTimes[phase] assertion failures at our heads
CLOSED TREE

Backed out changeset f41fd6c7d522 (bug 1215337)
Backed out changeset 1998b272540e (bug 1215336)
2015-10-16 20:32:21 -07:00
Phil Ringnalda
ffe419f736 Back out 2 changesets (bug 1214967) for b2g debug mochitest-14 hangs, or perhaps fatal assertions failing to be fatal until a hang, or summat
CLOSED TREE

Backed out changeset 120b53ea0f41 (bug 1214967)
Backed out changeset af6b752acbd0 (bug 1214967)
2015-10-16 20:26:20 -07:00
Phil Ringnalda
07c7fcad97 Back out changeset 7a8d20f52da6 (bug 1215686) for ASan jsreftest/reftest failures
CLOSED TREE
2015-10-16 20:21:54 -07:00
Phil Ringnalda
4c3a1cf7d6 Back out changeset 09e059daabae (bug 1215072) for adding a permaorange-on-b2g test
CLOSED TREE
2015-10-16 18:42:41 -07:00
Patrick Brosset
573931eac7 Bug 1197100 - 4 - Move time-block UI to its own component; r=tromey 2015-10-16 22:35:28 +02:00
Masatoshi Kimura
5cda8378bd Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
Masatoshi Kimura
5b8fbcfec1 Bug 1207137 - Add an error code for weak crypto override. r=bz 2015-10-17 09:38:30 +09:00
Masatoshi Kimura
6509ac65d1 Bug 1207137 - Set a security state flag when weak crypto override is needed. r=keeler 2015-10-17 09:38:30 +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
Jordan Santell
f0d14e473f Bug 1214872 - Set up state changes in the memory tool. r=fitzgen 2015-10-16 15:16:55 -07:00
Michael Comella
82b855996a Bug 1147653 - Review - add exit animation to AnimationSet. r=me 2015-10-16 15:06:48 -07:00
Boris Zbarsky
a0035b8145 Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot 2015-10-16 15:54:51 -04:00
Shu-yu Guo
24611c0bd3 No bug - Annotate an OOM test as allow-oom. (r=terrence over IRC) 2015-10-16 17:54:47 -07:00
Shu-yu Guo
5aa05cb07b Bug 1215341 - Update tests. (r=jandem) 2015-10-16 17:54:47 -07:00
Shu-yu Guo
f7604a285a Bug 1215341 - Make assignment to const errors runtime TypeErrors in the JITs. (r=jandem) 2015-10-16 17:54:47 -07:00
Shu-yu Guo
e867733b78 Bug 1215341 - Make assignment to const errors runtime TypeErrors in the frontend and interpreter. (r=jandem) 2015-10-16 17:54:47 -07:00
Bobby Holley
421558fd7d Bug 1215398 - Hoist the IsCallerChrome call in CanMoveResizeWindows to the script-only entry points. r=bz 2015-10-16 16:35:30 -07:00
Chris Manchester
b62ccf544c Bug 1203266 - Allow reading reftest manifests from a provided finder. r=gps 2015-10-16 15:31:20 -07:00
Chris Manchester
8cf7e89d4d Bug 1203266 - Optionally read manifestparser manifests with a Finder class. r=ahal
We need to go through an abstraction layer when manifestparser manifests
are read as a part of reading moz.build files in case moz.build reading
is using mercurial as its filesystem. This adds an optional finder member,
which will be used if present for IO that happens when reading manifests,
This needs to be optional, because the manifestparser can be used as a
standalone package that isn't distributed with mozpack.
2015-10-16 15:31:20 -07:00
Chris Manchester
59596f6245 Bug 1203266 - Don't call normpath in the manifestparser on paths that don't contain '..'. r=ahal
Profiling the manifestparser revealed that 25% of its total time is spent in a single
call to os.path.normpath, called on each test path in each manifest. For the manifests
in mozilla-central, these calls almost always return their input. To save time, this
patch modifies the manifestparser to not call normpath on paths that don't contain
'..'. This will change the parsed result of manifests containing no-op path
components ('//' or '/./') to include those components in their output.
2015-10-16 15:31:20 -07:00
Botond Ballo
c4d398d28b Bug 1211506 - Respect the APZ lock ordering in AsyncPanZoomController::OnScrollWheel(). r=mstange 2015-10-16 16:33:41 -04:00
Eric Faust
82477c536d Bug 1214970 - Don't emit nullptr atoms for class expressions with default constructors. (r=Waldo) 2015-10-16 14:49:17 -07:00
Ehsan Akhgari
d0aec967ab Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-16 17:46:38 -04:00
Chris Pearce
2dafdf3080 Bug 1214967 - Proxy observer service notification across to content process when GMPs are added/removed. r=billm,jwwang 2015-10-17 10:39:45 +13:00
Chris Pearce
ba1a13ef4e Bug 1214967 - Create a list of GMPs/codecs that can be used for <video> decoding. r=jwwang 2015-10-17 10:39:36 +13:00