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

297477 Коммитов

Автор SHA1 Сообщение Дата
Sunny 24059ed95b Bug 828347 - Warn if session restore is initialized with deprecated synchronous initialization. r=dteller 2013-01-29 10:50:04 -05:00
Yura Zenevich 0a3fe23198 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add a File.GET_DEBUG method used for testing. r=dteller 2013-01-29 10:50:04 -05:00
Nils Maier 6edae96580 Bug 761552 - Part 2: Avoid external JS strings in XPCConvert. r=bholley
XPCConvert needs to convert some string types to JS strings in order to call
from C++ into JS land. Make those converted JS strings allocate the buffers
from the JS compartment memory pool, instead of making them external and
allocated from the main heap.
This improves memory reporting and may also influence memory fragmentation
and/or performance.
2013-01-29 10:50:04 -05:00
Nils Maier f469f05bf8 Bug 761552 - Part 1: Provide UTF8ToUnicode functions accepting a buffer. r=jlebar
UTF8ToUnicode does not let the caller specify the buffer to use, but allocates
the buffer on it's own. Hence the caller cannot choose which allocator to use.
Rectify this by providing new APIs.

1. Split UTF8ToNewUnicode into:
   - CalcUTF8ToUnicodeLength
   - UTF8ToUnicodeBuffer
