Commit Graph

268221 Commits

Author SHA1 Message Date
Arnaud Bienner
f606b89d51 Bug 1198256 - Reactivate the old Gtk color picker for now. r=karlt 2015-10-17 14:57:22 +02:00
John Lin
e871d975b9 Bug 1207214 - Assert decoder attaches EOS flag to final output buffer. r=sotaro 2015-10-16 00:45:00 -04:00
Chris Peterson
e9ed95a07c Bug 1215892 - Fix clang's -Wimplicit-fallthrough warnings in gfx. r=BenWa
gfx/gl/GLBlitHelper.cpp:395:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

gfx/layers/apz/src/AsyncPanZoomController.cpp:1087:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/AsyncPanZoomController.cpp:1196:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/GestureEventListener.cpp:411:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:292:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:295:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

widget/GfxInfoBase.cpp:1015:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:57:38 -07:00
Chris Peterson
4f9d99db36 Bug 1215902 - Fix clang's -Wimplicit-fallthrough warnings in extensions/cookie. r=jdm
extensions/cookie/nsCookiePermission.cpp:207:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:933:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:952:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:979:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1061:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1255:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1353:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1377:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:12:38 -07:00
Chris Peterson
321b846872 Bug 1215411 - Define MOZ_FALLTHROUGH annotation to suppress clang's -Wimplicit-fallthrough warnings. r=botond 2015-10-04 21:03:26 -07:00
Alfredo Yang
3a90bf537b Bug 1215441 - Skip flush before Init() is completed. r=sotaro 2015-10-16 01:02:00 -04:00
JerryShih
132cf7e64c Bug 1215050 - Make layerscope support TiledPaintedLayer when using HWC. r=mattwoodrow, r=cjku 2015-10-15 06:03:00 -04:00
Jonathan Hao
8ff2e7efde Bug 1207964 - Remove workaround from bug 1080461. r=jwwang 2015-10-14 15:25:00 +08:00
John Daggett
1c4cf7be22 Bug 543715 p2 - italic/oblique reftests. r=jfkthame 2015-10-19 11:17:00 +09:00
John Daggett
487e13975f Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-19 11:16:43 +09:00
Phil Ringnalda
0836b0d265 Bug 1206995 - disable test_window_define_nonconfigurable.html for release_build, since the feature it tests is disabled there, which makes the test fail 2015-09-21 19:43:47 -07:00
Phil Ringnalda
360db072b6 Bug 1207012 - Disable browser_bug666317.js for a permaorange uncaught exception that becomes visibly orange on beta 2015-10-18 18:39:07 -07:00
Dan Glastonbury
7b306c1ddc Bug 1207205 - Remove fGetActiveUniformName. r=jrmuizel 2015-10-19 11:23:45 +10:00
Xidorn Quan
35dac0b5c1 Bug 1215360 - Render canvas anonymous content on top of the top layer. r=roc 2015-10-19 11:56:13 +11:00
Dan Glastonbury
b569a22b2c Bug 1209384 - Check active query has same type as target. r=jgilbert 2015-10-19 10:05:54 +10:00
Karl Tomlinson
f90aa66a5e crashtest for bug 1206362 r=padenot 2015-09-21 15:36:28 +12:00
Karl Tomlinson
cefc41986c crashtest for bug 1020370 r=padenot 2015-10-16 09:59:48 +13:00
Karl Tomlinson
9b2a92cd0e bug 1020370 use int64_t to avoid overflow in subsample calcs r=padenot
ratioDen can be large when playbackRate is low.

Subsample skipping is limited to uint32_t values supported by speex resampler.
2015-10-16 11:56:24 +13:00
Karl Tomlinson
db3560fbe9 bug 1020370 adjust assert to tolerate large skipFracNum r=padenot 2015-10-16 11:31:45 +13:00
Karl Tomlinson
38b0b989d5 mochitest for bug 913854 r=padenot 2015-10-16 01:52:37 +13:00
Karl Tomlinson
60f4ec1d86 bug 1215096 correct off-by-one error in playback position of resampled buffers r=padenot
"The behavior of an expression of the form E1 op = E2 is equivalent to E1 = E1
op E2 except that E1 is evaluated only once", which means that the subtraction
of -= was happening before conversion from double to unsigned int.

The "+ 0.5" was subtracted before the truncation toward zero, causing rounding
to nearest minus one, except when nearest was zero.
2015-10-16 01:40:07 +13:00
Karl Tomlinson
1638135f02 bug 1214493 restore fractional start time accidentally rounded in 13e85dc6b41b r=padenot 2015-10-15 18:56:56 +13:00
Rail Aliiev
408224d1b8 Bug 1184089 - L10N nightly repacks should not manipulate mozconfigs. r=Callek DONTBUILD 2015-10-18 17:51:04 -04:00
Tooru Fujisawa
4fa469296d Bug 1215937 - Remove use of expression closure from js/xpconnect/. r=bholley 2015-10-19 00:01:58 +09:00
Phil Ringnalda
f99022e1a1 Merge m-c to m-i 2015-10-18 11:23:07 -07:00
Phil Ringnalda
8f424e8250 Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
Backed out changeset 2d1d8e9b095c (bug 543715)
Backed out changeset bc90276ec090 (bug 543715)
2015-10-18 11:22:22 -07:00
Phil Ringnalda
07d3772a08 Merge f-t to m-c, a=merge 2015-10-18 11:19:30 -07:00
John Daggett
17ee102808 Bug 543715 p2 - italic/oblique reftests. r=jfkthame 2015-10-18 22:17:59 +09:00
John Daggett
31d42bd9cd Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-18 22:17:46 +09:00
Olli Pettay
7316d2caa5 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku 2015-10-18 14:14:22 +03:00
Andrew McCreight
cc1601432e Bug 1215151 - Add XPCOM leak checking for base::Thread. r=jld 2015-10-16 09:02:00 -07:00
James Kitchener
dc63a578f6 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
59bfd76677 Back out changeset 2fe5dee8825d (not 1101020) for landing with the wrong bug number 2015-10-17 21:44:43 -07:00
James Kitchener
1c79827993 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
53897bfc0d Fix formatting of some macros; no bug. 2015-10-18 15:18:10 +11:00
Nathan Froyd
e4e2da55c9 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
97a03d0a23 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
5254890206 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
f8dbdcbaa7 Merge m-c to m-i 2015-10-17 11:24:26 -07:00
Phil Ringnalda
4e81a2fc7a Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Michael Wu
ce1a43f148 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Phil Ringnalda
57d11dbe92 Merge m-i to m-c, a=merge 2015-10-17 10:16:55 -07:00
Nils Ohlmeier [:drno]
d0af21c8fb Bug 1215616: use base address for server rflx ICE candidates r=bwc 2015-10-17 11:34:01 -04:00
Daniel Stenberg
660929687a Bug 1214200: avoid double NS_RELEASE(), r=mcmanus 2015-10-17 08:26:38 -04:00
ffxbld
edb2d7438f No bug, Automated blocklist update from host bld-linux64-spot-1092 - a=blocklist-update 2015-10-17 04:10:55 -07:00
ffxbld
77e8dbf522 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
c9f47d0a3c 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
3d98c7527e Bug 1215744 - Unnamed class expressions shouldn't get a name property. (r=arai) 2015-10-17 00:53:18 -07:00
Heiher
fc4aee309a 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
43f3638d88 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