Commit Graph

303 Commits

Author SHA1 Message Date
Tom Schuster
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Boris Zbarsky
fc8f65ba99 Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv 2013-12-09 10:34:04 -05:00
Ms2ger
1cc6b62713 Bug 921718 - Part b: Move MediaList to WebIDL; r=bz 2013-11-11 09:03:17 +01:00
Peter Van der Beken
6a145a3bfd Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Ryan VanderMeulen
c9cb6d04fe Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
395356226a Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Ms2ger
3854052a03 Bug 923250 - Remove nsHistorySH declaration; r=jst 2013-10-03 09:11:27 +02:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ehsan Akhgari
354328adc4 Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley 2013-09-09 22:37:37 +02:00
Nicholas Nethercote
219bcb46a2 Bug 909178 (part 1) - Move |jsid| from jsapi.h into js/Id.h. r=luke.
--HG--
extra : rebase_source : b0d38093a9f40a532e73c2c30ae86b8970b814ac
2013-08-21 22:26:56 -07:00
Nicholas Nethercote
2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
99058b577c Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Peter Van der Beken
ac70c03afa Bug 895758. Make the global scope polluter a proxy. r=bzbarsky 2013-07-09 10:45:13 -04:00
Masatoshi Kimura
1ed4d04a8a Bug 899388 - Part 2: Implement allowXBL option for xpc bindings. r=bz 2013-08-09 23:35:53 +09:00
Nicholas Nethercote
d8f824e34e Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
9624be5713 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Ms2ger
8e82086f03 Bug 892493 - Remove nsNamedArraySH; r=peterv 2013-07-24 09:27:42 +02:00
Boris Zbarsky
3a7b4a0d28 Bug 893004 part 1. Remove Navigator classinfo. r=smaug 2013-07-17 23:23:51 -04:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
718cd2eefc Bug 888366 - Part c: Remove unused jsids from classinfo; r=peterv 2013-07-10 11:55:24 +02:00
Ms2ger
aa4f7dc3e3 Bug 888366 - Part b: Remove unused JSPropertyOps from classinfo; r=peterv 2013-07-10 11:55:21 +02:00
Peter Van der Beken
343818a218 Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Masatoshi Kimura
133cedaf8b Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Johnny Stenback
fb568a43de Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org. 2013-07-09 06:58:21 -07:00
Boris Zbarsky
e5a1a7564c Bug 883892. Remove HTMLFormElement classinfo. r=peterv 2013-06-26 10:59:45 -04:00
Jon Coppeard
ef8bb39711 Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Olli Pettay
62b1a05430 Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Andrea Marchesini
3e4e0d931a Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jon Coppeard
b4a1d2128a Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz 2013-06-19 11:32:27 +01:00
Ms2ger
88ca948d77 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
09bb5c9224 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Arnaud Sourioux
8ebb1ca3e6 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Ms2ger
4b6bac58fd Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir 2013-06-01 08:53:44 +02:00
Ms2ger
23f0aea8cc Bug 874084 - Remove dead code that used to support document.all.tags; r=bz 2013-06-01 08:53:12 +02:00
David Zbarsky
680b9b7951 Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
Tom Schuster
79e64357e4 Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley. 2013-05-04 19:25:15 +02:00
David Zbarsky
bf42e48d0e [Bug 868701] Remove classinfo for Attr r=Ms2ger 2013-05-04 03:55:53 -04:00
David Zbarsky
b9c9fc1dee Bug 868312: Root nsDOMClassInfo.cpp, part 2 r=bz 2013-05-04 03:51:53 -04:00
Boris Zbarsky
f551a1cd1b Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug 2013-05-03 19:29:08 -04:00
David Zbarsky
deae6a4519 Bug 868312: Root part of nsDOMClassInfo.cpp r=bz 2013-05-03 14:53:32 -04:00
Terrence Cole
6acd98dd37 Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Ms2ger
184931f9b9 Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
Ms2ger
5efce519b5 Bug 861880 - Move TreeColumns to WebIDL; r=bz 2013-04-21 08:42:26 +02:00
Ms2ger
324337bb0f Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
Jeff Walden
763718651b Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Ms2ger
c8846c452b Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Boris Zbarsky
01d3eba57a Bug 851917. Get rid of the classinfo for HTMLObjectElement, HTMLEmbedElement, HTMLAppletElement, and rip out nsHTMLPluginObjElementSH. r=peterv,johns 2013-04-10 13:49:05 -04:00
Ms2ger
6ab54f03db Bug 854090 - Move nsHTMLFormElementSH::FindNamedItem to nsHTMLFormElement; r=khuey 2013-04-04 09:03:12 +02:00
Peter Van der Beken
5ee0bbf184 Fix for bug 820657 (Implement the NamedGetter functionality on HTMLDocument) - hook up document.all in the HTMLDocument NamedGetter. r=bz.
--HG--
extra : rebase_source : 07e96b798b87bc18b3f63d845c4023a7593d9f6b
2013-03-27 18:15:37 +01:00
Bobby Holley
af706a4f65 Bug 823227 - Stop pref-controlling the GSP. r=mrbkap 2013-03-18 23:06:47 -07:00
Bobby Holley
80de5a1fc3 Bug 823227 - Have the global scope polluter find the document via the global. r=bz 2013-03-18 23:06:44 -07:00
Bobby Holley
dc74a1daab Bug 850517 - Remove nsWindowSH::GetProperty. r=mrbkap
It no longer does anything useful.
2013-03-14 22:38:27 -07:00
Olli Pettay
eaf67cc919 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Boris Zbarsky
281f0e8cd1 Bug 827158 part 5. Refactor some of the nsHTMLPluginObjElementSH code to be able to work with WebIDL objects. r=peterv,johns 2013-03-04 14:08:23 -05:00
Peter Van der Beken
3f112891fb Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Boris Zbarsky
516de3340f Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Ryan VanderMeulen
b30facb288 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Boris Zbarsky
b033377f9c Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
David Dahl
e04136004d Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-16 22:43:16 -06:00
Phil Ringnalda
c71c586441 Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures 2013-02-15 23:33:45 -08:00
David Dahl
a29fc61d9f Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Ms2ger
aa376cde8e Bug 838182 - Part a: Remove nsWindowSH::SecurityCheckOnAddDelProp and nsWindowSH::SecurityCheckOnSetProp; r=mrbkap 2013-02-07 09:08:57 +01:00
David Zbarsky
145ff8ddc1 Remove some unneeded forward declares (no bug) 2012-12-22 23:54:26 -05:00
David Zbarsky
560c469c19 Bug 817442 Part 11: Remove nsIDOMSVG(Animated)LengthList r=bz 2012-12-22 23:54:26 -05:00
David Zbarsky
f88a3e128d Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky
ecea0f9145 Bug 817442 Part 8: Remove nsIDOMSVGTransform r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
ea24b37661 Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky
071334be2f Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt 2012-12-22 23:54:23 -05:00
David Zbarsky
9829ee3081 Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky
27aca98d8e Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt 2012-12-22 23:54:21 -05:00
Jeff Walden
136d40a160 Bug 823283 - Don't do anything special for writable [Replaceable] properties, a Gecko-specific abomination. r=bz 2012-12-19 15:57:18 -05:00
Gavin Sharp
daab774d8a Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
William Chen
de026650c9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent 2012-11-01 11:18:08 -07:00
Olli Pettay
68fe3c1606 Bug 790978 - Convert MutationObserver to webidl, r=bz
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Trevor Saunders
2d1d432957 bug 798567 - convert css values to webidl r=bz 2012-10-01 12:49:41 -04:00
John Schoenick
6e8178b713 Bug 810082 - Part 0.5 - Add script access event for CTP'd plugins r=joshmoz 2012-12-07 14:50:10 -08:00
Boris Zbarsky
d23130821b Bug 817473 part 2. Remove no-longer-needed nsNodeSH::PostCreatePrototype. r=peterv 2012-12-06 15:21:18 -05:00
Ms2ger
28b59cc1af Bug 817276 - Part a: Remove some unused jsids from nsDOMClassInfo; r=jst 2012-12-02 09:59:49 +01:00
Bobby Holley
1824d3f494 Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Boris Zbarsky
30a5c69587 Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv 2012-11-09 07:59:41 -08:00
Boris Zbarsky
1ab893634e Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky
a14a96d2cf Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Jonas Sicking
d508822340 Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent 2012-10-30 07:07:09 +01:00
Bobby Holley
66fe81e49a Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
Benoit Jacob
40e567c53c Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert 2012-10-03 17:13:05 -04:00
Ms2ger
fc5a75281c Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Bill McCloskey
c53e57f4b2 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Ms2ger
451f5737e1 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Makoto Kato
6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Olli Pettay
2b0940bb2d Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +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
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
Ms2ger
9875b35b00 Bug 780146 - Part b: Inline nsDOMClassInfo::RegisterClassName; r=jst 2012-08-09 09:19:42 +02:00
Wes Johnston
3dc27a7f5b Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Bobby Holley
79ab421362 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00