Commit Graph

255007 Commits

Author SHA1 Message Date
Mats Palmgren
24bda5455f Bug 686581 - Implement -moz-is-resource-document media query. r=roc 2011-09-24 10:28:54 +02:00
Michael Wu
8b5c8e5ecf Bug 688930 - Fix detection of installation location when in /system, r=cjones 2011-09-23 21:54:59 -07:00
Ed Morley
796f4392cd Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-24 04:35:02 +01:00
Rafael Ávila de Espíndola
75712ea3de 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
261cdd7af4 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
9381ac8563 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
8fae097f9c 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
d51a0e15c7 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
b6cc9eef20 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
60fbf8bfa0 Bug 687696 - Use nsRefPtr instead nsCOMPtr. r=mak.
--HG--
extra : rebase_source : 7d8238fc2202e86c23a3426bb076a11dcb11b7a8
2011-09-23 21:29:48 -04:00
Ed Morley
859a495df8 Bug 686170 - Remove modules/zlib/standalone; r=ted 2011-09-24 02:16:45 +01:00
Mats Palmgren
3342b2b5fe Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug 2011-09-24 02:56:38 +02:00
Jesse Ruderman
e5ee3c8933 Test for bug 682463. 2011-09-24 02:56:38 +02:00
Mats Palmgren
a37d34b2f5 Bug 682463 - "ASSERTION: unexpected disconnected nodes" with DOM range, splitText. r=smaug 2011-09-24 02:56:38 +02:00
Benoit Jacob
c772e69be7 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
5dda5020df Bug 683802 - remove trailing ; to fix Maemo bustage. r=bholley 2011-09-23 17:26:19 -07:00
Matt Brubeck
a3f6e40795 Bug 688168 - Make the sync dialog pretty on Honeycomb [r=wesj] 2011-09-23 16:37:26 -07:00
Wes Johnston
71fb624137 Bug 688693 - Tweak the portrait tabs menu. r=mfinkle 2011-09-23 16:02:27 -07:00
Wes Johnston
afcc11b623 Bug 688819 - Add strings for Fennec actionbar in preferences. r=mfinkle 2011-09-23 16:02:25 -07:00
Rob Campbell
ac8b2ab5a7 merge fx-team to m-c 2011-09-23 19:43:05 -03:00
Matt Brubeck
f9441a58d3 Bug 688840 - Switching from portrait to landscape breaks tab sidebar toggling [r=wesj] 2011-09-23 15:18:40 -07:00
Matt Brubeck
ffd738c5f5 Bug 688689 (2/2) - New throbber animation for Fennec [r=mfinkle] 2011-09-23 15:18:40 -07:00
Matt Brubeck
742d3eda81 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
9101c276fb 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
57a26394d3 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
ea5ff9e9aa 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
6c21fbc598 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
cb8d312cbb Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
70a168557e Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
f8a8e56c45 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
3f14d546aa Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
abb188e6bc 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
4080f17de7 Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
66ee33a251 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
bf33201c11 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
bbf230b2ac Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
58b11c6aba 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
21d386041a Bug 684327 - Test parameter passing. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
39bc3d357c 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
42c4f69ab8 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
548f230b0c Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
040aaa6fe3 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
993d2926ce 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
63a7fe6a7a 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
d6f2465ed8 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
7d8a03a8df Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-23 14:50:26 -07:00
Graeme McCutcheon
12e287de72 Bug 46555 - "Select All" should only be enabled when editor is non-empty. r=ehsan, gavin 2011-09-23 22:44:53 +01:00
Jared Wein
b0341fd18f Bug 462117 - Reducing the number of visible controls when the video is too small. r=dolske 2011-09-23 12:43:03 -07:00
Rob Campbell
3cb9a0ee6b Bug 687854 - Move the Inspector code to browser/devtools, r=gavin,robcee
--HG--
rename : browser/devtools/highlighter/inspector.js => browser/devtools/highlighter/inspector.jsm
2011-09-23 15:22:29 -03:00
Rob Campbell
0f29518199 Bug 672002 - Move HTML panel to a docked panel in the main browser window (highlighter); r=msucan, gavin 2011-09-23 13:53:20 -03:00