Commit Graph

14079 Commits

Author SHA1 Message Date
Doug Sherk
2347943aeb Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Frédéric Wang
deaf79903a Bug 781494 - Remove support for composite char from nsMathMLChar. r=karlt 2012-08-20 20:14:20 -04:00
Kyle Huey
e428d9fe59 Bug 783379: Remove unnecessary (wrong) optimization of image decoding notifications. r=roc
--HG--
extra : rebase_source : d485d0f5bbe35dc969712ca50654c8671b033c80
2012-08-20 17:14:04 -07:00
Ryan VanderMeulen
6388776acb Merge m-c to inbound. 2012-08-21 18:23:36 -04:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
06019be17e Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
David Zbarsky
32bb53999c Bug 776401 Part 2: Add animation to the layer and then add segments directly to it r=roc 2012-08-20 09:35:42 -04:00
David Zbarsky
c81eb44c58 Bug 776401 Part 1: Avoid copying animation segments when creating animations r=roc 2012-08-20 09:35:42 -04:00
David Zbarsky
d631e1b3a1 Bug 783835 - Compositor needs to know the css property being animated r=roc 2012-08-20 09:35:41 -04:00
Matt Woodrow
31fa7e5c17 Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-08-20 22:00:49 +12:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Mats Palmgren
20e4f84391 Bug 308801 - box-sizing:border-box with min-/max-width/height reftests. 2012-08-20 03:15:14 +02:00
David Zbarsky
b258e9a808 Bug 783841 - Fix build warnings in layers r=cjones 2012-08-19 20:07:31 -04:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Phil Ringnalda
00e466bc6f Merge mozilla-central to mozilla-inbound 2012-08-19 11:20:45 -07:00
Phil Ringnalda
1b1d28cb1f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Masayuki Nakano
3a537dd0d1 Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-20 01:46:21 +09:00
Ryan VanderMeulen
25940ee99c Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
806819677e Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
456f9e9562 Bug 685516 - Mark more tests as random; rs=khuey 2012-08-18 14:49:50 +01:00
Mohit Sinha
29205d30f1 Bug 781189 - Remove rowline attributes from mtable-align-whitespace.html and mtable-align-whitespace-ref.html to fix intermittent failures. r=fwang 2012-08-18 08:32:07 -04:00
Daniel Holbert
2a1eca50b1 Bug 783700: Switch nsColumnSetFrame::BuildDisplayList() to use nsFrameList::Enumerator for walking its child frames. r=dbaron 2012-08-17 18:12:01 -07:00
Daniel Holbert
f7e7f3c67f Bug 781869: Remove redundant "NS_FRAME_NO_MOVE_VIEW" bit in a few places where it's already implied from NS_FRAME_NO_MOVE_FRAME. r=dbaron 2012-08-17 12:04:06 -07:00
Brian R. Bondy
6ae40bb347 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Ehsan Akhgari
08037d10e1 Bug 768503: Only disable selection on non-editable content. r=roc 2012-08-16 11:51:46 -04:00
Charly Molter
db958503bc Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Ed Morley
70e369a460 Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903 2012-08-18 23:29:13 +01:00
Matt Woodrow
1471d50cb2 Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc 2012-08-07 15:00:41 +12:00
Chris Pearce
7e1bf09317 Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc 2012-08-17 16:25:19 +12:00
Chris Pearce
274d465a14 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
f78206195e Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Masayuki Nakano
ac015d98bb Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug 2012-08-17 10:32:15 +09:00
Ed Morley
e52bbbae03 Merge mozilla-central to mozilla-inbound 2012-08-16 17:55:58 +01:00
Ed Morley
880f3c238b Bug 782196 - Temporarily disable layout/reftests/bugs/598726-1.html on Windows 7 for being near-permaorange; r=philor 2012-08-16 17:51:22 +01:00
Robert O'Callahan
f2cd4b69af Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
2012-08-10 23:10:12 +12:00
Jonathan Watt
74556a16c9 Bug 780963 crashtest. r=roc. 2012-08-16 11:54:48 +01:00
Chris Jones
6e5b17c82e Bug 781742: Try to keep a process pre-launched for app content, if the pref says to. r=jlebar 2012-08-15 18:46:03 -07:00
Ryan VanderMeulen
826a6d3cd5 Merge m-c to inbound. 2012-08-15 21:00:42 -04:00
Andrew Halberstadt
b54c314054 Bug 778725 - Fix program error managing snapshot errors in b2g reftests, r=jgriffin 2012-08-15 17:36:52 -04:00
Kyle Huey
9c042184aa Bug 685516: Mark a couple more tests random. 2012-08-15 13:15:03 -07:00
Kyle Huey
99d3844c9b Bug 685516: Disable background-image-tiling.html on Android XUL. 2012-08-15 10:55:59 -07:00
Ed Morley
966fee8835 Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981 2012-08-15 18:10:55 +01:00
Ed Morley
5e0cec6651 Bug 685516 - Disable background-size-body-percent-percent-overflow.html; rs=khuey 2012-08-15 17:22:14 +01:00
Ed Morley
42369890c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Kyle Huey
715bc01bd2 Bug 780618: Follow up to switch to nsError.h in merged patches. r=me 2012-08-15 06:52:06 -07:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
f1e8386e17 Bug 685516: Disable one more test. 2012-08-15 06:17:24 -07:00
Kyle Huey
a4d0bedef5 Bug 685516: Disable some more tests. 2012-08-14 21:05:24 -07:00
Kyle Huey
8a5f5bbdf3 No bug: Eradicate some nsnulls. 2012-08-14 13:34:20 -07:00
Kyle Huey
30cef0f1d5 Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Andrew Halberstadt
d6f030c237 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
18bbbb0ab6 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
767abfdb5a Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
ebcdb10b44 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
447a47298e Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Kyle Huey
4dcafaedea Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
0cc1c18795 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-08-13 15:04:19 -07:00
Kyle Huey
3e8f37baab Bug 697230: Part 0 - Make table frame classes call into their superclass in DidSetStyleContext. r=bz 2012-08-13 14:13:34 -07:00
Kyle Huey
f8ba220f4b Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Aryeh Gregor
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
fc75b382a6 Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc 2012-08-14 17:39:11 +12:00
Chris Pearce
e847557147 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
80a5c4e003 Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Simon Montagu
3c9b427025 Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc 2012-08-13 20:51:36 -07:00
Timothy Nikkel
f81eea2fd8 Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc 2012-08-13 21:59:44 -05:00
Chris Lord
6bdbf9e99e Bug 777260 - Fix invalidations on transform items in container layers. r=roc
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.

Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
669a81223c Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
Alexandros Chronopoulos
b42d0e9db4 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
9cd0b82303 Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Scott Johnson
a126fbce3c Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron] 2012-08-11 13:33:36 -05:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Andrew Halberstadt
8eadf46d4b Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Aryeh Gregor
04236844ff Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Neil Deakin
9b35869d1b Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
L. David Baron
96bf24466d Update syncing directory location in README. (No bug, DONTBUILD) 2012-08-13 10:48:16 -07:00
Matt Woodrow
79137e0a05 Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc 2012-08-13 22:11:40 +12:00
Matt Woodrow
8dc586057a Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow
5b782df2fa Bug 781362 - Delay the start time of some SVG animation reftests to prevent intermittent failures. r=dholbert 2012-08-13 22:11:32 +12:00
Matt Woodrow
383f47e35e Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc 2012-08-13 22:11:16 +12:00
Matt Woodrow
7f18c01d05 Bug 539356 - Part 32 - Change some SVG deferred animation tests to not require calling GetBaseValue. r=dholbert 2012-08-13 22:11:02 +12:00
Matt Woodrow
c9d19fc306 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
1f5f272808 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Robert Longson
0a6a20aef4 Bug 757751 - attribute updates on non-rendered svg elements result in an abort. r=jwatt 2012-08-15 12:58:06 +01:00
Dave Hylands
643b381f6b Bug 777259 - Launch VolumeService earlier to prevent races on retrieving Volume information 2012-08-09 20:40:05 -07:00
Mats Palmgren
6a7102e955 Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc 2012-08-15 04:28:23 +02:00
Masayuki Nakano
a2e9895dca Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-15 09:52:07 +09:00
Frédéric Wang
b9037fc8ce Bug 781494 - Remove dead code from nsGlyphTable::ElementAt. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
531b9bee74 Bug 781494 - Change line length in nsMathMLChar to be 80 characters or less. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
6e60458a7a Bug 781494 - Remove dead code from nsMathMLChar. r=karlt 2012-08-10 11:29:59 -04:00