David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Benjamin Smedberg
6caadd9230
Bug 920695 part A - move xpcshell code into libxul and make the xpcshell binary just a stub, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
rename : js/xpconnect/shell/jsshell.msg => js/xpconnect/src/jsshell.msg
extra : rebase_source : 9a2ab7508e3cb7a6bfec6b1e98f49799221d1376
2013-09-30 16:09:28 -04:00
Ehsan Akhgari
7233ba7103
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
01c70c8c97
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
3c5b0c6b29
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Birunthan Mohanathas
8923c06ee9
Bug 784739 - Switch from NULL to nullptr in ipc/. r=ehsan
2013-08-23 15:51:44 -04:00
Ms2ger
f805d8d6eb
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
1c4d224f0e
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Nethercote
2585de9a07
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nicholas Nethercote
785fe13da4
Bug 904962 (part 5) - Don't #include jsprf.h in three places it isn't needed. r=luke.
...
--HG--
extra : rebase_source : 9fb24d11c47bab29be9bf3027e78a92819a3e3ae
2013-08-11 23:34:14 -07:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
8ce53f9ffd
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Terrence Cole
3438cc1b1a
Bug 902236 - Fix an exact rooting hazard in ~XPCShellEnvironment; r=jonco
2013-08-07 16:14:20 -07:00
Terrence Cole
24a5b6b39c
Bug 902231 - Fix two exact rooting hazards in XPCShellEnvironment; r=jonco
2013-08-07 16:13:34 -07:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Bobby Holley
98a0425f0f
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Jon Coppeard
20fb51afdd
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ce93df92db
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
9709d43d76
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Bobby Holley
055a4a328f
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
Bobby Holley
10141c7476
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 20:38:46 -07:00
Bobby Holley
cce73473fa
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
e00ad1e17a
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 20:38:46 -07:00
Bobby Holley
9bc9976c78
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
5b7d51783b
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 20:38:45 -07:00
Bobby Holley
83d40fbac1
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 20:38:45 -07:00
Bobby Holley
848172cd58
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 20:38:45 -07:00
Bobby Holley
4e2f2699cb
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 20:38:45 -07:00
Ryan VanderMeulen
e168631670
Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
...
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
7de9f3a1b5
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 18:04:51 -07:00
Bobby Holley
6301d9bc80
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
3221a3c2d6
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 18:04:50 -07:00
Bobby Holley
e09e671849
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
86985c5de0
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 18:04:50 -07:00
Bobby Holley
67a185a843
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 18:04:49 -07:00
Bobby Holley
ea14aa6016
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 18:04:49 -07:00
Bobby Holley
33c7a75dda
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 18:04:49 -07:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
David Zbarsky
bd69568121
Bug 885804: Renaming in js/layout/ipc r=roc
2013-07-08 11:48:39 -04:00
Mike Shal
d5df6bb361
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
David Anderson
71e7bc4fc9
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
2d21f2b922
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Bobby Holley
439ae70017
Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke
2013-06-29 09:11:19 -06:00
Bobby Holley
306f8a67ea
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00