js/public/CompilationAndEvaluation.h
506b2659c7f96f732935a55282a6fa132705c7f6
created 2021-09-21 05:01 +0000
pushed 2021-09-21 09:46 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1718529 - Part 3: Remove JS::CloneAndExecuteScript. r=tcampbell
67f53f5aedfffabdf3f1ab06e95957e15fb899ca
created 2021-08-20 18:10 +0000
pushed 2021-08-21 09:35 +0000
André Bargull André Bargull - Bug 1726737 - Part 2: Move JSSourceElementCallback into CompilationAndEvaluation. r=arai
fc9efe606084d11e68964a0198066ae7af71dc35
created 2021-05-03 20:08 +0000
pushed 2021-05-04 03:35 +0000
Ted Campbell Ted Campbell - Bug 1706937 - Cleanup JS source-element callback. r=jandem
3afa2b70c0f9f5f13bd85f802195653392a96a6f
created 2021-04-20 15:31 +0000
pushed 2021-04-20 21:39 +0000
Matthew Gaudet Matthew Gaudet - Bug 1702278 - Defer setting debug metadata until after script compilation is finished. r=tcampbell,smaug
8fdbcaa80217ed7e511f08f7aab4b8bb6fbae77c
created 2021-03-12 10:42 +0000
pushed 2021-03-12 15:32 +0000
Simon Giesecke Simon Giesecke - Bug 1678374 - Fix includes in js/public. r=jandem
5d4bc61277e133f27698c48dbc4fc8072c4eaf7a
created 2020-10-09 14:24 +0000
pushed 2020-10-09 21:45 +0000
André Bargull André Bargull - Bug 1668576 - Part 14: Remove ObjectClassName and InitScriptSourceElement. r=tcampbell
1703455bfd04d2a0c59da0f0a86facb984744dcf
created 2020-09-11 15:38 +0000
pushed 2020-09-12 09:26 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1664363 - Replace JS::DecodeScript + JS::StartIncrementalEncoding with JS::DecodeScriptAndStartIncrementalEncoding. r=tcampbell
7d3bcc723c86af14e30c2ff35b6b2ed9254e39c0
created 2020-09-10 16:05 +0000
pushed 2020-09-11 02:31 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1663962 - Part 2: Add JS::CompileAndStartIncrementalEncoding. r=tcampbell
7e4eab0c0430099756ef2964b9c3d9fb77e008a2
created 2020-09-10 15:00 +0000
pushed 2020-09-11 02:31 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1663889 - Remove JS::CompileForNonSyntacticScope and set CompileOptions in caller. r=tcampbell
554b7637fe60e8a57e5180b5daaa1441f1bea31b
created 2020-05-12 19:28 +0000
pushed 2020-05-13 03:44 +0000
Denis Palmeiro Denis Palmeiro - Bug 1501608 - Remove the ELEMENT_SLOT in the ScriptSourceObject and instead use a callback function to return the script element based on the value of the privateValue in the SSO. r=jonco,smaug
e1690bafaf05f42caa8d24da9ba1364775c1c258
created 2020-05-02 15:03 +0300
pushed 2020-05-02 21:45 +0000
Dorel Luca Dorel Luca - Backed out changeset 4107b758e7ae (bug 1501608) as requested by dev
4107b758e7aea25d4529511f47bbd54531640dc4
created 2020-04-30 16:21 +0000
pushed 2020-05-01 09:42 +0000
Denis Palmeiro Denis Palmeiro - Bug 1501608 - Remove the ELEMENT_SLOT in the ScriptSourceObject and instead use a callback function to return the script element based on the value of the privateValue in the SSO. r=jonco,smaug
e8d6c70a21a4d2e253485f8ecdfe3d282a8d2c61
created 2020-03-31 01:32 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::Evaluate| to |JS::EvaluateDontInflate| semantics, and remove |JS::EvaluateDontInflate|. r=evilpie
83c0ace148040bafe996a81c35d16fea73c29984
created 2020-03-31 01:31 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::EvaluateUtf8Path| to |JS::EvaluateUtf8PathDontInflate| semantics, and remove |JS::EvaluateUtf8PathDontInflate|. r=evilpie
3cdf1ead6e1339e0880e632ecc99af3cbd6fb0e2
created 2020-03-31 01:30 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::CompileForNonSyntacticScope| to |JS::CompileForNonSyntacticScopeDontInflate| semantics, and remove |JS::CompileForNonSyntacticScopeDontInflate|. r=evilpie
41a9bd6821d9ffb171e1ff0ee78ed97ee563aa89
created 2020-03-31 01:30 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::CompileUtf8File| to |JS::CompileUtf8FileDontInflate| semantics, and remove |JS::CompileUtf8FileDontInflate|. r=evilpie
740c30b808cf4aa70cbcc31bdc272b08743dbfc3
created 2020-03-31 01:30 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::CompileUtf8Path| to |JS::CompileUtf8PathDontInflate| semantics, and remove |JS::CompileUtf8PathDontInflate|. r=evilpie
6b387c53da3f5260835c0a1ec9c7205436ac6338
created 2020-03-31 01:30 +0000
pushed 2020-03-31 09:35 +0000
Jeff Walden Jeff Walden - Bug 1626105 - Convert |JS::Compile| for UTF-8 to |JS::CompileDontInflate| semantics, and remove |JS::CompileDontInflate|. r=evilpie
0ae96da6fdb236f70579eb2ca10cbe3cf992aa1f
created 2019-10-27 22:34 +0000
pushed 2019-10-28 09:48 +0000
Philip Chimento Philip Chimento - Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink
839bc53c18ca8f3d92e576f9a7cd1dbd582d2d07
created 2019-05-21 01:31 +0000
pushed 2019-05-21 09:44 +0000
Jeff Walden Jeff Walden - Bug 1552977 - Add JS::EvaluateUtf8PathDontInflate that doesn't inflate UTF-8 file contents to UTF-16 before evaluating them. r=arai
f055bf03c52c4d1ac0d628e2bbd0e2d2aef40022
created 2019-05-21 01:31 +0000
pushed 2019-05-21 09:44 +0000
Jeff Walden Jeff Walden - Bug 1552977 - Add JS::CompileUtf8PathDontInflate with clear non-inflating nature and make existing JS::CompileUtf8Path callers inflate again. r=arai
2ae93b4399fbeb63cb3ba4884e569b56baff1916
created 2019-05-10 21:32 +0000
pushed 2019-05-11 09:44 +0000
Jeff Walden Jeff Walden - Bug 1549758 - Revert column-number counts to counts of code units for release-or-beta, pending perf considerations in column-number counting being fixed. r=tcampbell
40edaa2016ccbbeb60ec320c755110c357afbd9b
created 2019-04-10 09:19 -0700
pushed 2019-04-12 03:46 +0000
Jeff Walden Jeff Walden - Bug 1543458 - Perform non-inflating nonsyntactic UTF-8 compilation in jsapi-tests. r=arai
f3907d97ead5961b21d2eb4dd5a57fe076691131
created 2019-04-09 18:29 -0700
pushed 2019-04-12 03:46 +0000
Jeff Walden Jeff Walden - Bug 1543455 - Don't document JS::CompileUtf8FileDontInflate as invoking functionality with known bugs now that the last known bug's been fixed -- just suggest it's experimental. r=arai
75f351cf467a123f709ebaccc4f12747314fa58a
created 2019-04-09 17:03 -0700
pushed 2019-04-12 03:46 +0000
Jeff Walden Jeff Walden - Bug 1543455 - Make JS::CompileUtf8{,ForNonSyntacticScope} omit Utf8 from their names and take SourceText<Utf8Unit>&. r=arai
c8ddb203209d92be18b411a22e5d25622b6d7d11
created 2019-04-09 13:56 -0700
pushed 2019-04-12 03:46 +0000
Jeff Walden Jeff Walden - Bug 1543455 - Rename JS::EvaluateUtf8 to JS::Evaluate and make it take |JS::SourceText<mozilla::Utf8Unit>&| for consistency with the UTF-16 form of the API. r=arai
5c5765ae3e648c812c09e86b76ca59d297363cb2
created 2019-04-09 17:58 +0000
pushed 2019-04-09 22:08 +0000
Jeff Walden Jeff Walden - Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
b9d09627acaf8aca013c0d8e8e3ca58896061254
created 2019-04-09 20:43 +0300
pushed 2019-04-09 22:08 +0000
Brindusan Cristian Brindusan Cristian - Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
53e379a5738feb54107333ef592198263ea1cf44
created 2019-04-09 17:24 +0000
pushed 2019-04-09 22:08 +0000
Jeff Walden Jeff Walden - Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
3aa2e84843939738f07e6fa12983e1c52788d9a1
created 2019-04-09 19:24 +0300
pushed 2019-04-09 22:08 +0000
Noemi Erli Noemi Erli - Backed out changeset d470f958ea61 (bug 1542910) for bustages in testEmptyWindowIsOmitted.cpp
d470f958ea613268f839f8346e983dc9d8820c06
created 2019-04-09 03:50 +0000
pushed 2019-04-09 22:08 +0000
Jeff Walden Jeff Walden - Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
79e4fd335dc6e5454d5819eb613a266679531093
created 2019-04-09 03:49 +0000
pushed 2019-04-09 09:54 +0000
Jeff Walden Jeff Walden - Bug 1542910 - Make JS::CompileFunction return a JSFunction* directly, instead of by outparam for no good reason. r=arai
4f6327fecae4df135bc1787f75e1432230b510f7
created 2019-04-08 13:45 +0300
pushed 2019-04-08 10:46 +0000
Dorel Luca Dorel Luca - Merge mozilla-inbound to mozilla-central. a=merge
2c5c5fd10cd63a09963427136e0e869d12b08f95
created 2019-04-04 15:40 +0800
pushed 2019-04-08 10:46 +0000
Yoshi Cheng-Hao Huang Yoshi Cheng-Hao Huang - Bug 1534967 - Part 3: remove Auto(Id)Vector. r=jonco
832f2c3814d38d9517571d4777797682f1398820
created 2019-04-08 06:44 +0000
pushed 2019-04-08 10:33 +0000
Jeff Walden Jeff Walden - Bug 1542462 - Rename JS::CompileFunctionUtf8 to JS::CompileFunction, and make it take JS::SourceText<mozilla::Utf8Unit>. r=arai
9e33009abc2a84be589ebc0d301fabc865cb92cb
created 2019-03-26 14:00 +0000
pushed 2019-03-27 16:35 +0000
Yoshi Cheng-Hao Huang Yoshi Cheng-Hao Huang - Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
b120777f7b7dae54e15b87a860323490e9f92a96
created 2019-01-14 23:01 -0500
pushed 2019-01-25 04:29 +0000
Jeff Walden Jeff Walden - Bug 1520878 - Process '-e foo' arguments to the JS shell as UTF-8, not Latin-1, in order to remove JS::EvaluateLatin1, the last public Latin-1-consuming compilation API in SpiderMonkey. r=jandem
6686393af7c79f40b4fe8aae87c63fa196020a63
created 2018-12-14 14:34 -0800
pushed 2018-12-27 09:26 +0000
Jeff Walden Jeff Walden - Bug 1515801 - Remove JS::CompileLatin1{ForNonSyntacticScope} now that both are unused. r=jandem
cf2f607727fdf1c435d119f4eca640f7968667e9
created 2018-12-04 17:01 -0500
pushed 2018-12-12 05:12 +0000
Jeff Walden Jeff Walden - Bug 1492932 - Load JS components and modules as UTF-8, not as Latin-1. r=kmag
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-01 05:49 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
0252a8bad879a65be1fa7e69f287090a8782eaac
created 2018-11-05 18:55 -0800
pushed 2018-11-21 04:05 +0000
Jeff Walden Jeff Walden - Bug 1504893 - Implement JS::CompileDontInflate that takes JS::SourceText<Utf8Unit>& paralleling JS::Compile that takes JS::SourceText<char16_t>&. r=arai
4b7c53151158f12abeadcd76779a26a94a9fd26b
created 2018-11-19 17:02 +0000
pushed 2018-11-19 21:56 +0000
Jan de Mooij Jan de Mooij - Bug 1508065 - Change JS_PUBLIC_{API,DATA} and JS_FRIEND_{API,DATA} to be more like similar macros to avoid confusing clang-format. r=tcampbell
642babeab993dd1729a27cb2c29237738001e737
created 2018-11-05 18:55 -0800
pushed 2018-11-15 09:54 +0000
Jeff Walden Jeff Walden - Bug 1504463 - Implement JS::CompileUtf8DontDeflate that accepts const char*/size_t and compiles it as UTF-8 of uncertain validity without first inflating to UTF-16. r=arai
7878dc0a3896030003bb27f5f18e6f1b5b0b9c38
created 2018-10-26 22:51 -0700
pushed 2018-11-15 09:54 +0000
Jeff Walden Jeff Walden - Bug 1503105 - Implement JS::CompileUtf8FileDontInflate that performs compilation as UTF-8 without inflating, for opt-in experimental use until code is stable/proven enough that JS::CompileUtf8 can compile directly from UTF-8. r=tcampbell
56eaf6c976d377cba4e44a302bdeda9e7420bd94
created 2018-11-08 18:42 -0800
pushed 2018-11-15 09:54 +0000
Jeff Walden Jeff Walden - Bug 1485800 - Rename SourceBufferHolder to SourceText, and add a <typename Unit> template parameter to it so it can hold putative UTF-8 or UTF-16 source text. r=tcampbell, r=fitzgen
958a348c9ee087971c06c74db8cf18de5d3578fe
created 2018-11-01 17:34 -0700
pushed 2018-11-13 04:24 +0000
Jeff Walden Jeff Walden - Bug 1498320 - Remove obsolete "|options.utf8| must be set" comments from UTF-8 compilation function docs. r=tcampbell
7925d1419afa944d5116dc90a2ec7dc6bb415f46
created 2018-09-17 11:24 -0700
pushed 2018-09-19 02:19 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Rename JS::CompileFunction that takes const char*/size_t for function text to JS::CompileFunctionUtf8 that asserts consistent |options.utf8|. r=jandem
378a8a44cfe22aebcdaee77f1cdda5d6d111d070
created 2018-09-17 11:24 -0700
pushed 2018-09-19 02:19 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Remove JS::Evaluate that takes const char*/size_t, rewriting all callers to use JS::Evaluate{Latin1,Utf8}, including opting some callers in to UTF-8 where they had not used it before. r=jandem
06c3e3d28ece1da9f62fcf7038dbf9ee0e22f248
created 2018-09-15 20:24 -0700
pushed 2018-09-17 16:46 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Split the JS::Evaluate that takes const char*/size_t source data into JS::EvaluateUtf8 and JS::EvaluateLatin1 that assert |options.utf8| has consistent value, plus a JS::Evaluate that delegates to one of those two as appropriate. r=jandem
48dd64a6036c69b78e1fd710d33a55b2c835f8de
created 2018-09-14 14:48 -0700
pushed 2018-09-17 16:46 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Rename the JS::Evaluate that accepts a filename and is always used to process UTF-8 source text to JS::EvaluateUtf8Path. r=jandem
34cc4a8c46c078108736af48dcc767bb9b6f994f
created 2018-09-13 16:41 -0700
pushed 2018-09-17 16:46 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Remove JS_Compile{,UC}Script, because except for argument ordering they're exactly identical to existing JS::Compile* functions. r=jandem
3f2ccbeb047d1e2bc7f2da802c65450c5d8cb5bf
created 2018-09-13 13:30 -0700
pushed 2018-09-17 16:46 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Rename JS_BufferIsCompilableUnit to JS_Utf8BufferIsCompilableUnit, consistent with how it already interprets that data, and propagate that presumption of UTF-8-ness a little bit further along into callers. r=jandem
9a5f2cfea6fce90b7938294d0ddc8a7c1f46e707
created 2018-09-13 13:30 -0700
pushed 2018-09-17 09:50 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Rename the JS::Compile function that accepts const char* path to JS::CompileUtf8Path, because every caller of it indicates the file contents should be interpreted as UTF-8. r=jandem
ce6aa70e7631e4d76698f13f1543809f85389143
created 2018-09-13 01:21 -0700
pushed 2018-09-17 09:50 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Remove the JS::CompileForNonSyntacticScope overloads that accept FILE* or a filename because they're unused. r=jandem
e53e72d72ccd4c6f4d54687ac95d7c08a8918d84
created 2018-09-13 01:21 -0700
pushed 2018-09-17 09:50 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Rename the JS::Compile function that accepts FILE* to JS::CompileUtf8File, because every caller passes a file with UTF-8 content. r=jandem
9161d07ce4e69f39f6793cdd8118330af0655672
created 2018-09-12 20:48 -0700
pushed 2018-09-17 09:50 +0000
Jeff Walden Jeff Walden - Bug 1491137 - Split the JS::Compile that takes const char*/size_t into JS::CompileUtf8 and JS::CompileLatin1 that assert |options.utf8| has consistent value, and a JS::Compile that delegates to one of those as appropriate -- a step toward having entirely separate compilation functions that do direct parsing of UTF-8 without inflating first. r=jandem
9fb317294f45476f0a2d2aa6dde4ec4848bac91d
created 2018-08-24 14:55 -0500
pushed 2018-08-29 09:43 +0000
Jeff Walden Jeff Walden - Bug 1486577 - Move compilation and evaluation APIs into a new public js/CompilationAndEvaluation.h header. r=jandem
less more (0) tip