Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Boris Zbarsky
0184b4df38
Bug 1282150 part 6. Get rid of GetSafeJSContext. r=bholley
2016-07-07 20:08:26 -04:00
Bill McCloskey
c952246316
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-07-05 13:59:36 -07:00
Phil Ringnalda
ef87dff4e9
Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools
2016-06-30 21:12:11 -07:00
Bill McCloskey
3f712641d1
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-06-30 17:38:54 -07:00
Boris Zbarsky
16f83caaad
Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
9156808526
Bug 1276310 part 2. Get rid of Components.lastResult and the corresponding XPCContext member. r=bholley
2016-06-23 00:22:30 -04:00
Olli Pettay
6371f21e0c
Bug 1279746 - Optimize xpc_TryUnmarkWrappedGrayObject, r=mccr8
2016-06-14 13:14:21 +01:00
Boris Zbarsky
98aa24ddc7
Bug 1275704 part 3. Remove the nsXPConnect::ReportAllJSExceptions mechanism, since it's dead code now. r=bholley
2016-05-26 19:39:03 -04:00
Jeff Walden
80f0832949
Bug 1264896 - Kill off nsIRemoteTagService and do what it does, in its sole caller, in far-faster C++. r=billm
...
--HG--
extra : rebase_source : 4ab4985b1e6731a6caa523d7802a6292454cbc55
2016-04-21 21:51:16 -07:00
Morgan Phillips
9050862722
Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins
...
--HG--
extra : rebase_source : 2c285070e648d42ccdd523c2415c6c6c6ed1a871
extra : amend_source : c6dd5cd109d6a767523dab6d35f8f3509995d9cd
2016-04-01 23:17:49 -07:00
Boris Zbarsky
655d4654c8
Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. r=khuey
2016-03-22 13:50:31 -04:00
Boris Zbarsky
44088b97d0
Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey
2016-03-22 13:50:31 -04:00
Sebastian Hengst
4e4e0bcb49
Backed out changeset 8bb1cce4804d (bug 1257919)
2016-03-22 21:11:05 +01:00
Sebastian Hengst
60e4be8fc0
Backed out changeset 1b5db6edd791 (bug 1257919)
2016-03-22 21:10:45 +01:00
Boris Zbarsky
8ba7a0b580
Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. r=khuey
2016-03-22 13:50:31 -04:00
Boris Zbarsky
c978d9ded6
Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey
2016-03-22 13:50:31 -04:00
Ms2ger
5ed06a1f77
Bug 1250917 - Remove NS_SUCCESS_I_DID_SOMETHING; r=bholley
...
It hasn't been used for a while now.
2016-02-25 09:28:06 +01:00
Bill McCloskey
c95da3e673
Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap
...
--HG--
extra : commitid : AkRt0J9Cpgt
extra : rebase_source : 39bf3c27ce593c95e4aecb5f7bb55a8ffc05382c
2016-01-05 19:28:27 -05:00
Boris Zbarsky
29345faced
Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley
2015-12-02 13:52:59 -05:00
Tom Tromey
4113691556
Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz
2015-11-11 12:55:00 +01:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bobby Holley
796a2d66a8
Bug 1212693 - Remove skipCOWCallableChecks. r=bz
2015-10-08 10:22:00 -07:00
Mike Kaply
68b080c7c5
Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
...
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Carsten "Tomcat" Book
ce5ca9b688
Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage
2015-07-28 14:38:01 +02:00
Mike Kaply
1acb520ff0
Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
2015-07-28 07:13:26 -05:00
Andrew McCreight
621e57b2b7
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
fb3e0b058e
Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
...
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
5cbc3abf39
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-21 09:44:37 -07:00
Alexandre Poirot
18efabed2b
Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley
2015-07-09 07:02:00 -04:00
Andrew McCreight
61c724c488
Bug 958778 - De-holder nsIXPConnect::GetWrappedNativePrototype(). r=gabor
2015-07-01 11:17:17 -07:00
Andrew McCreight
53e8d2ac49
Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor
2015-07-01 11:17:17 -07:00
Andrew McCreight
898cb90713
Bug 886459, part 4 - Remove nsIJSRuntimeService. r=bholley,aklotz
2015-06-26 18:44:14 -07:00
Andrew McCreight
fd7600ed25
Bug 886459, part 2 - Remove context callbacks from XPCJSRuntime. r=bholley
...
These are unused.
2015-06-26 18:44:13 -07:00
Magnus Melin
9ccc5bb1d7
Bug 1176749. nsIScriptError.idl should use nsStringGlue.h, not nsString.h. r=mrbkap
2015-06-23 20:31:17 +03:00
Bill McCloskey
a2c6c7d4bf
Bug 1143006 - Show warning for http-on-* in child process (r=mrbkap)
2015-06-19 17:35:06 -07:00
Gabor Krizsanits
c5989e232b
Bug 1164014 - Shim optimization. r=billm
2015-06-08 09:28:54 +02:00
Ryan VanderMeulen
1bc8d0eab9
Backed out changesets eebab8b7ea69 and 5b908d656044 (bug 1164014) for e10s OOMs.
2015-06-02 12:23:12 -04:00
Gabor Krizsanits
7a422f317b
Bug 1164014 - Shim optimization. r=billm
2015-06-02 16:00:30 +02:00
Bob Owen
dd609468e4
Backed out 2 changesets (bug 1164014) for WinXP debug crashtest failures on a CLOSED TREE
...
Backed out changeset 4f4454ece5ac (bug 1164014)
Backed out changeset 81d78a498313 (bug 1164014)
2015-06-01 07:39:25 +01:00
Gabor Krizsanits
e0bd57ba62
Bug 1164014 - Shim optimization. r=billm
2015-05-31 10:46:49 +02:00
Ryan VanderMeulen
585e87aaf9
Backed out changesets 63671ebfa2dd and da3d272ad1c2 (bug 1164011) for frequent xpc::InterposeProperty crashes.
2015-05-29 12:51:34 -04:00
Gabor Krizsanits
06f319aa35
Bug 1164011 - Shim optimisation. r=billm
2015-05-29 14:47:49 +02:00
Gabor Krizsanits
0e8ed736d9
Bug 1148188 - part2: interposeCall. r=billm
2015-05-07 14:03:24 +02:00
Geoff Lankow
9b06d1932b
Bug 1138336 - Adapt nsIScriptError so it can display log messages with filename and line number; r=jst,neil,past
2015-04-28 18:39:47 +12:00
Tom Schuster
ac250f9d73
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +01:00
Andrew McCreight
69bad032ab
Bug 1147967 - Remove CreateStackFrameLocation. r=bholley
...
This method is defined on nsIXPConnect and StackFrame, but is not used.
Also the non-default constructor that for StackFrame that is no longer used.
2015-03-29 07:52:53 -07:00
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