Generate type data for AbstractRendererConnector.createRenderer (#13334)
The declared return type of the most-derived getRenderer method is stored
to make the default createRenderer implementation work. This is identical
to the way AbstractComponentConnector getWidget and createWidget work.
Change-Id: I879e9e6739e366bd81773a1e65195336e0cdac6d
Return a value on __gwtStatsEvent in Profiler (#11709)
Calling GWT RPC throw an exception when __gwtStatsEvent doesn't return
a boolean. This was in the Profiler.ensureNoLogger where the function
assigned was empty.
Change-Id: If97e15eb3c2c6512e80f3bde81ba180b8c95c947
Change row data type from String[] to String (#13334)
Instead of having the data type as one-string-per-column, we now have the entire
row encoded as JSON
Change-Id: I709b2daa88c516d98203ef463b57257a6647bacd
The following things are refactored in this changeset:
* Cell interface removed
* CellInfo -> Cell
* Renderer interface becomes a single method interface
* All other methods moved from Renderer to new ComplexRenderer interface
Change-Id: I567868b8dc73783988bce6c11bc23e12d5479172
The fix to #9379 broke the support for long type fields in state classes. This
patch bypasses the unboxing of long values and adds the @UnsafeNativeLong annotation
to the methods which may fetch and return (without modifying) long values.
SerializerTest is extended to test the different data types in States.
Change-Id: I29fd2c6af13cd9a0d29ecb1444ed9eb8a2b013e3
Hide visual debugging from BasicEscalator by default (#13334)
Because this debugging info can reveal things that might vary a bit
on small internal modifications in Escalator, I've decided to
hide this information instead. The performance effects are negligible.
All the old goodies can be reintroduced by adding a "pretty" GET
parameter, if you so wish.
Also, converted a (faulty) TB2 test into TB3.
Change-Id: Icf25190e668ea9175090edba51e6d61a23007633
Ignore type parameters when looking for metadata (#12873, #12900)
All code populating the TypeDataStore is generated using
writeClassLiteral which strips away all type parameters, so the code
doing lookups should also do the same to maintain compatibility.
Change-Id: I01654f4cc15188a12c735ffed55d30a34c77a064
Add support for changing the default row height in escalator (#12645)
Since this is quite the change, I've taken the opportunity to rewrite smaller
adjoining pieces to make more sense. Move methods from classes, and so on.
These changes are, however, only on the code level, no other functionality will
be introduced by this patch.
Change-Id: I56f19c5af7dc4ccfd2fa4c9098f06e77dbfa12fb
Further changes required for this, included in the same patch:
- created GridClientRpc interface
- created test case UI for server-side controlled Grid programmatic
scrolling
- refactored getScrollPos logic into Escalator and moved
ScrollDestination enum to shared package
Change-Id: Ibf72a4f75831807d83fb5941597a6ce3fda08e17
Add support for using java.util.Date in communications (#13073)
This adds support for using separate serializer classes on the
server side, similarly to on the client side. Still it is not
public API yet as you do not have the possibility to add your
own serializers to the map used by JsonCodec.
Change-Id: I2cc4f628c5a8eba90abbd57c128c6359cbe1b4d7
* Add PushConnection interface and rename old class to
AtmospherePushConnection
* Define deferred binding to use AtmospherePushConnection by default
* Redesign connection and disconnection workflow to better cope with
situations where connection is quickly toggled
Change-Id: I9b9427c2df40d446a25895eb39e7b166cb929a85
Because of performance fixes to the handling of @DelegateToWidget
handling, the order in which property changes are delegated are no
longer deterministic. This patch fixes a bug in the test which caused
the update to value4 to be ignored if that was the last property to get
delegated.
Change-Id: Ie13a125b0d719894391b8ae3c9d2d899b163ebb4
* ServerRpc encoding uses type data from the interface
* Beans encoded on the server use reflection based on declared type
* Remove row numbers to enable adding test without changing old indices
* Update test to send non-primitive map values
Change-Id: I0462b547cb7de252564b3569420b0b24cee4515f