Boris Zbarsky
00e03faa6d
Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv
2012-09-05 13:37:28 -04:00
Mike Habicher
6ae700c29b
Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
...
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00
Brendan Dahl
c8fe46d4c6
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Yoshi Huang
ddd3985dc2
Bug 744714 - Part 4 : DOMEvent. r=smaug
2012-06-11 19:28:16 +08:00
Yoshi Huang
fa67b6d687
Bug 744714 - Part 2: MozIccManager. r=smaug
2012-06-28 16:21:48 +02:00
Yoshi Huang
f96327248c
Bug 785942 - Part 2: Update Impl. r=smaug
2012-08-27 14:34:10 -03:00
Olli Pettay
2b0940bb2d
Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv
2012-08-28 18:25:19 +03:00
Philipp von Weitershausen
d158b5747c
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Gabor Krizsanits
c1beee85b1
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Andrew McCreight
fe0f72dfe5
Bug 765527. r=mrbkap
2012-08-25 14:56:45 -07:00
Kyle Huey
8443a7a8f1
Bug 783162: Make mapped attributes hold the image alive. r=bz
...
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary. This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff. Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive. Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request. The result is that all the references to the request are dropped and the frame is never told it has a background.
The solution is to keep the nsCSSValue::Image alive longer. This patch adds two new types of nsAttrValue. The first is an nsCSSValue::URL. A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL. The second is an nsCSSValue::Image. nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load. The result is that image loads are only started when the element is actually visible. This also mirrors the way background-image works. This also allows us to fix two longstanding bugs in this code. Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document. Now we can grab the principal of the node in ParseBackgroundAttribute. MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.
nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value. nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared. Moving the classes to a namespace solves the problem.
Finally some old inoperative quirks mode code was removed. This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Luke Wagner
ad90af9ca5
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Peter Van der Beken
ee9eae3141
Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
...
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Eric Chou
c713f87fb5
Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot
2012-08-22 18:37:08 +08:00
Gina Yeh
6ba33be90b
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
Olli Pettay
711151788a
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Eric Chou
1353638291
Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
...
---
dom/base/nsDOMClassInfo.cpp | 9 +++
dom/base/nsDOMClassInfoClasses.h | 1 +
dom/bluetooth/BluetoothPairingEvent.cpp | 78 +++++++++++++++++++++++++
dom/bluetooth/BluetoothPairingEvent.h | 70 ++++++++++++++++++++++
dom/bluetooth/Makefile.in | 2 +
dom/bluetooth/nsIDOMBluetoothPairingEvent.idl | 15 +++++
6 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Alexander Boldyrev
51cb65d942
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Phil Ringnalda
9fa8d2547b
Bug 782167 - Downgrade MOZ_ASSERT(win->IsClosedOrClosing()) to an NS_ASSERTION until it stops happening so often, r=khuey
...
--HG--
extra : rebase_source : 774096aa4cfa058d1aa1a32596ae65e464e1baf9
2012-08-12 20:52:21 -07:00
David Keeler
265553458e
Bug 741130 - Attach XBL bindings for html:objects in nsElementSH::PostCreate. r=bz, r=jwein
2012-08-10 09:19:24 -07:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Ms2ger
0ec3bd25cf
Backout changeset c77acb256aec for failing to work.
2012-08-11 18:12:54 +02:00
Doug Turner
b0523754d9
Bug 777088 - device Storage - file stat API. r=bent
2012-07-31 12:28:23 -07:00
Ms2ger
243160b7d0
Bug 781058 - Part c: Fix -Werror=int-to-pointer-cast in nsDOMClassInfo; r=mounir
2012-08-09 09:20:29 +02:00
Ms2ger
a8e2a83aaf
Bug 780146 - Part e: Move all standard classes resolution code into the !ObjectIsNativeWrapper() branch; r=jst
2012-08-09 09:19:53 +02:00
Ms2ger
4b7a38938e
Bug 780146 - Part c: Don't define constructors by contract ID; r=jst
2012-08-09 09:19:48 +02:00
Ms2ger
9875b35b00
Bug 780146 - Part b: Inline nsDOMClassInfo::RegisterClassName; r=jst
2012-08-09 09:19:42 +02:00
Ms2ger
04e6619be6
Bug 780146 - Part a: Move window._content into IDL; r=jst
2012-08-09 09:16:09 +02:00
Ms2ger
b4f56e1131
Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz
2012-08-09 09:10:21 +02:00
Anant Narayanan
f18740e3c5
Bug 779626: Javascript-global-constructor objects should be passed a window reference; r=mrbkap
2012-08-03 08:35:00 -07:00
Boris Zbarsky
faa7bcc004
Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron
2012-08-05 22:16:30 -04:00
Boris Zbarsky
c4ec20c33e
Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron
2012-08-05 22:14:52 -04:00
Ms2ger
b23a9d3dda
Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
cc95f71b5c
Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug
2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Doug Turner
990ea4cf4e
Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug
2012-08-02 13:25:16 -07:00
Wes Johnston
3dc27a7f5b
Bug 777706 - Backout new dom bindings for touchlists. r=smaug
2012-08-02 10:41:42 -07:00
Doug Turner
0cc5c1e0ee
Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey
2012-08-01 23:29:34 -07:00
Eric Faust
b0323e13a7
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
Cameron McCormack
1528758ac5
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
Olli Pettay
99f05d8922
Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer
2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe
Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
...
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Kyle Machulis
564a0e174b
Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap
2012-07-31 21:49:59 -07:00