Commit Graph

73972 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
e7a2202774 Bug 678024 - Fix build with c++0x and clang. geteuid returns an unsigned value, and in c++0x we need an explicit cast to int in an initializer list; r=roc 2011-08-11 19:22:44 -04:00
Rafael Ávila de Espíndola
9ca4b64c4b Bug 678222 - Fix build with clang and c++0x; r=roc
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Robert O'Callahan
5d0f7c6076 Bug 657401. Ensure that when our double-buffering logic expects layers to clip to their visible regions, we actually do. r=tnikkel
--HG--
extra : rebase_source : 16ea17d5a6a0177a26a3d38ae587290e194234b1
2011-08-12 10:44:50 +12:00
Robert O'Callahan
2c93649c0e Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Robert O'Callahan
8453430402 Bug 677095. Compute reasonable destination alpha values with component-alpha blending in D3D10. r=bas
--HG--
extra : rebase_source : b0264c52df9a37334d9524e1fdd1f15e4e4df866
2011-08-12 10:40:39 +12:00
Rafael Ávila de Espíndola
7b4d8f506f Bug 678216 - Fix build with clang and c++0x; r=cjones
Use tighter types for some fields. These fields are used in
  CFGregorianDate gregorian = {
    exploded.year,
    exploded.month,
    exploded.day_of_month,
    exploded.hour,
    exploded.minute,
    seconds
  };

and in CFGregorianDate the month, day, hour and minute fields are 8 bits.
2011-08-11 18:44:04 -04:00
Luke Wagner
4263a80f79 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
Rafael Ávila de Espíndola
1350be5c5c Bug 678060: Fix build with clang and c++0x. Need explicit cast from enums to ThemeMenuState in init list, since ThemeMenuState is typedefed to an int type. r=josh 2011-08-11 15:23:01 -07:00
Daniel Holbert
5935e67213 Add static_cast<void*> to pointer arg for %p in format string, to to fix GCC warning. No Bug #, r=jorendorff 2011-08-11 15:19:56 -07:00
Daniel Holbert
aaace3b649 Bug 678256: Fix init list warning for nsBuiltinDecoderStateMachine. r=cpearce 2011-08-11 15:19:56 -07:00
Jason Orendorff
0a7f125baa Back out rev 28f58b7bc69e (bug 672804) due to likely Dromaeo regression.
--HG--
extra : rebase_source : 592b309169cd94a3f242c6bf21f94a04f55f8d4b
2011-08-11 16:45:01 -05:00
L. David Baron
345ff7596e Media queries spec defines <resolution> values as allowing <number>, not just <integer>. (Bug 677642) r=bzbarsky 2011-08-11 14:25:13 -07:00
Taras Glek
82715b888d Bug 678085: Telemetry: Poll memory memory before cycle collection, but no more than once per minute r=njn 2011-08-11 14:19:47 -07:00
Taras Glek
fb1bfd2b63 Bug 668392 - Include enabled addons + persona in telemetry r=Mossop 2011-08-11 14:19:40 -07:00
Jeff Muizelaar
9dfaad3a37 Bug 678258. imglib: Record the number of chunks that we decode per trip through the event loop. r=jlebar
This also avoids recording the latency of decodes that don't do any work.

--HG--
extra : rebase_source : cc41dbb4289c050061ae27008c37d3a25b14df80
2011-08-11 14:42:15 -04:00
Jeff Muizelaar
911766f68c Bug 678258. imglib: Record the time from starting a decode on draw and actually finishing it. r=jlebar
This ignores the distinction between async and sync decoding and instead focuses on the time
it takes till the user sees the finished image.

