aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/js
Commit message (Collapse)AuthorAge
* Merge pull request #4299 from hekike/feat/add-commonjs-strict-import-styleGravatar Joshua Haberman2018-07-02
|\ | | | | Feat: add import-style=commonjs_strict option to the compiler
* \ Merge pull request #4827 from acozzette/merge-3-6-xGravatar Adam Cozzette2018-06-25
|\ \ | | | | | | Merge 3.6.x branch into master
| * \ Merge branch '3.6.x' into merge-3-6-xGravatar Adam Cozzette2018-06-25
| |\ \
* | | | Remove the executable bit from several source code filesGravatar Sebastian Schuberth2018-06-25
|/ / / | | | | | | | | | This potentially avoids compiler warnings.
* | | not emptyGravatar ming2018-06-19
| | |
* | | check provided sizeGravatar ming2018-06-19
| | |
* | | Remove js_embed binary. (#4709)Gravatar Feng Xiao2018-06-01
| | | | | | | | | | | | * Remove js_embed binary.
| * | Fixed JS parsing of unspecified map keysGravatar Adam Cozzette2018-05-25
|/ / | | | | | | | | | | | | | | | | We need to use a default of 0 when parsing unspecified map keys, instead of failing an assertion. This change was written by Michael Aaron (michaelaaron@google.com) but I am cherry-picking it directly instead of waiting for the next sync of Google-internal changes.
| * fix(js_generator): check for protoGravatar Peter Marton2018-05-21
| |
| * Fix strict JS generator with import in a protofileGravatar Peter Marton2018-05-08
| |
| * Feat: add import-style=commonjs_strict option to the compilerGravatar Peter Marton2018-05-08
|/
* Merge branch 'master' into down-integrateGravatar Adam Cozzette2018-03-13
|\
* | Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
| |
| * Merge pull request #3186 from gkelly/remove-unused-variableGravatar Feng Xiao2018-02-20
|/| | | | | Remove unused output_file variable from js_embed
* | Integrated internal changes from GoogleGravatar Adam Cozzette2017-12-01
| |
* | Merge from google internalGravatar Jisi Liu2017-10-18
| |
* | Integrated internal changes from GoogleGravatar Adam Cozzette2017-09-14
| |
* | Merge branch 'master' into 3.4.xGravatar Bo Yang2017-08-05
|\ \
| * | Fix quotation marksGravatar Adam2017-07-24
| | |
| * | Fix issue #1745 - javascript allow dot in filenameGravatar Adam2017-07-24
| | |
* | | Merge from Google internal for 3.4 releaseGravatar Jisi Liu2017-07-18
|/ /
| * Remove unused output_file variable from js_embedGravatar Garret Kelly2017-06-05
|/ | | | | The js_embed tool outputs to stdout, so the output_file variable is unnecessary and unused.
* Down-integrate from google3.Gravatar Feng Xiao2017-03-29
|
* Fix generation of extending nested messages in JavaScript (#2439)Gravatar Marcus Longmuir2017-01-06
| | | | | | * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build
* Merge pull request #2536 from jbrianceau/fix-js-embed-include-styleGravatar Adam Cozzette2017-01-04
|\ | | | | Fix include in auto-generated well_known_types_embed.cc
| * Fix include in auto-generated well_known_types_embed.ccGravatar Julien Brianceau2016-12-27
| | | | | | | | | | Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc
* | Fix warning in compiler/js/embed.ccGravatar Julien Brianceau2016-12-27
|/ | | | | | | embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^
* Auto-generate well_known_types_embed.ccGravatar Adam Cozzette2016-12-19
| | | | | | | Until now this file was just checked into the repo, but actually it should be generated from any.js, struct.js, and timestamp.js. This change updates the build system to make this happen. To make it work I also had to remove some C++11 features from embed.cc.
* Add missing include in embed.ccGravatar Julien Brianceau2016-12-13
| | | | | This changes fixes "error C2039: 'getline': is not a member of 'std'" compilation error.
* Fix #include in cc filesGravatar Julien Brianceau2016-12-09
|
* Add missing include in embed.ccGravatar Julien Brianceau2016-12-08
| | | | | This changes fixes "use of undeclared identifier 'assert'" compilation error.
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-11-17
|
* Fixed references to foreign nested messages with CommonJS-style importsGravatar Adam Cozzette2016-10-10
| | | | | | | | A bug was causing generated JSPB code with CommonJS-style imports to refer incorrectly to nested messages from other .proto files. The generated code would have things like "test_pb.InnerMessage" instead of "test_pb.OuterMessage.InnerMessage". This commit fixes the problem by correctly taking into account any message nesting.
* Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵Gravatar Adam Cozzette2016-10-10
| | | | | | | | | (#2146) Currently deserialization of a non-packed binary repeated field is quadratic in the number of elements, because each time we parse a new element we copy over all elements we have parsed so far. This CL fixes the performance problem by having the generated deserialization code just call addX() instead of using getX() and setX().
* Integrate internal changesGravatar Bo Yang2016-10-10
|
* Add and fix C++ runtime docsGravatar Jisi Liu2016-08-02
|
* restore old behavior for toObjectGravatar Nikolai Vavilov2016-07-19
|
* nitsGravatar Nikolai Vavilov2016-07-19
|
* Make implicit defaults consistent with explicit defaultsGravatar Nikolai Vavilov2016-07-19
|
* Merge pull request #1802 from haberman/jsmapbinGravatar Joshua Haberman2016-07-18
|\ | | | | JavaScript: segregate references to binary functionality
| * JavaScript: move extension binary info to separate struct.Gravatar Josh Haberman2016-07-18
| |
| * JavaScript maps: move binary callbacks out of constructor.Gravatar Josh Haberman2016-07-18
| | | | | | | | | | | | This change will help us separate binary support into separate files, because we only refer to binary serialization functions in the actual binary serialization paths.
* | Integrate from internal code base.Gravatar Feng Xiao2016-07-13
|/
* Fix spelling in strings and commentsGravatar Otto Kekäläinen2016-07-03
|
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | This includes all internal changes from around May 20 to now.
* Bugfix: base the require logic on the file being required.Gravatar Josh Haberman2016-06-16
|
* JS: import well-known types from google-protobuf package.Gravatar Josh Haberman2016-06-16
|
* Merge pull request #1547 from xyzzyz/js_generatorGravatar Joshua Haberman2016-05-18
|\ | | | | Fix #include in js_generator.cc
* | Integrate interanl changesGravatar Bo Yang2016-05-18
| |
| * Fix #include in js_generator.ccGravatar Adam Michalik2016-05-17
|/ | | | | The commit 3b3c8abb9635eb3ea078a821a99c9ef29d66dff7 has replaced the <> with "" in #include statement in js_generator.cc