8000 Roll to 4f7808e7dfeed96b11d51d1534f4b13351b484d3 by Yannic · Pull Request #4 · closure-tools/closure-templates · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Roll to 4f7808e7dfeed96b11d51d1534f4b13351b484d3 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3,464 commits into
base: master
Choose a base branch
from

Conversation

Yannic
Copy link
@Yannic Yannic commented Aug 29, 2019

No description provided.

@Yannic Yannic marked this pull request as ready for review August 29, 2019 19:46
Jesse-Good and others added 29 commits September 26, 2024 14:27
PiperOrigin-RevId: 684175632
…e internals to be an Array

PiperOrigin-RevId: 684611281
…return and param types. Use parameterized types from the actual Java implementation and validate those against the Soy types, recursively.

PiperOrigin-RevId: 684840982
`list<future<string>>` and `map<string, future<string>>` are now supported.

PiperOrigin-RevId: 686928501
PiperOrigin-RevId: 687092862
Change some `indexOf(String)` to `indexOf(char)`

Saw this in a profile and it is pretty trivial to improve.

PiperOrigin-RevId: 689367425
PiperOrigin-RevId: 689476025
… or false and drop some code

```
{let $foo : record(foo:null, bar:$someVar) /}
{if $foo.foo && $foo.bar}
  {$foo.bar}
{/if}
```

This warrants a longer term solution.

PiperOrigin-RevId: 689945257
PiperOrigin-RevId: 690968116
PiperOrigin-RevId: 691090984
… in idom templates.

PiperOrigin-RevId: 692186586
PiperOrigin-RevId: 692282717
…g params of type NAMED/INDEXED from indirect types. Make it a compiler error to declare an INDEXED type on a non-existent field.

PiperOrigin-RevId: 693715255
PiperOrigin-RevId: 698161519
…les) that contain Futures of specific parameter values that would be streamed by their producer.

PiperOrigin-RevId: 698857237
PiperOrigin-RevId: 698876371
PiperOrigin-RevId: 700013339
PiperOrigin-RevId: 700448568
PiperOrigin-RevId: 702645724
PiperOrigin-RevId: 702719965
Jesse-Good and others added 30 commits May 20, 2025 14:51
…on when assigning a let/param in an autojava extern.

PiperOrigin-RevId: 761675444
This appears to have the same content as the old link used to have, per the Wayback Machine: https://web.archive.org/web/20150425181710/https://javacc.java.net/doc/lexertips.html

I could also just link to the Wayback Machine instead if you prefer.

PiperOrigin-RevId: 762017444
PiperOrigin-RevId: 762406525
…ors in JBCSRC. Add param coercion to element composition calls.

PiperOrigin-RevId: 762412061
…ent longValue, floatValue, integerValue in all both and deprecate the "coerce" versions of these SoyValue methods. double-to-long or -to-int conversions are safe (throw runtime errors on out of range).

PiperOrigin-RevId: 763871357
…ill not be possible when everything is `number`.

PiperOrigin-RevId: 764399559
PiperOrigin-RevId: 764459076
…ify since that annotation can target types.

PiperOrigin-RevId: 764741211
…orted by int and float.

PiperOrigin-RevId: 764748481
PiperOrigin-RevId: 764801342
PiperOrigin-RevId: 764960119
…e, compared with a BuiltinFunction. SoyJavaExternFunction can return a Method appropriate for runtime type of the arguments(s), to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous.

PiperOrigin-RevId: 766263839
…Number.isNaN. Create Number_isInteger also.

PiperOrigin-RevId: 766378206
PiperOrigin-RevId: 766873162
PiperOrigin-RevId: 767366087
…der objects. When used inside of a let/param, they are stored without executing (i.e. "unflattened") so that printing a let/param containing a lazy call multiple times will re-execute them for each operation.

This is a no-op for all existing Soy, there are no gencode changes when there are no lazy calls.

PiperOrigin-RevId: 767681623
PiperOrigin-RevId: 767698635
…ame attribute on lets/params if we want to make their execution ordering in Java consistent in the future (i.e, `{let $foo eval="eager"}`)

PiperOrigin-RevId: 769247960
…arning instead of crashing, emit just the first matching signature.

PiperOrigin-RevId: 770202579
PiperOrigin-RevId: 770270637
PiperOrigin-RevId: 770312693
PiperOrigin-RevId: 770314447
…tern parameter. The {type}def of a record throws a seemingly unrelated error in the js_binary for the integration test js_binary. For now partialAlias is downgraded to a warning for that target only.

PiperOrigin-RevId: 770338305
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0