profile
viewpoint

google/j2cl 748

Java to Closure JavaScript transpiler

google/elemental2 106

Type checked access to browser APIs for Java code.

google/jsinterop-generator 64

Generates Java annotated with JsInterop from JavaScript extern sources

google/jsinterop-base 55

Utilities for GWT and J2CL to interact with JavaScript beyond JsInterop

google/j2cl-protobuf 11

Protocol Buffers implementation for J2CL

google/jsinterop-annotations 9

JsInterop java annotations for J2CL and GWT

rluble/antlr-example 0

A small expression parser in ANTlr

rluble/javapoet 0

A Java API for generating .java source files.

rluble/rules_closure 0

Ivory Tower JavaScript Build System

push eventgoogle/j2cl

Roberto Lublinerman

commit sha eabe1fc095c4c58232bc0a666e60e77fca0401a7

Add a workaround for jscompiler bug involving nested labels. PiperOrigin-RevId: 344317275

view details

push time in 2 days

push eventgoogle/j2cl

Roberto Lublinerman

commit sha b08a53f3a041bb2dd8bc581f6cc362cb2dbf1233

Add integration test fora a labeled statement that is not a looping construct. PiperOrigin-RevId: 344284637

view details

push time in 2 days

push eventgoogle/j2cl

Julien Dramaix

commit sha ea64b4e9482d076916f5c10f5b78e67f58320e1c

[WASM] Enable simple integration tests PiperOrigin-RevId: 343944823

view details

push time in 4 days

push eventgoogle/j2cl

Googler

commit sha e673f731a820ffebc8db98f46497e34bd53ea45c

Migrate from deprecated "chromeOptions" to supported "goog:chromeOptions". PiperOrigin-RevId: 343570752

view details

push time in 7 days

push eventgoogle/j2cl

Julien Dramaix

commit sha f1c2042a79824569b71966324c15b9f001db4bab

[WASM] Render MultiExpressions. PiperOrigin-RevId: 343440348

view details

push time in 7 days

push eventgoogle/j2cl

Roberto Lublinerman

commit sha 9cca179607e60813801521000d1f876ad2c378d7

Add pass to rewrite logical shortcutting operations into ternary conditionals. PiperOrigin-RevId: 343377400

view details

push time in 8 days

push eventgoogle/j2cl

Julien Dramaix

commit sha de4a985e53b1bc68f01d61938509fec7d0994165

Add build_test for wasm readable examples. PiperOrigin-RevId: 343371520

view details

push time in 8 days

push eventgoogle/j2cl

Julien Dramaix

commit sha b7a998e814a95f98aa563742ab4e997da133e66e

[WASM] Render unary expression and compound assignments. PiperOrigin-RevId: 343348024

view details

push time in 8 days

push eventgoogle/j2cl

Roberto Lublinerman

commit sha c21a161ab04df0c5d8cce6c50cdcadf43e12c488

[WASM] Implement the ternary conditional operation. PiperOrigin-RevId: 343215051

view details

push time in 9 days

push eventgoogle/j2cl

Roberto Lublinerman

commit sha ca55303dd0bf2606951da36cb75d9935e9d95a10

[WASM] Implement variable references. PiperOrigin-RevId: 343020749

view details

push time in 9 days

push eventgoogle/j2cl

Goktug Gokdogan

commit sha cef9ca92217322113a51a193ef717650acd0e379

Ensure output buffer is cleaned between worker runs. PiperOrigin-RevId: 342964702

view details

push time in 10 days

push eventgoogle/j2cl

Julien Dramaix

commit sha bb5d0d79ad6dcec553fd32fdb885ddb64dca7e79

[WASM] Implement binary operations. PiperOrigin-RevId: 342920421

view details

push time in 10 days

push eventgoogle/j2cl

Julien Dramaix

commit sha ba8fd4e937b9ddd2c73d2b25648eb3ee8ee82aa5

Add .bazelversion file to each sample. PiperOrigin-RevId: 342744720

view details

push time in 11 days

CommitCommentEvent
CommitCommentEvent

push eventgoogle/j2cl

Goktug Gokdogan

commit sha 4756749df363428fce5a39293794ecbea3bf0ae1

[WASM] Improve variable naming. PiperOrigin-RevId: 342374537

view details

push time in 14 days

push eventgoogle/j2cl-protobuf

Kevin O'Connor

commit sha 4416f25be5b446ea47e9656c0b402aee23ba278a

Stop generating the repeated field view of maps PiperOrigin-RevId: 342350461

