Commit Graph

254785 Commits

Author SHA1 Message Date
Boris Zbarsky
5c403a5a61 Bug 680903 followup. Remove no longer needed FIXME comments. 2011-09-26 00:52:10 -04:00
Atul Aggarwal
22c8c4b273 Bug 666672 - Fix OSX compile warnings in sydneyaudio and vorbis. r=giles 2011-09-01 11:19:22 +05:30
Matthew Gregan
a46c96aeaa Bug 683822 - Delete media/libsydneyaudio patches and update.sh, since this is no longer maintained. r=doublec 2011-09-01 17:56:46 +12:00
Matthew Gregan
c2e6d18800 Bug 688997 - Use correct waveOutProc declaration to avoid pointer truncation on x64. r=cpearce 2011-09-25 13:46:06 +13:00
Brian Birtles
8398e488ba Bug 602759 part 17 - Remove unnecessary BeforeSetAttr overrides; r=jwatt 2011-09-25 22:05:02 +01:00
Brian Birtles
d2271db96e Bug 602759 part 16 - Reftest for detecting presence of transform lists; r=jwatt 2011-09-25 22:04:47 +01:00
Brian Birtles
45dbaa2bf0 Bug 602759 part 15 - Rename nsSVGTransformListParser as SVGTransformListParser; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformListParser.cpp => content/svg/content/src/SVGTransformListParser.cpp
rename : content/svg/content/src/nsSVGTransformListParser.h => content/svg/content/src/SVGTransformListParser.h
2011-09-25 22:04:32 +01:00
Brian Birtles
cfe493e614 Bug 602759 part 14 - Mark tests that now pass as such; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
9058bc1a8c Bug 602759 part 13 - Update layout to use new matrix and transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
33f23d7afc Bug 602759 part 12 - Update DOM bindings to use new SVG transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
0aa10c2fb2 Bug 602759 part 11 - Update nsSVGTransformListParser to use new SVG transform types; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
23a09913b7 Bug 602759 part 10 - Update SVG elements to use new SVG transform types; r=longsonr, r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
2800e76c9c Bug 602759 part 9 - Refactor nsSVGTransformSMILType to use SVGTransformSMILData; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformSMILType.cpp => content/svg/content/src/SVGTransformListSMILType.cpp
rename : content/svg/content/src/nsSVGTransformSMILType.h => content/svg/content/src/SVGTransformListSMILType.h
2011-09-25 22:04:31 +01:00
Brian Birtles
d52dbc204f Bug 602759 part 8 - Move nsSVGSMILTransform to SVGTransform; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
bdc7e4ee3e Bug 602759 part 7 - Refactor nsSVGAnimatedTransformList into SVGAnimatedTransformList and DOMSVGAnimatedTransformList and incorporate nsSVGTransformSMILAttr; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGAnimatedTransformList.cpp => content/svg/content/src/DOMSVGAnimatedTransformList.cpp
rename : content/svg/content/src/nsSVGAnimatedTransformList.h => content/svg/content/src/DOMSVGAnimatedTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
722c1262b1 Bug 602759 part 6 - Refactor nsSVGTransformList into SVGTransformList and DOMSVGTransformList; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformList.cpp => content/svg/content/src/DOMSVGTransformList.cpp
rename : content/svg/content/src/nsSVGTransformList.h => content/svg/content/src/DOMSVGTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
cc0d40be65 Bug 602759 part 5 - Refactor nsSVGTransform into SVGTransform and DOMSVGTransform; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransform.cpp => content/svg/content/src/DOMSVGTransform.cpp
rename : content/svg/content/src/nsSVGTransform.h => content/svg/content/src/DOMSVGTransform.h
2011-09-25 22:04:27 +01:00
Brian Birtles
12e71e95c7 Bug 602759 part 4 - Update DOMSVGPoint to use gfxMatrix; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
dc867fcc84 Bug 602759 part 3 - Rewrite nsSVGMatrix and use gfxMatrix instead; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGMatrix.cpp => content/svg/content/src/DOMSVGMatrix.cpp
rename : content/svg/content/src/nsSVGMatrix.h => content/svg/content/src/DOMSVGMatrix.h
2011-09-25 22:03:26 +01:00
Brian Birtles
036a332544 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
58f1da28a0 Bug 602759 part 1 - Refactor SVG list tests to correct assumptions about SMIL; r=jwatt 2011-09-25 22:03:26 +01:00
Oleg Romashin
e02649a165 Bug 683085 - NativeParentWidget used incorrectly in Widget Qt port r=dougt 2011-09-25 21:03:22 +02:00
Atul Aggarwal
8361541a0b Bug 581477 - Silence uninitialized variable warnings in xpcwrappednativeproto.cpp; r=bsmedberg 2011-09-01 01:56:33 +05:30
Rafael Ávila de Espíndola
43bcb6c84f 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é
df93aff723 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é
6b830db423 Bug 609043 - Add support for Open Web Apps [r=mfinkle] 2011-08-15 12:16:50 -07:00
Ed Morley
2b7f8b2978 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
aa1965160b 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
1d473af0de 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
0ef52222c1 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
d9a517269b 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
3f12803681 Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
85a6b92ebd Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
4764ad32ea Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
05a47898e5 Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
32b99c391c 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
6eb6ef3dba Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
3c6c5e3a02 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
655481c1ac 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
06b0d11298 Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
7d32af0621 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
c2fad28573 Bug 684327 - Test parameter passing. r=khuey 2011-09-25 15:38:00 +01:00
Bobby Holley
82d89ea7b4 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
ef44402842 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
a8f0c05399 Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-25 15:37:59 +01:00
Bobby Holley
9055a80409 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
cb36277b94 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
232e6d4229 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
836ad39fe6 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
f57c44d7ed Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-25 15:37:58 +01:00