Ilia Motornyi
f7279f7330
Update Copyright headers for year 2018 (#10762)
pirms 6 gadiem
Artur Signell
c5c52684eb
Format Java files using Eclipse Neon and Vaadin settings
Using the same formatting in the 7.7 branch and the master branch
eases porting of fixes
Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
pirms 7 gadiem
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
pirms 8 gadiem
Artur Signell
aaf0420be5
Correctly report timing information again (#19661)
Change-Id: I3d37118c7bafeac3340a6f0305c96bfe601ebb59
pirms 8 gadiem
Henri Sara
05003bafeb
Omit timings in production mode (#19644)
* UIDL responses only include server side timing information when not
in production mode.
* Update documentation accordingly.
Change-Id: I961d1fdc96b3d04f22254fcd13a5412f17118b42
pirms 8 gadiem
Henri Sara
ddf4e617b2
Update/add @since tags in javadoc
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
pirms 8 gadiem
Artur Signell
808297cb94
Create ConnectionStateHandler instance to enable overriding (#19017)
Change-Id: Idef9f42d4db109f236bc7b5e756c9e7441a618fc
pirms 8 gadiem
Denis Anisimov
cd1d8ba342
Use high resolution time for profiling if it's available #14716, #18782.
Change-Id: Id45ccd47cac3bcdb14c5d4e93e4fb8225b1b2864
pirms 9 gadiem
Mika Murtojarvi
82a0322347
Update @since tags for 7.6.
Change-Id: I69df09f371aae61f9e1ef741814f6e3016510fe2
pirms 8 gadiem
Artur Signell
50c3190131
Preload reconnect dialog resources (#11733)
Change-Id: Id89e5ecdad64d6000c6d3d518411cc1553cc7dd1
pirms 8 gadiem
Artur Signell
24ac02a523
API refactor based on review (#11733)
ServerMessageHandler -> MessageHandler
ServerCommunicationHandler -> MessageSender
State -> ApplicationState
CommunicationProblemHandler -> ConnectionStateHandler
CommunicationProblemEvent -> XhrConnectionError
Change-Id: I2eccfea9cf6a275eba02ac605b6a172e496bd004
pirms 8 gadiem
Artur Signell
b71cc2ffa9
Make non public API private again and update javadoc (#11733)
Change-Id: Ie7a28488e4642a294f0341f00fc98b2ef38922b6
pirms 8 gadiem
Artur Signell
8b30dbf46f
Handle unparsable JSON as invalid content (#11733)
Change-Id: I67ed5e78b93ff0fe20d861105a0aa01ae6ccb2e6
pirms 8 gadiem
Artur Signell
79694b4f80
Resynchronize everything after theme change (#18478)
Change-Id: Id56d0ff7b2c675780c84efe999cb4b9d655df4cd
pirms 9 gadiem
Artur Signell
33751bb59b
Initial version of the reconnect dialog and a problem handler which uses it (#11733)
Limitations
* Does not take Push into account
* Hard coded parameters
* Only theme for Valo
Change-Id: Iddb12d20391bcd30dc7289b7ea694ac3fbbd116d
pirms 9 gadiem
Artur Signell
132ca1e1b6
Extract CommunicationProblemHandler methods to an interface (#11733)
Change-Id: Id44eed32a91721a67859d8daedefd3c7a17d61dc
pirms 9 gadiem
Artur Signell
ba2efda9d3
Simplify UIDL message handling (#11733)
Pass only JSONObject around instead of multiple versions
Change-Id: Ibf747df366e384df8e3cc6f5153100168514f63a
pirms 9 gadiem
Artur Signell
72b36bbe2d
Use counter in client to server messages to avoid duplicate handling (#11733)
An server message id counter is included in every client to server message and an
expected id is included in every server to client message. This makes it safe to
re-send any message when the client is not 100% sure the server has received the
message, without having to worry about double handling on the server side.
Change-Id: I840cc04829fc2491f35a0e6f98f07eaf46b1ea42
pirms 9 gadiem
Artur Signell
90b4c678d1
Separate server message sending to its own class (#11733)
Change-Id: Ib3c4ac687387f2a239908b7e25e2753dbbf7e98b
pirms 9 gadiem
Artur Signell
2e8d06f89b
Separate server message handling to its own class (#11733)
Change-Id: Ic4342171ecbdae4b6e6075fa9ed6d4eebe399a87
pirms 9 gadiem
Artur Signell
010b9641dd
Separate XHR error handling to its own class (#11733)
Change-Id: Iddd885a6a3a753c0be08c9afe6e97b9e589b8368
pirms 9 gadiem
Artur Signell
bd2c31d14c
Separate server RPC queue to its own class (#11733)
Change-Id: Ib810406801305cd23a943a4e468610896d166958
pirms 9 gadiem
Artur Signell
e704d27ef1
Track application state through an explicit variable (#11733)
Change-Id: Ic9b7b6dd82e47229c0d40bd2bd4731537f4d4ae4
pirms 9 gadiem
Artur Signell
d9ebf4ef71
Ensure application is stopped when stopped events are sent (#11733)
Failing to do this cause an infinite loop if a stop event causes stopping of the application
Change-Id: Ibb36c2eca6c6e1bc10192b4d2d808042793fb2fa
pirms 9 gadiem
Artur Signell
2427aa54ae
Remove ConnectionStatusEvent (#11733)
The event was some times fired and sometimes not when a response was received.
It will be replaced by the new error handler
Change-Id: I7fb00a473d20e62387122a8b240704561fbc294b
pirms 9 gadiem
Artur Signell
7dcba4ed85
Do not send empty server requests (#11733)
Change-Id: Icacc102132ac4fbd8e00f97b3a752f2483cf3936
pirms 9 gadiem
Artur Signell
09526e4b7f
Remove 'burst' concept to simplify communication handling (#11733)
Change-Id: I74f173e69491f23dc49b1ff577a45f611b0eed1c
pirms 9 gadiem
Artur Signell
b541e8e4e9
Fix incorrect system notifications with details styling (#18340)
Change-Id: Ia0d36147eb4ed9f170123771ac2674df584e6a4b
pirms 9 gadiem
Artur Signell
10e7a466bc
Pass critical notification details to the client (#18342)
Change-Id: I3c4eace624453eb854a32fef5fe44d253b164f62
pirms 9 gadiem
Artur Signell
3b7ddf8aa0
Backport a resynchronization fix for 7.5 (#15405)
Change-Id: I62178ada54de6a814704dd7e166e9e9e3403c83b
pirms 9 gadiem
Johannes Dahlström
8ba56b9c44
Refactor handling of focus and blur RPC in Connectors (#17917)
Change-Id: I2e4fb3fb941fda2aa4cbc7154fa9a3f7e8e9ce02
pirms 9 gadiem
Pekka Hyvönen
0d1bbc946c
Fixes regression in Notifications and tests (#14872)
Change-Id: Ifa52508f5555c47b778cb7f80aa09f665b03b8d4
pirms 9 gadiem
Artur Signell
718eb3e49a
VConsole logging -> java.util.logging
Change-Id: Id1b04e1335f0906f8de2d514ff11bc744dc14c49
pirms 9 gadiem
Henrik Paul
5692572146
Makes Connectors into DeferredWorker candidates (#17127)
Change-Id: Ie24a85a2c4abc5e68af0bec2af4dcbcabee77c91
pirms 9 gadiem
Artur Signell
374e6904e2
Use the existing communication error handler if one exists (#16938)
Change-Id: If3645dee1f4f3d5a7b1654a60db8734c8ec1ac01
pirms 9 gadiem
Artur Signell
4b85cc324a
Do not restart application if messages are received (#16868)
Change-Id: I5ede5efb7ae9a171fac79f2ead98e2fb12c249c4
pirms 9 gadiem
Artur Signell
f33e08aa42
Do not re-schedule an already scheduled lock breaker (#15317)
Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4
pirms 9 gadiem
Artur Signell
96362ac38b
Fix @since for 7.4
Change-Id: I71f3a7cd6b91174c306e5cd60e20dbf0150f4a53
pirms 9 gadiem
Leif Åstrand
74aa5c7381
Disallow layoutNow() while updating the state (#13611)
Change-Id: Ic519cbfb6507566a46d0313455695c4a40de55b8
pirms 9 gadiem
Leif Åstrand
8e17afda2e
Rename BackgroundMessage -> NoLoadingIndicator (#15373)
Change-Id: Icc25e5727880baa9dceba3394522b3c5b3a4314f
pirms 9 gadiem
Leif Åstrand
e20f6fd54a
Include UI class @JavaScript and @StyleSheet in bootstrap html (#9045)
Change-Id: I9d4243fa6f91ba5bc3449d0a3ec24f209e6360e6
pirms 9 gadiem
Leif Åstrand
2e0d4f149a
Add @BackgroundMessage annotation (#15373)
Change-Id: Id5367b7b1ef4b7dbabfd58902ac6134222e641ba
pirms 9 gadiem
Artur Signell
44d34f59c0
Move elemental json dependency to DWS (#15544)
Change-Id: I1b525e4d8df60f8e36bad9e5054d948da5b34813
pirms 9 gadiem
Artur Signell
e6f97d6f52
Remove dependencies from ProgressBar/Escalator to parts related to the server (#15544)
Change-Id: I45e6a651daf00f1d6868ad27c042891ef0d34f6a
pirms 9 gadiem
Leif Åstrand
93c56ee184
Get rid of WidgetUtil.getSimpleName (#15544)
Change-Id: I345938e5e2196bbc8438b3401879507994b3b050
pirms 9 gadiem
Artur Signell
bf8836bb56
Separate pure client side util methods to a new class (#15553, #15544)
* Deprecated old methods in Util for backwards compatibility
Change-Id: I9de5e6b930d9f2c0268967dc7b1cf465e6310280
pirms 9 gadiem
Mika Murtojärvi
57d1b87d7f
Revert "Output legacy locators for TestBench Recorder (#14102)."
This reverts commit f50b07abc7
.
- the same issue is solved by https://dev.vaadin.com/review/#/c/4459/8
Change-Id: I6807fd48fd36791a9214d2223cabc6d4322bcba7
pirms 9 gadiem
Leif Åstrand
fd62b6efe8
replace com.google.gwt.json.* usages with elemental.json.* (#8942)
Change-Id: I745b12685be4696fd8f1158005bf731f35ae8a81
pirms 9 gadiem
Sauli Tähkäpää
f2cb9ae846
Add missing @since for 7.3.7.
Change-Id: I44b29ca74ed9d8037a307b790115c2e21cb2c376
pirms 9 gadiem
Fabian Lange
ab9d395d3a
always retry a status code 0 uidl request (#15254)
A status code of 0 indicates that the request has not been handled by
the server because the connection was closed without sending response
headers.
This can happen on the browser side when the browser window is closed,
or it can happen on network equipment side under adverse quality of link
conditions.
Therefore vaadin should retry such a request once before popping up the
disconnect message.
Change-Id: I9524c97a3de8e4ac9499394a2a795b0441a36ead
pirms 9 gadiem