Andrea Marchesini
b47ee21ee3
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Birunthan Mohanathas
cd8a3aed74
Bug 1217307 - Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02:00
Bevis Tseng
3cd11275ae
Bug 859764 - Part 1.1: Turn IDL Implementation into Internal-Only Interface. r=echen, r=smaug
2015-10-19 19:46:08 +08:00
Jan de Mooij
8f0c056d43
Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz
2015-11-06 19:03:52 +01:00
Nathan Froyd
e4e2da55c9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Kit Cambridge
73781ef7b1
Bug 1209361 - Add missing includes to dom/base
. r=mccr8
2015-09-28 21:31:56 -07:00
Jan de Mooij
38d21aa34b
Bug 1184564 part 2 - Use Value instead of jsval in dom/ and storage/. r=bz
2015-07-18 21:45:35 +02:00
Andrew McCreight
0179705703
Bug 958778 - De-holder nsIXPConnect::GetWrappedNativePrototype(). r=gabor
2015-07-01 11:17:17 -07:00
Terrence Cole
d92b5a57ef
Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink
2015-06-30 07:58:31 -07:00
Jan de Mooij
708e28e6b7
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Jason Orendorff
c686caa971
Bug 1140482 - Add JSPROP_RESOLVING. Give NativeDefineProperty standard behavior in cases where a non-resolving define needs to trigger a resolve hook. r=Waldo.
2015-05-01 14:03:17 -05:00
Bill McCloskey
2b06432939
Bug 1162838
- Allow sending initial process data to content processes (r=smaug)
2015-05-11 17:19:16 -07:00
Andrew McCreight
c979f253c0
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Kevin Wern
7c8f926903
Bug 1148694 patch 2 - Remove interface and implementation of CSSCharsetRule. r=dbaron
2015-04-21 00:08:36 -07:00
Bob Owen
87b4d10d29
Bug 1157760: Remove incorrect MOZ_ASSERT in nsMessageManagerSH<Super>::Enumerate. r=bz
2015-04-24 08:25:19 +01:00
Mike Hommey
ee117642af
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Tom Schuster
b41e81399c
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Andrew McCreight
db3e30ab59
Bug 1147572 - Remove implementation language field from DOM class info. r=jst
2015-03-30 10:45:39 -07:00
Andrew McCreight
612d6b4090
Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku
2015-03-30 10:45:39 -07:00
Andrew McCreight
210c51b7d3
Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley
2015-03-29 07:52:54 -07:00
Phil Ringnalda
89ffc1e288
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
ae23f6d40f
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Ehsan Akhgari
5cccea6f0f
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
f5b8026532
Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo
2015-03-09 12:49:50 -04:00
Jason Orendorff
ea302a9012
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.
2015-01-30 11:37:07 -06:00
Boris Zbarsky
ce73369f1b
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
0106771e5b
Bug 1133594 - Add support for message manager process scripts (r=smaug)
2015-02-19 17:13:02 -08:00
Boris Zbarsky
153aaeb24f
Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
e6eeefebe0
Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
4ae9622dc7
Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
c866cfacd2
Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv
2015-02-13 14:34:54 -05:00
Wes Kocher
c02ec53f21
Backed out changeset 6d9547a55557 (bug 1132184)
2015-02-13 13:25:36 -08:00
Wes Kocher
8b8a114e9e
Backed out changeset e5479c58d966 (bug 1132187)
2015-02-13 13:25:35 -08:00
Wes Kocher
54cdc768e9
Backed out changeset 70b09a891a37 (bug 1132187)
2015-02-13 13:25:33 -08:00
Wes Kocher
2ab517f73f
Backed out changeset 9017975d0201 (bug 1132187)
2015-02-13 13:25:32 -08:00
Tom Schuster
9e527ebd7f
Bug 1127475 - Remove unnecessary parent arguments. r=bz
2015-02-13 12:20:02 +01:00
Boris Zbarsky
99ad1bfec0
Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
5c08f06ceb
Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
edf4f5861a
Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv
2015-02-13 14:34:54 -05:00
Boris Zbarsky
5e179d8ced
Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv
2015-02-13 14:34:54 -05:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ms2ger
4ef715033c
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
fbe3e5a22d
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
b46f54756b
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
0afcf48b3b
Bug 1127443 - Remove JS_NewObject proto argument.
2015-01-31 16:18:51 +01:00
Tom Schuster
55082c80f4
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Tom Schuster
2c5156e1a9
Bug 1094176 - Remove lookup API from browser. r=bholley
2014-12-17 00:28:39 +01:00
Tom Schuster
3607ae7820
Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley
2014-12-11 19:31:10 +01:00