Age | Commit message (Collapse) | Author |
|
Change-Id: I7bd3975f456df77541f1e2f4a3f33570f6f96b32
|
|
Change-Id: I02b6284c70b72ae12b3e6f787127d351aeb491b1
|
|
SqlTimestampDeserializer deserialize method parsed timestamp string
using java.text.SimpleDateFormat. This made a timestamp value to be
misunderstood.
To fix this issue SqlTimestampDeserializer was modified to call
JavaSqlTimestamp_JsonSerializer.parseTimestamp.
Bug: issue 850
Change-Id: I83fa5f78500feb2f782412f58c8c0d4a57c11b90
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Change-Id: I35563e668a1e9814293754069868ba7f1e2395e0
|
|
Change-Id: I8082df29fe6dad04b140dedc33f4ce1e04d1145d
|
|
A broken client might omit the header, causing an NPE on the server.
Instead return an error message letting them know we expect them
to expect JSON responses.
Change-Id: Ic41a4b0849786dbea757acd0f8a1152e9d737dea
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Change-Id: I5182845ad7206cc64c77c54b5596029d5010c05f
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Change-Id: I0eed556cfca6922e661bfc214e42b8d109929d85
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
GWT compile ERROR:
Constructors must be 'protected' in subclasses of JavaScriptObject
This reverts commit 2a4378f9e5533cfbb5dea3ad79f6763c9fdcc453.
|
|
This Maven repository is really old and doesn't contain anything
newer than GWT 1.5.0-rc1. We shouldn't be linking to it as part
of our search path.
Change-Id: Idf9f4b0666b6d2cdf69dcf43432f75da7b8957c2
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Change-Id: I2a4e0c4dde08167f5c86088ff46d7a43209d0708
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: I6050ae214d2c8b3ecf5326b064d02d986b1e91ce
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: I7d2509e69c468b3f049f644f7a0c50f6fc96968f
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: I4d379aadf6ed25b4cb10957cb86b192f7dbec04f
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: Idbf753dadfa9256eebc17a2ec42ef6f225e2615f
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: I853696d3c034d14e32403967c3868c8c4fe69a4b
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: Ic28689790637072a32a4aaed3ee6708e00dda9ac
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: I8640f4dcdb982ea55a9192a5d114472a19c891b3
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
We now support both the GET and POST syntax for JSON-RPC 2.0.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
We had an extra array in the 2.0 POST parameters.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Use
.client : client/shared code
.client.event : the event classes
.client.impl : private api needing to be public
.client.impl.ser : provided (de)serializers
.client.impl.v1_1 : JSON-RPC version 1.1 impl (POST)
.client.impl.v2_0 : JSON-RPC version 2.0 impl (POST+GET)
Change-Id: Ic0baad30e404d2c818affb3e13c11f31fd264178
Signed-off-by: Gert Scholten <gscholt@gmail.com>
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Change-Id: I0047ea8bb18cb5840f56824d08480d37fca77e22
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Abstract types themselves can not be (de)serialized.
Change-Id: Id8c327659eb4e4aa8686bed447d82134ddb9c288
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Change-Id: If97e265d7487ec3cb7735a3a881be6a60a49c797
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
No changes needed for gwtjsonrpc, but the client will need updates,
dependent on it's dependancy on the user.agent.
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
This permits reusing this logic in other contexts, like outside of
the JsonServlet call processing, but in an application that still
relies heavily upon it.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Instead of using a unique XSRF token for each servlet, we now use a
token for the entire web application context. Proxies all share the
same token, but this can be overridden by the application developer
by creating their own XsrfManager instance.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
GWT provides us the concrete type information when processing a user
defined class that has type parameters declared on it. Unfortunately
we can't see the type parameters, so we can't determine how the inputs
need to be passed down through the serializer chain. Instead by using
a unique serializer class name per permutation of type parameters we
are able to just inline the type information all the way down.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
This better matches with the GWT library design in 1.6 and future
versions, as we create two different handlers for the different
events applications might want.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
The parameter type changed, so the native reference must
also be updated to match.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Parameterized result types are stored as instance members in the
proxy, and thus must be held in a field of type ResultDeserializer<R>
and not a JsonSerializer<R>.
Also add support for ResultDeserializer to the various basic Java
collection types we support.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
and CallbackHandle
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
(missing at the moment are HPC and CallbackHandle)
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
and object fields.
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
Signed-off-by: Gert Scholten <gscholt@gmail.com>
|