Commit Graph

77466 Commits

Author SHA1 Message Date
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
Graeme McCutcheon
6171ee4207 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
02bd2d3ffc 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
f480983ed4 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
b7fef28495 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
f836f6ba33 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
0cbd87c4df Bug 663831 - Style inspector should be controllable from the highlighter; r=msucan,gavin 2011-09-23 13:50:33 -03:00
Rob Campbell
a9bb69f812 Bug 681653 - Augment RegisterTools API in Highlighter to deregister tools; r=msucan,gavin 2011-09-23 13:48:13 -03:00
Rob Campbell
714e893ca1 Bug 688595 - Hide Inspect Element context menu items if not enabled; r=gavin 2011-09-23 13:43:37 -03:00
Rob Campbell
5c50e245fa Bug 688558 - Context Menu for Inspect Element can Create 2 Highlighters; r=gavin 2011-09-23 13:37:49 -03:00
Luke Wagner
97b8d5795c 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
f4a84db75a 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
bf9853332c 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
38bed58061 Bug 669199 - Remove ability to enable/disable sync from preferences UI (r=mbrubeck) 2011-09-23 13:17:58 -07:00
Matt Brubeck
fac441e6de 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
35bc55c17b 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
7cb184f35f fix bug 687319 spell check dialog for mailnews broken, r=ehsan 2011-09-23 12:51:33 -07:00
Wes Johnston
99e5d4b541 Bug 658278 - Use locale picker in preferences UI. r=mfinkle 2011-09-23 11:27:28 -07:00
Ted Mielczarek
3618ad5119 merge build-system to mozilla-central 2011-09-23 08:40:48 -04:00
Ed Morley
9f06de2627 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-23 12:15:28 +01:00