Commit Graph

1674 Commits

Author SHA1 Message Date
Phil Ringnalda
70731646e2 Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster
8a5dbf7c06 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
5d69db0b28 Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo 2015-03-09 12:49:50 -04:00
Jason Orendorff
de9e3b99dc Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.

--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Boris Zbarsky
695383a67d Bug 1139964 part 2. Add classinfo helpers for the various message manager stuff to install WebIDL Exposed=System things on those globals. r=smaug 2015-03-06 01:08:06 -05:00
Bill McCloskey
989fdd3474 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Boris Zbarsky
aa57107ef2 Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
0605bcb783 Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
ebbad0e9f4 Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
580807c19b Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv 2015-02-13 14:34:54 -05:00
Wes Kocher
cb7d8da562 Backed out changeset 6d9547a55557 (bug 1132184) 2015-02-13 13:25:36 -08:00
Wes Kocher
84682654cd Backed out changeset e5479c58d966 (bug 1132187) 2015-02-13 13:25:35 -08:00
Wes Kocher
cd6057f164 Backed out changeset 70b09a891a37 (bug 1132187) 2015-02-13 13:25:33 -08:00
Wes Kocher
4e40a28a6e Backed out changeset 9017975d0201 (bug 1132187) 2015-02-13 13:25:32 -08:00
Tom Schuster
045b47ab00 Bug 1127475 - Remove unnecessary parent arguments. r=bz 2015-02-13 12:20:02 +01:00
Boris Zbarsky
a352d5c69e Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
26bee4f820 Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
1c8e7c2015 Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
6a08acbbd1 Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv 2015-02-13 14:34:54 -05:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ms2ger
51658556ad Bug 1125901 - Part c: Use a MutableHandle rather than an nsIXPConnectJSObjectHolder to return the JSObject from GetXPCProto; r=jst
nsIXPConnectJSObjectHolder is a relic from times long past. It is now safe to
return a JSObject through an outparam, and the JSObject is all the callers
need.
2015-02-04 09:41:00 +01:00
Ms2ger
2f9bd0f10e Bug 1125901 - Part b: Stop reusing the aProto outparam in GetXPCProto; r=jst
This is pretty poor behaviour in any case, and it blocks the removal of the
outparam in my next patch.
2015-02-04 09:40:59 +01:00
Ms2ger
342cb4e598 Bug 1125901 - Part a: Remove WrapNative functions in nsDOMClassInfo; r=jst
They are equivalent to the WrapNative functions on nsContentUtils.
2015-02-04 09:40:59 +01:00
Tom Schuster
f605ba3799 Bug 1127443 - Remove JS_NewObject proto argument. 2015-01-31 16:18:51 +01:00
Tom Schuster
66ad9a2e49 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Tom Schuster
8960d9ef9f Bug 1094176 - Remove lookup API from browser. r=bholley 2014-12-17 00:28:39 +01:00
Tom Schuster
9dfe5c2fd4 Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley 2014-12-11 19:31:10 +01:00
Jason Orendorff
92f1bf16c5 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Jason Orendorff
acdfa74202 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
David Zbarsky
856e7191b0 Bug 1089811 - remove nsIDOMGlobalObjectConstructor because it is dead code r=bz 2014-11-19 02:48:22 -05:00
Tom Schuster
9ffe3e11d4 Bug 993026 - Fix rooting. no-r 2014-11-08 01:15:52 +01:00
Tom Schuster
8a051a23e7 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Tom Schuster
bc28949aec Bug 993026 - Change XPIDLScriptable NewResolve to simpler Resolve. r=bholley 2014-11-08 01:07:12 +01:00
Trevor Saunders
46fb464c21 no bug fix nullptr to bool conversion in nsDOMClassinfo.cpp r=themaid
--HG--
extra : rebase_source : c2e8e1bcf743106ef450ee4780eaca9da4ee09c6
2014-11-04 14:16:56 -05:00
Boris Zbarsky
3ab8b7383a Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo 2014-10-29 15:06:32 -04:00
Boris Zbarsky
6ee4ab8789 Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo 2014-10-29 15:06:31 -04:00
Peter Van der Beken
1dfb12501b Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathNSResolver. r=bz.
--HG--
extra : rebase_source : ea2b29ebafb830717bedee2ce80f46c92b270804
2014-10-14 16:27:25 +02:00
Boris Zbarsky
170752efc2 Bug 1019191 part 14. Remove the now-unused HasBitInInterfacesBitmap and all the interfaces bitmap machinery that ends up unused as a result. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
377effd23d Bug 1019191 part 5. Remove the one remaining quickstub we have and all quickstub codegen. r=peterv 2014-10-22 11:40:47 -04:00
Tom Schuster
4fb3d9c690 Bug 842498 - Remove nsIJSNativeInitializer. r=peterv 2014-10-21 20:45:28 +02:00
Tom Schuster
a3ee1b5004 Bug 1081692 - Move TreeColumn to WebIDL. r=khuey
--HG--
rename : layout/xul/tree/nsITreeColumns.idl => dom/webidl/TreeColumn.webidl
2014-10-17 11:13:41 +02:00
Andrea Marchesini
a464d911e0 Bug 1080503 - FindConstructorFunc is not needed, r=bz 2014-10-15 11:57:35 +01:00
Jon Morton
1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Tom Schuster
ced1cd1fbd Bug 844457 - Move XSLTProcessor to WebIDL. r=peterv
--HG--
rename : dom/xslt/nsIXSLTProcessor.idl => dom/webidl/XSLTProcessor.webidl
rename : dom/xslt/xml/txXMLUtils.cpp => dom/xslt/base/txExpandedName.cpp
rename : dom/xslt/xml/txXMLUtils.h => dom/xslt/base/txExpandedName.h
2014-10-10 14:21:54 +02:00
Ryan VanderMeulen
2e4734fdf0 Backed out changeset 012853bd80b7 (bug 844457) for likely being the real cause of the mochitest-dt failures.
CLOSED TREE
2014-10-09 13:39:14 -04:00
Tom Schuster
ffe3f3710e Bug 844457 - Move XSLTProcessor to WebIDL. r=peterv
--HG--
rename : dom/xslt/nsIXSLTProcessor.idl => dom/webidl/XSLTProcessor.webidl
rename : dom/xslt/xml/txXMLUtils.cpp => dom/xslt/base/txExpandedName.cpp
rename : dom/xslt/xml/txXMLUtils.h => dom/xslt/base/txExpandedName.h
2014-10-09 17:25:43 +02:00
Andrea Marchesini
5ee327d0bc Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-08 17:15:23 +01:00