Commit Graph

56873 Commits

Author SHA1 Message Date
Terrence Cole
0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa
681cacc1f6 Bug 1290337 - Part 15: Replace Value parameter to const Value& in js/xpconnect. r=jandem 2016-09-11 18:15:24 +09:00
Tooru Fujisawa
b695cb6484 Bug 1290337 - Part 14: Replace Value parameter to HandleValue in js/ctypes. r=evilpie 2016-09-11 18:15:24 +09:00
Tooru Fujisawa
e0c7801dc3 Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
83ea1c9449 Bug 1290337 - Part 12: Use const reference in PodSet. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
22d9bd985f Bug 1290337 - Part 11: Replace ConstantOrRegister parameter to const ConstantOrRegister&. r=nbp 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
5b44531d1d Bug 1290337 - Part 10: Replace WrapperValue parameter tor const WrapperValue&. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
16abd7dbf8 Bug 1290337 - Part 9: Replace NumLit parameter to const NumLit&. r=bbouvier 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
da0e2aa2f2 Bug 1290337 - Part 8: Use const reference in VoidDefaultAdaptor and BoolDefaultAdaptor. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
c72eb75470 Bug 1290337 - Part 7: Replace Value parameter to const Value& in GC. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
56fd9aac76 Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
0f1a2439c5 Bug 1290337 - Part 5: Replace Value parameter to const Value& in JIT. r=nbp 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
98f4254871 Bug 1290337 - Part 4: Replace Value parameter to HandleValue in js shell. r=sfink 2016-09-11 19:22:03 +09:00
Tooru Fujisawa
a18c43b831 Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
b46b1c2f1f Bug 1290337 - Part 2: Replace jsval_layout parameter to const jsval_layout&. r=evilpie 2016-09-11 18:15:21 +09:00
Tooru Fujisawa
6b1908b14d Bug 1290337 - Part 1: Make ArgSeq and ArgList not to drop qualifier from argument types. r=nbp,jwalden 2016-09-11 18:15:21 +09:00
Jan de Mooij
231c78a263 Bug 1305948 - Fix OOM bug in TypedArrayObject::GetTemplateObjectForNative. r=smvv
--HG--
extra : rebase_source : 22e5b8c71bdbbc1b4070f4238a8622e9d862094a
2016-09-30 12:06:15 +02:00
Jan de Mooij
c6919b5db5 Bug 1302692 - Fix error messages for labeled continue statements, remove some dead code. r=jwalden
--HG--
extra : rebase_source : 9f21e417a9598bb8786e52d84fa5a6ac145d2b6d
2016-09-30 12:04:34 +02:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Tooru Fujisawa
5b976f1c65 Bug 1289050 - Part 14: Remove pseudo-ASCII variant of JS_ReportError*. r=jwalden 2016-09-10 10:29:47 +09:00
Tooru Fujisawa
d07332fc5c Bug 1289050 - Part 13: Use ArgumentsAreLatin1 in frontend error reporting. r=jwalden 2016-09-10 10:28:35 +09:00
Sylvestre Ledru
08a4511275 Bug 1302401 - This check converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Waldo
MozReview-Commit-ID: LMvVDStstPx

--HG--
extra : rebase_source : b1b5c65f94e67fe7dcb404681d527681f1822f03
2016-09-27 15:20:44 +02:00
Sylvestre Ledru
f833237445 Bug 1302401 - This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. r=Waldo
MozReview-Commit-ID: 5elj65A6dzO

--HG--
extra : rebase_source : 2696ee83dab7856cb8f599ef9f3c13fd4cd5e5f7
2016-09-13 14:23:04 +02:00
Sylvestre Ledru
32ebdc26d1 Bug 1302401 - Finds integer literals which are cast to bool. r=Waldo
MozReview-Commit-ID: DkzKx4FnVTV

