Commit Graph

27948 Commits

Author SHA1 Message Date
Bobby Holley
5660b229c6 Bug 898939 - Loosen assertion. r=bz
This is just an overzealous assertion, rather than a security issue.
2013-07-30 08:43:46 -07:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Ehsan Akhgari
a70b435251 Bug 872127 - Part 1: Remove support for MOZ_CUSTOM_STDINT_H; r=Waldo,ted 2013-07-30 10:24:49 -04:00
Jon Coppeard
4a64e34ed1 Backout 80e1116e4599 for Android failures on a CLOSED TREE 2013-07-30 13:52:30 +01:00
Jan de Mooij
2f530f8733 Bug 882736 - Ion-compile scripts that use ES5 getter/setter syntax. r=bhackett 2013-07-30 12:52:09 +02:00
Jan de Mooij
ea15a7a7de Bug 899017 - Fix VM functions called by the JITs to use bool instead of JSBool. r=sstangl 2013-07-30 11:53:22 +02:00
Jon Coppeard
408291508f Bug 893552 - OdinMonkey: (ARM) dynamic code is not preserving float registers d8 to d15 as required by the ABI r=mjrosenb 2013-07-30 09:57:58 +01:00
Jan de Mooij
2f81f9ac94 Bug 898381. r=mjrosenb 2013-07-30 10:23:55 +02:00
Wes Kocher
d6c9ce2081 Backed out changeset a0bc16b5a428 (bug 897676) for causing mochitest failures on a CLOSED TREE 2013-07-29 18:27:04 -07:00
Luke Wagner
24170b3ba7 Bug 899245 - The preceding typo fix was wrong; the original patch should have replaced JS_GetGlobalForScopeChain with JS::CurrentGlobalOrNull (r=red, CLOSED TREE) 2013-07-29 19:51:16 -05:00
Luke Wagner
1d8575c06a Fix JS/js typo from bug 899245 (r=red) 2013-07-29 19:36:20 -05:00
Mike Hommey
5c5d10cc55 Bug 895915 - Re-sync build/autoconf and js/src/build/autoconf 2013-07-30 09:00:38 +09:00
Mike Hommey
c34b466603 Bug 895915 - Enforce host gcc/clang support for C++11. r=gps 2013-07-30 08:57:28 +09:00
Dan Gohman
849c354f71 Bug 898451 - IonMonkey: Add MOZ_CONSTEXPR_VAR to several variables to help eliminate static constructor calls. r=waldo 2013-07-29 16:49:57 -07:00
Bobby Holley
99246966e4 Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
08f9b6fd28 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Bobby Holley
9f3d1e24f0 Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
Dan Gohman
e618830f2f Bug 898442 - IonMonkey: Fix a bug in the IonSpewer which caused it to skip spewing of some functions. 2013-07-29 16:37:35 -07:00
Dan Gohman
8d5e4261fb Bug 898461 - IonMonkey: Move div and mod overflow and divide-by-zero handling code out of line. r=jandem 2013-07-29 16:22:46 -07:00
Bobby Holley
6e5c2a0773 Bug 897676 - Null out |si| if we end up using that of the proto in WrapNewGlobal. r=mrbkap 2013-07-29 16:03:04 -07:00
Bobby Holley
648370a93d Bug 898122 - Properly squelch exceptions in FormatFrame. r=luke
Given that this is a debugging tool, we don't really want to just throw in the
towel if we fail to glean all possible information during stack introspection.
Clear the exception and note the failure to the stream.
2013-07-29 14:31:30 -07:00
Bobby Holley
aac3defecb Bug 898122 - Add some helpful assertions into the JS engine. r=luke
Things go wrong much earlier than the assertion we currently hit.
2013-07-29 14:31:30 -07:00
Bill McCloskey
912c8b86ac Bug 899238 - Make sure CPOW parent is never null (r=dvander). 2013-07-25 11:50:00 -07:00
Mike Shal
f354fd56a7 Bug 888016 - Support compilation in subdirectories without VPATH; r=gps 2013-07-02 17:40:17 -04:00
Brian Hackett
1a5e10a50b Bug 897202 - Add some double canonicalization, r=luke. 2013-07-29 11:55:49 -06:00
Nikhil Marathe
c06504457b Bug 898734 - Fix segfault in error handling. r=nmatsakis
--HG--
extra : rebase_source : dfecbc3c3150deb19e352a3d885e35f24983e2e9
2013-07-29 10:28:03 -07:00
Nikhil Marathe
144876393b Bug 898670 - Add GetStructTypeFieldList(). r=nmatsakis
--HG--
extra : rebase_source : ac13a0cb025b0dd24d407833d573c0499d33b56c
2013-07-29 10:25:09 -07:00
Nikhil Marathe
6766bdcb76 Bug 898675 - Binary Data: Free StructType fieldList on error. r=nmatsakis
--HG--
extra : rebase_source : a7ebb8c1bbf7464ab0697dc014334cfcf75e69a2
2013-07-29 10:24:42 -07:00
Nikhil Marathe
55393e9766 Bug 898494 - Fix lack of rooting in Binary Data. r=nmatsakis
--HG--
extra : rebase_source : d81cb1c34cb6767966ccc4006ed504c7d0e935ac
2013-07-29 10:22:11 -07:00
Andrea Marchesini
a1a1e17579 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Marty Rosenberg
6073c21b30 bug 858940: fix an additional case where we inspect the instruction stream without going through an iterator. (r=jbramley) 2013-07-15 14:21:46 -04:00
Marty Rosenberg
eac5e9f762 bug 898720: Don't step over natural guards when iterating over instructions. (r=jbramley) 2013-07-29 06:57:05 -04:00
Jan de Mooij
b8f937d400 Bug 898047 - Fix Ion to set the Folded flag on arguments MIR when optimizing fun.apply(x, arguments). r=bhackett 2013-07-29 11:16:12 +02:00
Emanuel Hoogeveen
dd577482c4 Bug 888088 (part 11, attempt 2) - Fix #include ordering in js/src/ion/arm/. r=nnethercote.
--HG--
extra : rebase_source : af94f273059792c3e8a57221adaad6a4b60e193e
2013-07-25 17:10:25 -07:00
Emanuel Hoogeveen
3a2eb75e78 Bug 888088 (part 13) - Fix #include ordering in a few places that fell through the cracks. r=nnethercote.
--HG--
extra : rebase_source : 8dd03c77de6add76c9e78cb87180e1fdc36b57df
2013-07-28 17:04:47 -07:00
Luke Wagner
998eab593a Bug 898619 - put the rest of the JSRuntime:: methods into vm/Runtime.cpp (r=billm) 2013-07-28 21:27:38 -05:00
Christian Holler
0309d28890 Bug 898230 - Disable alloc-dealloc checking under AddressSanitizer. r=glandium 2013-07-29 02:44:00 +02:00
Nikhil Marathe
0fb9da0e2a Bug 898661 - Temporarily disable Binary Data in Nightly builds too. r=nmatsakis
--HG--
extra : amend_source : 4ba33977d6d6990b17f44218f8382d2a92c86a2c
2013-07-28 08:26:13 -07:00
Nikhil Marathe
8254390159 Bug 898623 - Root StructType FieldInfo properties. r=terrence
--HG--
extra : rebase_source : 8d9c9a3da29f8289b3c1f0bd2e5bc1fc5c6eb1df
2013-07-26 16:21:53 -07:00
Jeff Walden
b7afdfa45f Bug 890127 - Properly initialize and cleanup ICU, when enabled in JS engine builds. r=njn
--HG--
extra : rebase_source : f1dd0e44afe1561e225bef1f31735caef1cea18c
2013-07-19 20:18:01 -07:00
Jeff Walden
70e6b51fcb Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations (except JS_SetICUMemoryFunctions) are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits
--HG--
extra : rebase_source : fd308ab3bd76c67a0b128eaefae3edf177893fe1
2013-07-19 20:14:34 -07:00
Shu-yu Guo
ea9ba911f0 Bug 898750 - Attach Array.build only if ENABLE_PARALLEL_JS. (r=shell bustage) 2013-07-27 21:39:02 +02:00
Daniel Holbert
7aca8e83ba Bug 898021 followup: compare viewType() result to the correct enum type. r=bhackett 2013-07-26 18:24:07 -07:00
Brian Hackett
e637778297 Bug 896154 - Don't check per thread data when verifying pre barriers until after worker threads have been paused, r=billm. 2013-07-26 16:27:44 -06:00
Terrence Cole
01f86b4c60 Bug 898617 - Assert that the error reporter callback does not set an exception; r=billm 2013-07-25 14:32:54 -07:00
Terrence Cole
5d559053a9 Bug 898621 - Convert ToClampedIndex to take a Handle; r=sfink
--HG--
extra : rebase_source : e35c48ad93c609fdb2e670f34eda718902c5b5ed
2013-07-26 12:53:31 -07:00
Brian Hackett
6ade905144 Bug 893890 - Don't attach new object metadata to objects created while parsing/emitting scripts, r=luke. 2013-07-26 14:15:37 -06:00
Niko Matsakis
b1696a9abf Bug 898371 - Enumerate binary structs. r=nsm 2013-07-26 11:39:33 -07:00