Commit Graph

15 Commits

Author SHA1 Message Date
Andrea Marchesini
324ef4c39f Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
Ehsan Akhgari
ea41d8de48 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
ea881b3a53 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Peter Van der Beken
a3f5de9681 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz. 2015-01-08 22:56:42 +01:00
Peter Van der Beken
7dea8f776c Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
* * *
[mq]: owned_fold.patch
2014-11-01 15:00:28 +01:00
Peter Van der Beken
202886832b Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz. 2014-06-27 21:39:50 +02:00
Peter Van der Beken
266f6192f9 Bug 1029104 - Convert XPathExpression to WebIDL bindings, make XPathExpression hold a weak reference to the document. r=bz. 2014-06-26 15:32:20 +02:00
Peter Van der Beken
ba705f9098 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz. 2013-07-09 12:09:39 -04:00
Peter Van der Beken
a7ca9fe8f8 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz. 2013-07-04 17:40:10 +02:00
Peter Van der Beken
ef24a69bf2 Backout patches for bug 1029104 for bustage on a CLOSED TREE. 2014-06-27 23:07:44 +02:00
Peter Van der Beken
c9fc0c19b8 Fix bustage from bad merge of patches for bug 1029104. r=bustage. 2014-06-27 22:22:51 +02:00
Peter Van der Beken
91c60b6ef5 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz. 2014-06-27 21:39:50 +02:00
Peter Van der Beken
735a1c83ed Bug 1029104 - Convert XPathExpression to WebIDL bindings, make XPathExpression hold a weak reference to the document. r=bz. 2014-06-26 15:32:20 +02:00
Peter Van der Beken
a99622acb4 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz. 2013-07-09 12:09:39 -04:00
Peter Van der Beken
b5426a2960 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz. 2013-07-04 17:40:10 +02:00