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

282447 Коммитов

Автор SHA1 Сообщение Дата
Oleg Romashin 7abe453e31 Bug 683085 - NativeParentWidget used incorrectly in Widget Qt port r=dougt 2011-09-25 21:03:22 +02:00
Atul Aggarwal 0fffdb68c1 Bug 581477 - Silence uninitialized variable warnings in xpcwrappednativeproto.cpp; r=bsmedberg 2011-09-01 01:56:33 +05:30
Rafael Ávila de Espíndola 155af234f2 Bug 670951 - Make sure the xulrunner is copied. r=ted.
The Makefile responsible for building xulrunner now also puts it in the
framework directory. It may or may not be overwritten by rsync, but it will be
there in the end.
2011-09-25 13:48:50 -04:00
Fabrice Desré 18a654eef0 Bug 679194 - Add a permission prompt for mozApps.mgmt.list and mozApps.mgmt.uninstall [r=mfinkle] 2011-08-15 18:56:42 -07:00
Fabrice Desré 60aa9e7ed3 Bug 609043 - Add support for Open Web Apps [r=mfinkle] 2011-08-15 12:16:50 -07:00
Ed Morley 93d5d0ad3c Bug 684327 - toolkit-makefiles.sh adjustments for js/src/xpconnect/tests/components/ changes; rs=build 2011-09-25 16:15:30 +01:00
Bobby Holley 03eb08f15c 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-25 15:38:02 +01:00
Bobby Holley 91b1f49bf0 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-25 15:38:01 +01:00
Bobby Holley 14905a66ce 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-25 15:38:01 +01:00
Bobby Holley 53fd28c3c3 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-25 15:38:01 +01:00
Bobby Holley 9ab69c69d5 Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 83fd2541da Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 2bea3d72b4 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 5dcce822fa Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley 05a9cbdd8f Bug 683802 - Always store jsvals directly within the val union (fixes bug 655878). r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley adae79032b Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley ec75e244df Bug 683802 - Separate reindentation from previous patch for easier review. No other changes. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley bf0e80ff18 Bug 683802 - Move the loop contents of ConvertIndependentParams into a separate method (without re-indentation). r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley a26a8a11db Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley 2b19502c9a Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey 2011-09-25 15:38:00 +01:00
Bobby Holley d76fc92ebb Bug 684327 - Test parameter passing. r=khuey 2011-09-25 15:38:00 +01:00
Bobby Holley 94b08f6091 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-25 15:38:00 +01:00
Bobby Holley 43cbbfe0d0 Bug 684327 - Add an xpcshell test that exercises both the native and js components. r=khuey 2011-09-25 15:37:59 +01:00
Bobby Holley c16ad4c1b4 Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-25 15:37:59 +01:00
Bobby Holley a77bc8d38e 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-25 15:37:59 +01:00
Bobby Holley f50857492a 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-25 15:37:59 +01:00
Bobby Holley e023069436 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-25 15:37:59 +01:00
Bobby Holley d4cc73cab5 Bug 684327 - Remove TestXPC.cpp, which currently printfs that it's failing various things and then segfaults. r=khuey 2011-09-25 15:37:58 +01:00
Mook b9d9d6acb4 Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-25 15:37:58 +01:00
Ed Morley 196641f57e Merge tips of mozilla-central and mozilla-inbound 2011-09-25 13:58:53 +01:00
Martin Stransky 97172e2567 Bug 627699 - Port GTK2 to GTK3: Build fix for startup notification. r=karlt 2011-09-25 01:01:35 +01:00
Brian Hackett bb84970ecf Sync state on all exit paths in CALLPROP PICs when allowing getter stubs, bug 688478. r=dvander 2011-09-24 14:15:38 -07:00
Benoit Jacob f6669a003b Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Neil Rashbrook 2e8682aafc Bug 684825 Fix for ASSERTION: QueryInterface needed r=jmuizelaar 2011-09-24 18:20:12 +01:00
Neil Rashbrook d6c7bf81d4 Bug 685457 Don't set attributes until after accessing the box object r=bienvenu
NPTODB DONTBUILD
2011-09-24 18:15:47 +01:00
Matt Brubeck 7e5b22c6bd Back out 0ec8974f0917 (bug 686992) because of crashes 2011-09-24 08:51:46 -07:00
Jeff Muizelaar ff52c21b41 Bug 688902. 2d: Document Color as being non-premultiplied. r=bas 2011-09-24 11:51:29 -04:00
Matt Brubeck be53f815f3 Merge last green changeset of mozilla-inbound to mozilla-central 2011-09-24 08:18:28 -07:00
Matt Brubeck 705dbd83e0 Merge mozilla-central to mozilla-inbound 2011-09-24 08:13:45 -07:00
Marco Castelluccio 7801b00e63 Bug 679352 - Remove libreg. r=khuey 2011-09-24 16:28:21 +02:00
Marco Castelluccio 1f7222ed99 Bug 679352 - Remove libreg (Part 1: Clean nsProfileMigrator). r=bsmedberg 2011-09-24 16:25:20 +02:00
Steffen Wilberg 519db1d9ab Bug 678600: Don't add print frames options to Windows print dialog when they would be disabled anyway because there are no frames. r=roc, ui-review=faaborg 2011-09-24 14:05:29 +02:00
Dão Gottwald 7c66b7b82c Bug 684450 - Addressing review comment 2011-09-24 13:04:07 +02:00
Stephen Horlander e16cbd6884 Bug 684450 - Remove stop/go/reload button affordance and streamline other location bar icons. r=dao 2011-09-24 13:03:09 +02:00
Matheus Kerschbaum 137a6fa394 Bug 669829 - Remove check for atlbase.h and oleacc.idl from configure. r=ted 2011-09-24 12:53:07 +02:00
Gian-Carlo Pascutto ffc1017d47 Bug 688692 - Fennec is not sending crash reports. r=ted 2011-09-24 11:32:54 +01:00
Dão Gottwald 82f654701e merge backout 2011-09-24 12:27:14 +02:00
Dão Gottwald 41b6ac7def Backed out changeset 7e53a3cf73b5 2011-09-24 12:26:38 +02:00
Dão Gottwald 9fe937c7e4 merge backout 2011-09-24 12:24:30 +02:00
Dão Gottwald efdaf7c1de Backed out changeset ce51db254f18 2011-09-24 12:23:58 +02:00