Граф коммитов

254804 Коммитов

Автор SHA1 Сообщение Дата
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
Rob Campbell 556adcb1cc Bug 650794 - Disable HTML panel and make it use registerTools API; r=msucan, gavin
--HG--
rename : browser/devtools/highlighter/insideOutBox.js => browser/devtools/highlighter/InsideOutBox.jsm
2011-09-23 13:51:51 -03:00
Rob Campbell f71a2c994d Bug 663831 - Style inspector should be controllable from the highlighter; r=msucan,gavin 2011-09-23 13:50:33 -03:00
Rob Campbell a264d1b4d4 Bug 681653 - Augment RegisterTools API in Highlighter to deregister tools; r=msucan,gavin 2011-09-23 13:48:13 -03:00
Rob Campbell 6c3abd418f Bug 688595 - Hide Inspect Element context menu items if not enabled; r=gavin 2011-09-23 13:43:37 -03:00
Rob Campbell 4c0ab0af9b Bug 688558 - Context Menu for Inspect Element can Create 2 Highlighters; r=gavin 2011-09-23 13:37:49 -03:00
Luke Wagner 470b7a0d7d Bug 688769 - rm resource.h and t/ from js/src (r=dmandelin)
--HG--
extra : rebase_source : ac5bb528ab1c25c649cab1e6c5c63f778e2594eb
2011-09-23 09:07:33 -07:00
Luke Wagner ec082374f7 Bug 688769 - Remove dead args from StackFrame::functionEpilogue (r=bhackett)
--HG--
extra : rebase_source : ebb55d46c774a4e1dad6eacf59d55e5da496948c
2011-09-23 08:59:19 -07:00
Ehsan Akhgari 32f203bf83 Bug 686032 - Test for bug 622088 conceals its location after it's done; r=ted,jlebar 2011-09-23 16:30:07 -04:00