Dão Gottwald
e157237117
Backed out changeset b1c0b12a5f65
2011-09-24 12:18:30 +02:00
Dão Gottwald
865e353472
merge backout
2011-09-24 12:17:45 +02:00
Dão Gottwald
623028268e
Backed out changeset d9989de45bd9
2011-09-24 12:17:14 +02:00
Mats Palmgren
69691a3674
Bug 686581 - Disable theming in SVG images. r=roc
2011-09-24 10:28:55 +02:00
Mats Palmgren
ccb640b088
Bug 686581 - Implement -moz-is-resource-document media query. r=roc
2011-09-24 10:28:54 +02:00
Michael Wu
830e19642d
Bug 688930 - Fix detection of installation location when in /system, r=cjones
2011-09-23 21:54:59 -07:00
Ed Morley
55aca1fe95
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-24 04:35:02 +01:00
Rafael Ávila de Espíndola
94abde99d1
Bug 670951 - Don't crash if there is a X86 file but not a PPC one. r=ted.
...
--HG--
extra : rebase_source : 9fde1eccfc999923ead9981608dceb1414dfde18
2011-09-23 22:10:10 -04:00
Ed Morley
f5a2b818d7
Backout 3bfef7f630dc and all ancestors until cba5d081f15d inclusive (bug 683802, bug 684327 & bug 652571); a=use-try-before-crapping-23-changesets-on-the-tree-thank-you-please
2011-09-24 03:33:31 +01:00
Ed Morley
d06542a2e2
Backout changeset 737c2fdb9148 (bug 683802), since bustage fix not relevant now that the whole bug is being backed out
2011-09-24 03:29:48 +01:00
Jonas Sicking
1e4cc44dc8
Bug 687087 part 3. Implement XHR.responseType="moz-chunked-text" and XHR.responseType="moz-chunked-arraybuffer". r=smaug on code changes, rs=smaug on tests.
2011-09-23 18:57:36 -07:00
Jonas Sicking
da49f9cf41
Bug 687087 part 2: Clean up how we handle text decoding so that we don't re-charset-decode unless really needed. r=smaug
2011-09-23 18:57:36 -07:00
Jonas Sicking
d8bd4ad3d0
Bug 687087 part 1: Always fire a "progress" event before onload if we've received data since the last progress event. Also ensure that event..loaded on progress events have the correct value for all response-types. r=smaug
2011-09-23 18:57:22 -07:00
Rafael Ávila de Espíndola
c7e7073052
Bug 687696 - Use nsRefPtr instead nsCOMPtr. r=mak.
...
--HG--
extra : rebase_source : 7d8238fc2202e86c23a3426bb076a11dcb11b7a8
2011-09-23 21:29:48 -04:00
Ed Morley
43653f54ce
Bug 686170 - Remove modules/zlib/standalone; r=ted
2011-09-24 02:16:45 +01:00
Mats Palmgren
5ff1123dee
Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug
2011-09-24 02:56:38 +02:00
Jesse Ruderman
63a423e86d
Test for bug 682463.
2011-09-24 02:56:38 +02:00
Mats Palmgren
8e699614fb
Bug 682463 - "ASSERTION: unexpected disconnected nodes" with DOM range, splitText. r=smaug
2011-09-24 02:56:38 +02:00
Benoit Jacob
e0690707cd
Bug 684882 - Random video memory grabbed into WebGL cube map textures on Mac OS, including on 10.7.1, on Intel GPUs - r=jrmuizel
...
This patch does 3 things on Macs with Intel GPUs:
* prevents attaching a cube map to a framebuffer.
Test case: http://codeflow.org/webgl/irradiance/
* skips glGenerateMipmaps on cube maps
* since cube maps are now missing their mipmaps, prevents setting on them a minification filter that requires a mipmap, but only from OpenGL's point of view, not from WebGL's.
2011-09-23 20:29:40 -04:00
Andrew McCreight
bac8bd20e7
Bug 683802 - remove trailing ; to fix Maemo bustage. r=bholley
2011-09-23 17:26:19 -07:00
Matt Brubeck
0b0a1efe0a
Bug 688168 - Make the sync dialog pretty on Honeycomb [r=wesj]
2011-09-23 16:37:26 -07:00
Wes Johnston
b969fbe23a
Bug 688693 - Tweak the portrait tabs menu. r=mfinkle
2011-09-23 16:02:27 -07:00
Wes Johnston
de3bd6e1ea
Bug 688819 - Add strings for Fennec actionbar in preferences. r=mfinkle
2011-09-23 16:02:25 -07:00
Rob Campbell
35858fa077
merge fx-team to m-c
2011-09-23 19:43:05 -03:00
Matt Brubeck
b6a5ad2a29
Bug 688840 - Switching from portrait to landscape breaks tab sidebar toggling [r=wesj]
2011-09-23 15:18:40 -07:00
Matt Brubeck
66e305f14a
Bug 688689 (2/2) - New throbber animation for Fennec [r=mfinkle]
2011-09-23 15:18:40 -07:00
Matt Brubeck
4f193c0976
Bug 688689 (1/2) - New colors for SSL endcaps in Fennec URL bar [r=mfinkle]
2011-09-23 15:18:39 -07:00
Bobby Holley
43108c0900
Bug 683802 - Pass useAllocator=false only for wrappedjs dipper params. Everything else can allocate. r=mrbkap
...
We only have one good reason for the useAllocator distinction: when C++ calls JS with a dipper parameter (ie, a string), the caller has already created the relevant nsAString or nsCString, so we shouldn't allocate another one. All other uses are superfluous or irrelevant, so we can get rid of them.
2011-09-23 14:50:29 -07:00
Bobby Holley
2f66a40072
Bug 683802 - Force allocation for sized PWSTRINGs in XPCWrappedNative argument conversion. r=mrbkap
...
This is the last remaining place where we might pass a non-dipper with useAllocator==false to XPCConvert *and, as a consequence*, do something different within XPCConvert. This paves the way for the elimination of useAllocator for non-dipper types.
2011-09-23 14:50:29 -07:00
Bobby Holley
4170b80aaf
Bug 683802 - Remove XPC_JSArgumentFormatter and friends. r=mrbkap
...
XPC_JSArgumentFormatter adds 3 special format string tokens to spidermonkey: %ip, %iv, and %is. These were unused outside of testing according to a free-text MXR search, and don't appear to be well-documented anywhere either. They also happen to be quite dangerous and easy to use improperly: we pass untyped variadic parameters to XPCConvert::JSData2Native with useAllocator==false. This causes JSData2Native to blindly cast the values to concrete class pointers (like nsAString*) and call methods on them.
2011-09-23 14:50:28 -07:00
Bobby Holley
0d7e07547c
Bug 683802 - Eliminate questionable support for [shared] parameters. r=mrbkap
...
AFAICT we'd crash if we hit these cases anyway. bsmedberg and khuey requested that I assert against this case within XPConnect, and file a bug to make XPIDL enforce that [shared] parameters exist only in [noscript] methods. Filed bug 685281 for this.
2011-09-23 14:50:28 -07:00
Bobby Holley
364f0f80e5
Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
7386fc9507
Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
c0aa2b6439
Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
21981b746e
Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
bb7989ef1e
Bug 683802 - Always store jsvals directly within the val union (fixes bug 655878). r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
b39a7f2504
Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap
2011-09-23 14:50:28 -07:00
Bobby Holley
757407104f
Bug 683802 - Separate reindentation from previous patch for easier review. No other changes. r=mrbkap
2011-09-23 14:50:27 -07:00
Bobby Holley
b88cd46009
Bug 683802 - Move the loop contents of ConvertIndependentParams into a separate method (without re-indentation). r=mrbkap
2011-09-23 14:50:27 -07:00
Bobby Holley
b6cbc3e44d
Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap
2011-09-23 14:50:27 -07:00
Bobby Holley
61ec2b2260
Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey
2011-09-23 14:50:27 -07:00
Bobby Holley
9ee149cc53
Bug 684327 - Test parameter passing. r=khuey
2011-09-23 14:50:27 -07:00
Bobby Holley
608c7d4d5f
Bug 684327 - Generalize test_readwriteattributes.js into test_attributes.js. r=khuey
...
--HG--
rename : js/src/xpconnect/tests/unit/test_readwriteattributes.js => js/src/xpconnect/tests/unit/test_attributes.js
2011-09-23 14:50:27 -07:00
Bobby Holley
4525104bc9
Bug 684327 - Add an xpcshell test that exercises both the native and js components. r=khuey
2011-09-23 14:50:27 -07:00
Bobby Holley
3c889d66dd
Bug 684327 - Introduce js-implemented test component. r=khuey
2011-09-23 14:50:27 -07:00
Bobby Holley
6f02e9f167
Bug 684327 - Move the C++ implementation of the test component into its own subdirectory. r=khuey
...
--HG--
rename : js/src/xpconnect/tests/components/Makefile.in => js/src/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/xpctest.manifest => js/src/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/xpctest_attributes.cpp => js/src/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/xpctest_module.cpp => js/src/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/xpctest_private.h => js/src/xpconnect/tests/components/native/xpctest_private.h
2011-09-23 14:50:27 -07:00
Bobby Holley
91964a9e10
Bug 684327 - Misc fixes to xpctest_attributes. r=khuey
...
This patch is best reviewed while listening to http://www.youtube.com/watch?v=MK6TXMsvgQg
NB - The code here would make a great "find the bugs in this code" interview screen question.
2011-09-23 14:50:27 -07:00
Bobby Holley
4252ab2c8a
Bug 684327 - Start building a small subset of the xpconnect test component again, kill the rest. r=khuey
...
Thanks to Mook for the initial patch!
2011-09-23 14:50:27 -07:00
Bobby Holley
93d027b403
Bug 684327 - Remove TestXPC.cpp, which currently printfs that it's failing various things and then segfaults. r=khuey
2011-09-23 14:50:26 -07:00
Mook
e0e76eec52
Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola
2011-09-23 14:50:26 -07:00