--HG--
extra : rebase_source : cac13e1cd9a2b794f0ec668ad84d8cade222213f
2016-09-13 14:22:49 +02:00
Tooru Fujisawa
10dd75211d Bug 1289050 - Part 2: Use ASCII or Latin1 variants of JS_ReportError in not-simple cases. r=jwalden 2016-08-15 19:20:01 +09:00
Tooru Fujisawa
c94460a3d9 Bug 1289050 - Part 1.1: Make error reporting cleaner in CloneBufferObject::setCloneBuffer_impl. r=jwalden 2016-09-29 12:03:05 +09:00
Tooru Fujisawa
89fced778e Bug 1289050 - Part 12: Use ASCII or Latin1 or UTF8 variant of JS_ReportErrorFlagsAndNumber. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa
8dff9a4d76 Bug 1289050 - Part 10: Use Latin1 variant of JS_ReportErrorNumber for strerror. r=jwalden 2016-08-16 03:11:59 +09:00
Tooru Fujisawa
8e53519144 Bug 1289050 - Part 9: Use Latin1 variant of JS_ReportErrorNumber after encoding in Latin1. r=jandem 2016-08-15 23:05:08 +09:00
Tooru Fujisawa
cda82ac672 Bug 1289050 - Part 8.6: Convert SavedFrame::checkThis to file static function. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
d1cc9cc8ab Bug 1289050 - Part 8.5: Convert js::ErrorObject::checkAndUnwrapThis to file static function. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
aa633431d9 Bug 1289050 - Part 8.4: Convert some debugger related static methods to file static functions. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
9e25fd11a6 Bug 1289050 - Part 8.3: Remove unused parameter from JSMSG_JSON_CYCLIC_VALUE. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
288dbb9ff7 Bug 1289050 - Part 8.2: Remove unused parameter from ArgumentRangeMismatch and CTYPESMSG_ARG_RANGE_MISMATCH. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
413a9a7a1e Bug 1289050 - Part 8.1: Use %lu and %lx instead of PRIu32 and PRIx32 in WasmBinary.cpp. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
2f83147cad Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden 2016-08-15 23:05:04 +09:00
Tooru Fujisawa
7148db63d3 Bug 1289050 - Part 7: Use ASCII variant of JS_ReportErrorNumber when parameters are all static string. r=jwalden 2016-08-15 19:21:05 +09:00
Tooru Fujisawa
de1ccd1e93 Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden 2016-08-14 20:39:29 +09:00
Tooru Fujisawa
0f0d30482d Bug 1289050 - Part 4: Use Latin1 or UTF8 variants of JS_ReportError in js shell. r=sfink 2016-08-15 19:20:08 +09:00
Tooru Fujisawa
13d64d6825 Bug 1289050 - Part 3.1: Add mozJSComponentLoader::Location and use UTF8 variant of JS_ReportError in mozJSComponentLoader. r=jwalden 2016-09-30 12:34:44 +09:00
Tooru Fujisawa
215be0c5d2 Bug 1289050 - Part 3: Use UTF8 variant of JS_ReportError after re-encoding string. r=jwalden 2016-08-15 19:20:04 +09:00
Tooru Fujisawa
458bd95e06 Bug 1289050 - Part 2.2: Use ASCII variant of JS_ReportError when formatting JSClass::name, and assert it is ASCII. r=jwalden 2016-09-30 12:34:43 +09:00
Tooru Fujisawa
f2542c1849 Bug 1289050 - Part 2.1: Use JS_ReportErrorLatin1 in mozJSComponentLoader::LoadModule. r=jwalden 2016-09-30 12:34:43 +09:00
Emanuel Hoogeveen
0146779b73 Bug 1305360 - Part 2: Add an exception handler to annotate memory protection crashes in regions of interest. r=jandem, r=luke 2016-09-29 14:07:00 -04:00
Emanuel Hoogeveen
cc3c4940a7 Bug 1305360 - Part 1: Add a mechanism to allow users to opt out of protection for small buffers. r=jandem 2016-09-27 15:38:00 -04:00
Tooru Fujisawa
6d493d48ec Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden 2016-08-14 20:39:28 +09:00
Tooru Fujisawa
84422843f6 Bug 1289050 - Part 0: Use ArgumentsAreLatin1 in implicit ASCII variants of JS_ReportErrorNumber, JS_ReportErrorNumberVA, and JS_ReportErrorFlagsAndNumber. r=jwalden 2016-09-29 12:03:01 +09:00
Tooru Fujisawa
ae65f9cff4 Bug 1302582 - Add JS_ReportError*ASCII variants. r=jwalden 2016-09-14 04:07:04 +09:00
Tooru Fujisawa
d0679f60cb Bug 1295017 - Part 2: Add JS_ReportError*UTF8 variants. r=jwalden 2016-08-13 23:51:07 +09:00
Tooru Fujisawa
2806d3a994 Bug 1295017 - Part 1: Make lossy conversion available off main thread. r=jwalden 2016-08-13 23:50:30 +09:00