Jim Blandy
3fe47490c7
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
2015-04-08 21:23:48 -04: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
a6c31c047a
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
047296538f
Bug 1143793 part 2. Remove the obj argument of JS_CompileUCScript. r=luke
2015-03-19 10:13:34 -04:00
Boris Zbarsky
730e1cc79d
Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke
2015-03-19 10:13:33 -04:00
Boris Zbarsky
cbaf27c1b2
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
4cf0ca2fd5
Bug 1097987 part 3. Change XPCShellEnvironment to only use JS_ExecuteScript in global scopes. r=bholley
2015-03-14 01:36:16 -04:00
Jon Coppeard
a6dbde04cd
Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent
2015-01-23 10:23:57 +00:00
Gavin Sharp
ef5aee70ca
Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
...
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Ehsan Akhgari
0c834944de
Bug 1117265 - Mark virtual overridden functions as MOZ_OVERRIDE in IPC code; r=baku
2015-01-03 12:25:13 -05:00
Boris Zbarsky
2a28827a16
Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo
2014-10-29 15:06:32 -04:00
Boris Zbarsky
472292138d
Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo
2014-10-29 15:06:31 -04:00
Tom Schuster
2c3047badc
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Stephen Pohl
3a3b71a797
Bug 1077099: Set mGREBinDir in nsXREDirProvider::Initialize to avoid returning NULL in nsXREDirProvider::GetGREBinDir. r=bsmedberg
2014-10-10 15:06:50 -04:00
Bill McCloskey
425175f713
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
147fca0f92
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
f7ae46e404
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Andrew Halberstadt
6fe6152e95
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Bobby Holley
8a6a5ded7f
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Bobby Holley
456e14ca7b
Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz
2014-09-09 16:02:10 -07:00
Bobby Holley
30602c16ab
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Bob Owen
155dacc744
Bug 1047509 - Part 13: Replace AutoCxPusher in TestShellCommandParent::RunCallback. r=bholley
2014-08-08 14:01:25 +01:00
Jan de Mooij
f3876da607
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Steve Fink
ad8ab618ed
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
Ehsan Akhgari
4b8f121ea2
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Josh Aas
bba4c769bc
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
2014-05-02 13:44:13 -05:00
Birunthan Mohanathas
504b581650
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Terrence Cole
21e586caba
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
6e3781aa06
Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley
2014-04-16 09:47:57 +01:00
Jon Coppeard
bd123acdd3
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Birunthan Mohanathas
e000f49c51
Bug 845478 - Part 8: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in remaining instances. r=Waldo
2014-03-25 14:42:33 -04:00
Jon Coppeard
524071f389
Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz
2014-03-17 16:17:58 +00:00
Luke Wagner
d4eada70bf
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Ms2ger
aa9d7b52b4
Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal
2014-02-15 21:24:59 +01:00
Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
2cf0941496
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Bobby Holley
7bc456f9b0
Bug 951847 - Push a cx in TestShellParent. r=gabor
2014-01-01 19:23:55 -08:00
Mike Hommey
86adfade5d
Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
...
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
since it's checking for the target instead of the host. Also, lchown is only
used of the -o and -g options of nsinstall, which, as far as I know, we don't
use (and if we were, that would fail with nsinstall.py, which explicitly rejects
them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
correctness of the check. If it's not available, nsinstall.c falls back to
chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
it's safe to assume all compilers we support are C89 and C99. Interestingly,
windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Eddy Bruel
cf91a893bd
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00