2. Rebuild UTF8ToNewUnicode using the new functions
2013-01-29 10:50:04 -05:00
Ryan VanderMeulen d47f9bc40a Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Hannes Verschore 7784ac141a Bug 835178: IonMonkey: Enable inlining of functions containing JSOP_SETARG, r=nbp 2013-01-29 16:26:11 +01:00
Boris Zbarsky 89d6e1d425 Fix comment. Followup for bug 834877. DONTBUILD 2013-01-29 10:31:34 -05:00
Boris Zbarsky fe9008ab9f Bug 829252 followup. Now that WindowRoot has a wrapper cache, we need to be able to deal with ConstructSlimWrapper on things that have no classinfo. r=peterv pending, but landing on CLOSED TREE now to fix orange. 2013-01-29 10:18:05 -05:00
Boris Zbarsky cd2b7365cf Bug 834877 part 5. Add an overload of GetAttribute that takes a DOMString. r=peterv 2013-01-29 09:42:15 -05:00
Boris Zbarsky 4c46810e1f Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky d4225d434c Bug 834877 part 3. Add faster DOMString-to-JS conversion code. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky c2a3b9aca3 Bug 834877 part 2. Start using DOMString as the return value for strings. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky d423706bfc Bug 834877 part 1. Add a DOMString struct to use for binding return values. r=peterv 2013-01-29 09:42:14 -05:00
Ryan VanderMeulen 69a47a12a9 Merge the last PGO-green inbound changeset to m-c. 2013-01-29 09:36:20 -05:00
Paolo Amadini a0796820ec Bug 831708 - Add basic download states and progress. r=enn 2013-01-29 15:24:22 +01:00
Paolo Amadini b16579ba8b Bug 825591 - Skeleton of asynchronous JavaScript API for downloads. r=enn,mak 2013-01-29 15:24:17 +01:00
Brian Hackett 18fd76c0a1 Bug 835496 - Don't try to fix the types for object initializers with dense elements, r=jandem. 2013-01-29 07:03:38 -07:00
Boris Zbarsky d2613fc2a0 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky fe29b143cd Bug 829252 part 3. When wrapping things with an nsISupports in XPCWrappedJS for WebIDL callback interfaces, use the aggregated version. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky 27b4736d69 Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky 94a48e89d4 Bug 829252 part 1. Change nsGlobalWindow to use nsIDOMEventTarget as the canonical isupports instead of nsIScriptGlobalObject. We'll need this to be able to cast to it properly in binding code. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky f16c3128f4 Bug 829072 part 3. Move the event handlers that are shared by HTMLBodyElement, HTMLFramesetElement, and Window onto a WindowEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky 527c8d1698 Bug 829072 part 2. Move the event handlers that are shared by HTMLElement and Document onto a NodeEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky d1840b512d Bug 829072 part 1. Move the event handlers that are shared by HTMLElement, Document, and Window onto a GlobalEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky e5d317697d Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley 2013-01-29 08:44:00 -05:00
Edwin Casasola 1a31b73a52 Bug 835171 - get rid of remaining traces of nsPIDOMEventTarget; r=smaug 2013-01-29 11:46:07 +01:00
Jacek Caban 7af4c0b96d Bug 835422 - Check for NULL targetView in DispatchSynthMouseMove r=roc 2013-01-29 11:45:46 +01:00
Olli Pettay 33258062d0 Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Eric Chou da5d0e42c1 Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-29 18:37:51 +08:00
Eric Chou 5cefb04c1c Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-29 18:37:51 +08:00
Eric Chou e262621b2e Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-29 18:37:51 +08:00
Robert O'Callahan 4b6c8d2400 Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
Gian-Carlo Pascutto 9582bebc35 Bug 834395 - Disable INET6 everywhere in Android SCTP. r=jesup 2013-01-29 10:28:14 +01:00
Gian-Carlo Pascutto d9c801e1ea Bug 835343 - Correctly free the linked list in freeifaddrs. r=jesup 2013-01-29 10:21:28 +01:00
Boris Zbarsky c6638a677b Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Andrea Marchesini a2f2f91dda Bug 835612 - Fix nsVolumeService to use strings better, r=jlebar 2013-01-29 14:27:46 +01:00
Robert O'Callahan 113ac8f1a1 Bug 832788. Part 4: PrimitiveConversions should avoid implicit narrowing casts to avoid compiler warnings; make them explicit. r=bzbarsky
--HG--
extra : rebase_source : 276f7834714ded347bd9d368258bc049f24787c4
2013-01-29 16:14:40 +13:00
Robert O'Callahan 030c7cbf38 Bug 832788. Part 3: AudioListener DopplerFactor/SpeedOfSound should take float per WebIDL. r=ehsan
--HG--
extra : rebase_source : d435b1678b09075cecf75e8da64364ec62964d00
2013-01-29 14:40:59 +13:00
Robert O'Callahan cb6d196d28 Bug 832788. Part 2: AudioEventTimeline::IsValid needs to accept double. r=ehsan
--HG--
extra : rebase_source : 74c278d121419448b264ec3be4b8717bd99e15d1
2013-01-29 14:40:26 +13:00
Robert O'Callahan 869a63000b Bug 832788. Part 1: Make double->float conversions explicit in CanvasRenderingContext2D.cpp. r=jrmuizel
--HG--
extra : rebase_source : 626dc74eae93bb6a0d9bbb69db9440f251150169
2013-01-29 14:39:47 +13:00
Robert O'Callahan 880b2eeee8 Bug 833542. Make scrollWidth/scrollHeight for overflow:visible match what they would be for overflow:hidden on the same element. r=mats
--HG--
extra : rebase_source : 42d1018cf48caf1eec4bc9251ec1cb3eee30001b
2013-01-29 14:38:22 +13:00
Mike Hommey 17103848ed Backout changeset bc2bbe9836c7 (bug 834769) for bustage. 2013-01-29 09:49:16 +01:00
David Zbarsky 85d1fd3baf Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz 2013-01-29 03:50:57 -05:00
David Zbarsky eb9afe3706 Bug 835195: Remove nsIDOMSVGTests r=bz 2013-01-29 03:50:56 -05:00
David Zbarsky 3a688314ce Bug 832154: Convert SVGMarkerElement to WebIDL r=bz 2013-01-29 03:50:56 -05:00
David Zbarsky 1085318980 Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 03:50:56 -05:00
David Zbarsky 451d353bdc Bug 831561 - SVGClipPathElement should inherit from SVGElement r=longsonr 2013-01-29 03:50:56 -05:00
Mike Hommey 7484d00f37 Bug 835164 - Unbreak Seamonkey and Xulrunner mac universal builds after bug 834228. r=ted 2013-01-29 09:35:53 +01:00
Mike Hommey 9446203c4a Bug 834459 - Specialize RefCounted template for LibHandle to better allow refcounting during destructor execution. r=nfroyd 2013-01-29 09:35:32 +01:00
Mike Hommey 19f90e4909 Bug 834769 - Change the "destroyed" state value for RefCounted. r=Waldo 2013-01-29 09:35:16 +01:00