Shu-yu Guo
e2b6833e0a
Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo)
2016-08-25 01:28:47 -07:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jan de Mooij
c33bac8363
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Jan de Mooij
0f65c9be84
Bug 1286159 - Clean up FinishOffThread* APIs for off-thread parsing. r=jonco
2016-07-19 09:19:54 +02:00
Jan de Mooij
d6e128e540
Bug 1274915. Switch JS::DescribeScriptedCaller to walk through saved frames when walking the JS stack. r=bzbarsky
2016-05-26 20:36:09 -04:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Tooru Fujisawa
49dcc9b049
Bug 1153978 - Part 2: Clear pending exception thrown from XDR related APIs when ignoring ReadCachedScript failure. r=bz
2016-03-22 16:48:38 +09:00
Benjamin Bouvier
70202e15a1
Bug 1251308; r=luke
...
MozReview-Commit-ID: AqsMX4m7Qh9
--HG--
extra : rebase_source : 519aef2cf8c0bb39771d4589069e8fd1a06970c3
2016-03-09 11:20:11 +01:00
Luke Wagner
72ea23c63e
Bug 1239601 - improve the UniquePtr situation (r=jandem)
...
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Yury Delendik
b984c50fec
Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj
...
--HG--
extra : commitid : 7TyrlgQ2f2Z
2015-12-01 08:00:58 -06:00
Yury Delendik
66199890c4
Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
...
--HG--
extra : commitid : J0UubFG9gvz
2015-11-30 08:54:11 -06:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02: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
Christoph Kerschbaumer
668ebc2ff2
Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking)
2015-09-19 20:26:09 -07:00
Fabrice Desré
b073ed1739
Bug 1179102 - The async version of loadSubscript doesn't get the right JS version. r=bholley
2015-07-01 16:26:08 -07:00
Shu-yu Guo
b841e668ac
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-21 11:49:57 -07:00
Ryan VanderMeulen
3a61e232f7
Backed out 14 changesets (bug 1165486) for causing frequent crashes/asserts in automation.
...
Backed out changeset 1db9723f1617 (bug 1165486)
Backed out changeset 662ec8b0561e (bug 1165486)
Backed out changeset 97352c48fb98 (bug 1165486)
Backed out changeset 4143cca42cc7 (bug 1165486)
Backed out changeset 5abb37cb0495 (bug 1165486)
Backed out changeset 7b157964c572 (bug 1165486)
Backed out changeset 5c01ab1d9790 (bug 1165486)
Backed out changeset 0e00d8a3ca1d (bug 1165486)
Backed out changeset 5e88d482f5e8 (bug 1165486)
Backed out changeset 513bbca6fb6c (bug 1165486)
Backed out changeset 64fa28f0255a (bug 1165486)
Backed out changeset 7a404929c74c (bug 1165486)
Backed out changeset 1dc0d6adf6ed (bug 1165486)
Backed out changeset 381003ca79a3 (bug 1165486)
CLOSED TREE
2015-06-18 13:05:10 -04:00
Shu-yu Guo
543778a467
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-17 21:26:57 -07:00
Carsten "Tomcat" Book
ad62dcd1c9
Backed out changeset 8031242fe5e5 (bug 1165486)
2015-06-16 10:45:29 +02:00
Shu-yu Guo
d9f89e438e
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 21:32:30 -07:00
Wes Kocher
9dceeed482
Backed out 12 changesets (bug 1165486) for windows spidermonkey failures CLOSED TREE
...
Backed out changeset ce3c302864bf (bug 1165486)
Backed out changeset f69852001c61 (bug 1165486)
Backed out changeset 06cc09729bf4 (bug 1165486)
Backed out changeset 52772afc023e (bug 1165486)
Backed out changeset 502ddf7d2268 (bug 1165486)
Backed out changeset b04ab7bd78af (bug 1165486)
Backed out changeset 53fcddbe4cfb (bug 1165486)
Backed out changeset 63bd369e5349 (bug 1165486)
Backed out changeset 1e35269a8062 (bug 1165486)
Backed out changeset e3c11d517e18 (bug 1165486)
Backed out changeset ccd90228daf6 (bug 1165486)
Backed out changeset eb11e655d223 (bug 1165486)
2015-06-15 18:07:52 -07:00
Shu-yu Guo
cc2e99dbc5
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 17:38:01 -07:00
Fabrice Desré
33e745b3d3
Bug 1150106 - Async loadSubscript - Part 1, add async to loadSubscriptWithOptions r=bholley,mcrr8
2015-05-20 22:14:49 -07:00
Boris Zbarsky
defe3e9299
Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke
2015-04-01 12:05:29 -04:00
Wes Kocher
459b664c21
Backed out 8 changesets (bug 679939) for test failures
...
Backed out changeset 4a1a45bc093a (bug 679939)
Backed out changeset 5336ae0fe919 (bug 679939)
Backed out changeset 4cbcb40e0ef4 (bug 679939)
Backed out changeset 3bc68cf4610b (bug 679939)
Backed out changeset ec2d863a3df9 (bug 679939)
Backed out changeset 4425a55312c6 (bug 679939)
Backed out changeset d3793e00b41f (bug 679939)
Backed out changeset 872edd1aedf7 (bug 679939)
2015-04-01 10:24:42 -07:00
Boris Zbarsky
99c966ffe4
Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke
2015-04-01 12:05:29 -04:00
Jan de Mooij
b8b1677f0f
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1
Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Boris Zbarsky
948d4ebefa
Bug 1144743 part 3. Set hasPollutedGlobalScope when we're compiling scripts we know will be executed with a non-global scope without cloning them. r=luke
2015-03-20 00:34:07 -04:00
Boris Zbarsky
58ae84cfe1
Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
...
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky
d1e4959752
Bug 1097987 part 6. Require callers of JS_ExecuteScript to either use the global as the scope or pass in an explicit scopechain. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
65cc333846
Bug 1097987 part 4. Change mozJSSubScriptLoader to use the scopechain version of JS_ExecuteScript as needed. r=bholley
2015-03-14 01:36:16 -04:00
Boris Zbarsky
a5316a236e
Bug 1137578. Remove JS_GetParent usage from mozJSSubscriptLoader. r=bholley
2015-03-03 07:12:01 -05:00
Christoph Kerschbaumer
54b8e4e5e4
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Fabrice Desré
130be9050a
Bug 923897 - Extensibility support for b2g r=ferjm,bholley
2014-12-16 15:32:28 -08:00
Boris Zbarsky
6f09de16d4
Bug 1095660 part 1. Remove the pointless JS_ExecuteScriptVersion API. r=waldo,bholley
2014-11-12 17:04:28 -05:00
Alexander J. Vincent
179821a35d
Bug 1092477 - Let the subscript Loader report any URL it fails on, when it can. r=bholley
2014-11-08 17:08:09 -08:00
Boris Zbarsky
8c3d40d482
Bug 1089026 part 4. Change the CompileFunction calls in the component loader and subscript loader to pass in their desired scope chains. r=bholley
2014-10-30 19:40:29 -04:00
Christoph Kerschbaumer
29facae35b
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-15 19:11:45 -07:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Christoph Kerschbaumer
34b8295e19
Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap)
2014-09-21 09:45:16 -07:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Bobby Holley
87c9e0954f
Bug 1062077 - Remove now-no-op error reporter munging in mozJSSubScriptLoader.cpp. r=bz
...
In the past this might theoretically have switched us from
NS_ScriptErrorReporter to xpc::SystemErrorReporter, but those have now been
merged.
2014-09-08 16:30:12 -07:00
Ehsan Akhgari
4966506563
Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug
2014-08-31 21:06:35 -04:00
Steve Fink
e0b7644d4e
Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
...
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Steve Fink
7b06fcf9bd
Bug 1022773 - Resolve hazard by switching Compile to MutableHandle, r=terrence,smaug,bholley
...
--HG--
extra : rebase_source : a6f4eb9138688c09bce15f36ffc0bdb5b6e3dc5f
2014-06-11 17:38:22 -07:00
Benoit Jacob
27fb6960a5
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Bobby Holley
b38a3a001d
Bug 1026860 - Remove mThisObjects and use the function parent instead. r=luke,khuey
2014-06-18 22:36:42 -07:00
Nathan Froyd
0d23973e46
Bug 1003309 - remove JS component loader construction from mozJSSubScriptLoader; r=bholley
2014-04-29 13:28:23 -04:00