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

254678 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
Lucas Rocha 68c5e5ec58 Bug 669199 - Remove ability to enable/disable sync from preferences UI (r=mbrubeck) 2011-09-23 13:17:58 -07:00
Matt Brubeck add55ad469 Bug 688783 - Back out bug 641836 to fix keyboard issues until bug 669995 is fixed [r=mfinkle] 2011-09-23 13:16:38 -07:00
Ehsan Akhgari a10dfe1731 Bug 685788 - Test for bug 593174 conceals its location after it's done; r=ted,jlebar 2011-09-23 15:59:22 -04:00
David Bienvenu 6a703368e0 fix bug 687319 spell check dialog for mailnews broken, r=ehsan 2011-09-23 12:51:33 -07:00
Wes Johnston 6b99a745fc Bug 658278 - Use locale picker in preferences UI. r=mfinkle 2011-09-23 11:27:28 -07:00
Alex Pakhotin e1ce2dc8cf Bug 672661 - Backspace key in Swiftkey X causes characters to be duplicated. r=blassey
--HG--
extra : rebase_source : 73e791d969f70e4815527e19588665ca1bfbb700
2011-09-16 15:54:12 -07:00
Matt Brubeck cb9341623b Bug 688800 - Don't show curvy tab button and sidebar at the same time while dragging [r=mfinkle] 2011-09-23 11:07:58 -07:00