--HG--
extra : rebase_source : f059b364f1c720ace2da310d0a5e0ce33cfb0dd3
2011-08-10 19:12:08 -04:00
Michael Wu
8551efa822 Follow up l10n bustage fix for android from bug 664907 2011-08-11 13:30:57 -07:00
Jason Orendorff
af9ef5c899 Fix SpiderMonkey GCC compiler warnings. No bug#, r=adrake. 2011-08-11 14:48:42 -05:00
Justin Lebar
1760edc269 Bug 678274 - Remove declaration of SetDocIdentifier() from nsSHEntryShared, since that method's implementation was removed. r=smaug 2011-08-11 15:18:37 -04:00
Daniel Holbert
110f0f6999 Bug 665354 followup: Revert s/0/NULL/ in jsgc.cpp to fix GCC warning. r=jorendorff 2011-08-11 11:47:50 -07:00
Rafael Ávila de Espíndola
16b25f6187 Bug 677644: Fix c++0x initializer list error found by clang. (The process_id field is unsigned, so we need to cast it in c++0x.) r=ted 2011-08-11 11:15:08 -07:00
Rafael Ávila de Espíndola
4480ce9030 Bug 678022: Fix build with clang and c++0x. In c++0x one cannot use -1 in a position in an initializer list that is unsigned. Use UINT_MAX instead. r=roc 2011-08-10 16:09:22 -04:00
Rafael Ávila de Espíndola
b116d5b801 Bug 678091: UnifiedGradientInfo is unused, remove it. r=mstange 2011-08-10 19:15:41 -04:00
Daniel Holbert
68b46f5f7e Bug 677993: Add a cast to fix 'cast to pointer from integer of different size' gcc warning in jsobjinlines.h r=bhackett 2011-08-11 11:15:08 -07:00
Oleg Romashin
601147abfd Bug 656114 - Clicking is broken in position:fixed elements in Fennec with MOZ_ENABLE_FIXED_POSITION_LAYERS enabled r=stechz 2011-08-11 11:37:23 -07:00
Jason Orendorff
06d366fad2 Bug 613452 - "Assertion failure: obj->isExtensible()" with Object.seal, sharps. r=Waldo. 2011-08-11 13:24:56 -05:00
Mounir Lamouri
c216b7caf6 Bug 463491 - Do not reduce the popup blocker abuse level when using command event. r=jst 2011-08-11 18:31:33 +02:00
Mounir Lamouri
bde4b8d6ff Bug 678166 - Use the original CID for the mock object in mockObjects.js. r=ehsan 2011-08-11 18:30:38 +02:00
Jim Mathies
2789729c0e Bug 536256 - Use an async and cache-only channel for drag and drop operations on Windows. r=roc 2011-08-10 15:15:16 -05:00
Alexander Surkov
268e01b6dc Bug 467143 - mixed state change event is fired for focused accessible only, r=tbsaunde 2011-08-11 20:45:36 +09:00
Mounir Lamouri
f03780250a Merging mozilla-central into mozilla-inbound. 2011-08-11 13:09:54 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Makoto Kato
bcce667983 Bug 616918 - Turn on ANGLE on Win64. r=bjacob 2011-08-11 19:17:54 +09:00
Mike Hommey
c7c3d3bfec Bug 677247 - Fix-up test and re-enable it. rs=khuey 2011-08-11 11:42:02 +02:00
Mike Hommey
813ecc5a65 Backout be17ceae8d60 (test for bug 677247) due to win debug perma-orange
The test crashes when building with no optimization, but does so on the path
that bug 677247 doesn't touch.
2011-08-11 11:01:06 +02:00
Jan Varga
9b22131da7 Bug 677463 - <menuitem>.label should return .textContent if there's no label content attribute r=smaug 2011-08-11 08:07:26 +02:00
Blair McBride
5b13e99185 Backout 84ce41f8cec7 due to leak. 2011-08-11 18:04:02 +12:00
Mike Hommey
1436b47f87 Bug 677247 - Test hook unregistration. r=ehsan 2011-08-11 07:55:11 +02:00
Mike Hommey
76e14485b6 Bug 677247 - Unregister Dll hooks when WindowsDllInterceptor is destructed. r=ehsan 2011-08-11 07:54:57 +02:00
Blair McBride
60f48f774b Bug 672485 - Ensure window watcher is defined. r=dtownsend,jst 2011-08-11 14:29:48 +12:00
L. David Baron
61b034946c Backout changeset 89a9f4a88d5b (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:39 -07:00
L. David Baron
34f632f590 Backout changeset 289becc07558 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:20 -07:00
L. David Baron
9fc478bf0f Backout changeset aac29f0bdd10 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 17:59:55 -07:00
Benoit Jacob
6a1b59abd3 Bug 638549 - fix leak of WebGL about:memory reporters - r=jrmuizel
See bug 638549 comment 25. We had to ref-count these pointers.
2011-08-10 18:25:23 -04:00
Benoit Jacob
c3bf80c8aa Bug 676315 - ANGLE build problem: d3dx9.h not found unless $DXSDK_DIR points to it - r=joe
In configure, we detect the DXSDK using the windows registry and set MOZ_DIRECTX_SDK_PATH accordingly. This patch fixes a bug whereby we weren't using that to actually find headers, and were relying on the half-universal DXSDK_DIR variable instead, which is not always defined and in case of multiple versions installed may not point to the most recent one.
2011-08-10 18:25:23 -04:00
Ali Juma
44ed9bbbe5 Bug 591057 - Identify active GPU in about:support and crash reports - r=jrmuizel 2011-08-10 18:25:22 -04:00
Benoit Jacob
559ce0c9f0 Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
7ad2f36370 Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
Boris Zbarsky
ee08b0a2a4 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Olli Pettay
badccfcde0 Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00