{"push_id":1028075475,"size":10,"distinct_size":3,"ref":"refs/heads/module-wrapper-explicit-filename","head":"f2763f734dbdfebd5941f06ab777b9114c31bb11","before":"13483e402405ebc6102314536d27acdcb5957315","commits":[{"sha":"67a1548f9d31331a2697abf31645c106e6d1acc5","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Change eval/compile automatic filename\n\nPreviously `__FILE__` was used, but this leads to some confusing error\nfile/line pairs: https://github.com/svaarala/duktape/issues/516.\n\nChange the behavior so that:\n\n* Eval code which doesn't have an explicit filename uses \"eval\" for the\n  eval temporary function .fileName.  As a result, errors thrown from\n  eval code will be identified e.g. as \"eval:17\" (17th line in the eval\n  input).  The native function or __FILE__ is not apparent.\n\n* Compiled code which doesn't have an explicit filename uses \"input\" for\n  the function .fileName.","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/67a1548f9d31331a2697abf31645c106e6d1acc5"},{"sha":"11e9a07955a796aa60c4e6e1f5bdad37e6d18b57","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"API testcases for eval/compile auto fname change","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/11e9a07955a796aa60c4e6e1f5bdad37e6d18b57"},{"sha":"fa5ef1a823dd459a19a8609527fefccc63bdd8e5","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"API doc changes for eval/compile auto filename","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/fa5ef1a823dd459a19a8609527fefccc63bdd8e5"},{"sha":"55f6160dd8d97549485b76b9c43c439f98450b82","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Releases: eval/compile auto filename","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/55f6160dd8d97549485b76b9c43c439f98450b82"},{"sha":"ace0b2e03e7c33d342bbc1737b041a6b505d2e84","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Add a .stack access example to duk_pcall() doc","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/ace0b2e03e7c33d342bbc1737b041a6b505d2e84"},{"sha":"0a82269f93bf9413482c64f7a0692374262b003f","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Merge pull request #647 from svaarala/apidoc-pcall-error-props\n\nAdd a .stack access example to duk_pcall() doc","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/0a82269f93bf9413482c64f7a0692374262b003f"},{"sha":"7e4db8dc05c07d426692f2529f1ad82c6e9582ae","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Merge pull request #644 from svaarala/duk-peval-auto-filename-change\n\nChange automatic filename for eval/compile from __FILE__ to \"eval\" / \"input\"","distinct":false,"url":"https://api.github.com/repos/svaarala/duktape/commits/7e4db8dc05c07d426692f2529f1ad82c6e9582ae"},{"sha":"30c25fa8002fbb827a11538d3f4dafd34947caaf","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Add support for module.fileName\n\n* Add module.fileName and initialize it to resolved module ID\n\n* Use module.fileName as the eval fileName which ends up in the wrapper\n  function's .fileName property\n\n* Use module.fileName as the forced .name property of the wrapper function\n  which affects stack traces (but doesn't introduce an automatic binding\n  for the function name because the function is compiled as anonymous and\n  .name is only then overridden)","distinct":true,"url":"https://api.github.com/repos/svaarala/duktape/commits/30c25fa8002fbb827a11538d3f4dafd34947caaf"},{"sha":"545415a91ee2a66c8a12ebc49861bf63c6eca2b7","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Testcase for module.fileName changes","distinct":true,"url":"https://api.github.com/repos/svaarala/duktape/commits/545415a91ee2a66c8a12ebc49861bf63c6eca2b7"},{"sha":"f2763f734dbdfebd5941f06ab777b9114c31bb11","author":{"email":"9f0eef37c5d246dfd6482a1f372bdd5eae51dfe5@iki.fi","name":"Sami Vaarala"},"message":"Releases: module.fileName","distinct":true,"url":"https://api.github.com/repos/svaarala/duktape/commits/f2763f734dbdfebd5941f06ab777b9114c31bb11"}]}