view details

push time in 14 days

push eventgoogle/jsinterop-base

Julien Dramaix

commit sha 7077633fd52a259fcf89108b2ef7acedf51d839d

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/jsinterop-generator

Julien Dramaix

commit sha 302ded004b63fe0f50c93166b5ef3a0d69858bd0

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/j2cl

Julien Dramaix

commit sha fd082a82ee6eb1a521be25c5ceff952d82d507bb

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/j2cl-protobuf

Julien Dramaix

commit sha 848aa2d0b784d31484312472726ea9e3f0a3434d

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/elemental2

Julien Dramaix

commit sha 0ffed0daab16241fea0bd96c6df42f0e09b6f7ab

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/jsinterop-annotations

Julien Dramaix

commit sha 79f2a9910476e7f4430472c3667b2459bb5c2416

Fix oss build and enable samples build in Travis. PiperOrigin-RevId: 342342492

view details

push time in 14 days

push eventgoogle/elemental2

Julien Dramaix

commit sha 00a94f0bdf45dcf07022bec304e8e5de3b60366c

[2020/11/12] Automatic update of elemental2 diff offset. PiperOrigin-RevId: 342305462

view details

push time in 14 days

push eventgoogle/j2cl

Julien Dramaix

commit sha 52fa5050c548bc4795a79920ce41e7bec2c9173d

Fix javadoc of Expression#infixEquals PiperOrigin-RevId: 342200433

view details

push time in 14 days

push eventgoogle/j2cl

Julien Dramaix

commit sha 06f9f1a7daa3e081219039e44fd120b7dec9f127

Fix oss build. PiperOrigin-RevId: 342169385

view details

push time in 15 days

push eventgoogle/j2cl

Julien Dramaix

commit sha 312f6afa9beeac98b56378ec8f96ba825d8f7fa5

Use unzip instead of ijar. PiperOrigin-RevId: 342115106

view details

push time in 15 days

push eventgoogle/j2cl

Julien Dramaix

commit sha 63dd354bdc0b9c4e1501db28f3b0b063dd88d60d

Add wasp compilation to j2wasm_application. PiperOrigin-RevId: 342089968

view details

push time in 15 days

issue commentgwtproject/gwt

Regression with long emulation

It looks like the bug is in LongLib.toBigLong(SmallLong longValue). When it attempts to convert a double with value 2 ^ 44 it is forgetting about the high bits.

Adding an else section such as:

private static BigLong toBigLong(SmallLong longValue) {
    double value = asDouble(longValue);
    int a3 = 0;
    if (value < 0) {
      // Convert to a positive number that will have the exact same first 44 bits
      value += BigLongLibBase.TWO_PWR_44_DBL;
      a3 = BigLongLib.MASK_2;
    } else {
      a3 = (int) (value / BigLongLibBase.TWO_PWR_44_DBL);
      value -= a3 * BigLongLibBase.TWO_PWR_44_DBL;
    }
    int a1 = (int) (value / BigLongLibBase.TWO_PWR_22_DBL);
    int a0 = (int) (value - a1 * BigLongLibBase.TWO_PWR_22_DBL);
    return BigLongLibBase.create(a0, a1, a3);
  }

will probably solve this issue.

yoseph-phillips

comment created time in 16 days

push eventgoogle/j2cl-protobuf

Goktug Gokdogan

commit sha ac45ab1b6960ab011b2256dec6557c67d24ee9b4

Fix edge where extension storage accessed after Builder.build. Extension storage (the storage after pivot) is lazily initialized. That means if the storage wasn't accessed by Builder, then the storage might get initialized after the build on field access. Existing build method is calling freeze after the copy to catch potential implementation issues and this resulted in exception to be thrown in scenario that is explained earlier. Since freezing is not recursive anyway, we are not really catching more interesting accidental modifications so I don't see much value in trying to workaround it. Hence I removed it instead. Alternatives considered: 1. Eagerly initialize array. This will result in all storage to be initialized up to the pivot point which will increase memory usage and wire size unnecessarily. 2. Update hasser/getters to pass a flag to not initialize storage field. This introduces extra complexity and also has potential implication on builder API that may eagerly create a wrapper object (ListView/MapView). 3. Check and silently return empty array from getStorageFor. I don't like this option since it will result in silent mistakes if the storage object is accessed and object is array was frozen accidentally. This will defeat one of the main point of freezing and harder to debug the issue. PiperOrigin-RevId: 341868341

view details

push time in 16 days

more