Ahmed Ashour
3763f3f94c
Use lambda expressions. (#10268)
6 years ago
Ahmed Ashour
10bd7544fd
Improve naming of fields and variables (#10242)
* Variable names to conform to naming convention.
* Use static constants where it makes sense
6 years ago
Ahmed Ashour
7c8f440781
Remove trailing spaces (#10224)
6 years ago
Ahmed Ashour
0f4702c6d1
Add spaces after 'if' and 'for' in JavaScript (#10199)
* Add spaces after 'if' and 'for' in JavaScript
* Revert to old format
* Remove whitespaces
6 years ago
Ahmed Ashour
dd5597d901
Convert AbstractDateField not to be a LegacyComponent (#10148)
6 years ago
Ahmed Ashour
763a5cbe8c
First sentence of javadoc should end with a period (#10114)
Also includes minor other javadoc and formatting fixes.
6 years ago
Ahmed Ashour
7065740d6d
Use interface instead of implementation (#10073)
6 years ago
Ahmed Ashour
73119c7193
Fix javadoc references (#10067)
And remove unused imports.
6 years ago
Ahmed Ashour
132d9fa60e
Fix unused parameters in javadoc (#10055)
6 years ago
Ahmed Ashour
11ddb11cbc
Update modifier order to follow Java Specification suggestions (#10050)
Also includes some other minor cleanup.
6 years ago
Artur
3d6a25c2f1
Find active connector anywhere in the DOM (#9429)
Fixes #9419
7 years ago
Artur
bb46fff437
Add support for frontend:// using separate es5 and es6 folders
7 years ago
Artur
bba4e4037b
Translate "context://" to the context root of the web app
Fixes #2523
7 years ago
Leif Åstrand
07d56a9ca0
Add a maven plugin for formatting according to Eclipse settings
Running formatter:format will format all files in a submodule using an
embedded Eclipse compiler (based on Neon SR1)
according to the regular formatting settings file.
7 years ago
Artur
1b7f597161
Code cleanup: Move dependency loading logic to a separate class (#8290)
7 years ago
Artur Signell
504b3c4c65
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
7 years ago
Artur Signell
0732591758
Organize imports
Change-Id: Ie58291fd4858d5421b23e56603808f158d559687
7 years ago
Artur Signell
010954022d
Make window.vaadin.forceSync do something again
Change-Id: I220b29a81aa2c1b05743d5bf03bc4ca2eb017dd5
7 years ago
Artur Signell
be6a0cfd84
Organize imports
Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
7 years ago
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 years ago
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 years ago
Artur Signell
aaf0420be5
Correctly report timing information again (#19661)
Change-Id: I3d37118c7bafeac3340a6f0305c96bfe601ebb59
8 years ago
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
8 years ago
Henri Sara
ddf4e617b2
Update/add @since tags in javadoc
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
8 years ago
Artur Signell
808297cb94
Create ConnectionStateHandler instance to enable overriding (#19017)
Change-Id: Idef9f42d4db109f236bc7b5e756c9e7441a618fc
8 years ago
Denis Anisimov
cd1d8ba342
Use high resolution time for profiling if it's available #14716, #18782.
Change-Id: Id45ccd47cac3bcdb14c5d4e93e4fb8225b1b2864
9 years ago
Mika Murtojarvi
82a0322347
Update @since tags for 7.6.
Change-Id: I69df09f371aae61f9e1ef741814f6e3016510fe2
8 years ago
Artur Signell
50c3190131
Preload reconnect dialog resources (#11733)
Change-Id: Id89e5ecdad64d6000c6d3d518411cc1553cc7dd1
8 years ago
Artur Signell
24ac02a523
API refactor based on review (#11733)
ServerMessageHandler -> MessageHandler
ServerCommunicationHandler -> MessageSender
State -> ApplicationState
CommunicationProblemHandler -> ConnectionStateHandler
CommunicationProblemEvent -> XhrConnectionError
Change-Id: I2eccfea9cf6a275eba02ac605b6a172e496bd004
8 years ago
Artur Signell
b71cc2ffa9
Make non public API private again and update javadoc (#11733)
Change-Id: Ie7a28488e4642a294f0341f00fc98b2ef38922b6
8 years ago
Artur Signell
8b30dbf46f
Handle unparsable JSON as invalid content (#11733)
Change-Id: I67ed5e78b93ff0fe20d861105a0aa01ae6ccb2e6
8 years ago
Artur Signell
79694b4f80
Resynchronize everything after theme change (#18478)
Change-Id: Id56d0ff7b2c675780c84efe999cb4b9d655df4cd
9 years ago
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
9 years ago
Artur Signell
132ca1e1b6
Extract CommunicationProblemHandler methods to an interface (#11733)
Change-Id: Id44eed32a91721a67859d8daedefd3c7a17d61dc
9 years ago
Artur Signell
ba2efda9d3
Simplify UIDL message handling (#11733)
Pass only JSONObject around instead of multiple versions
Change-Id: Ibf747df366e384df8e3cc6f5153100168514f63a
9 years ago
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
9 years ago
Artur Signell
90b4c678d1
Separate server message sending to its own class (#11733)
Change-Id: Ib3c4ac687387f2a239908b7e25e2753dbbf7e98b
9 years ago
Artur Signell
2e8d06f89b
Separate server message handling to its own class (#11733)
Change-Id: Ic4342171ecbdae4b6e6075fa9ed6d4eebe399a87
9 years ago
Artur Signell
010b9641dd
Separate XHR error handling to its own class (#11733)
Change-Id: Iddd885a6a3a753c0be08c9afe6e97b9e589b8368
9 years ago
Artur Signell
bd2c31d14c
Separate server RPC queue to its own class (#11733)
Change-Id: Ib810406801305cd23a943a4e468610896d166958
9 years ago
Artur Signell
e704d27ef1
Track application state through an explicit variable (#11733)
Change-Id: Ic9b7b6dd82e47229c0d40bd2bd4731537f4d4ae4
9 years ago
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
9 years ago
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
9 years ago
Artur Signell
7dcba4ed85
Do not send empty server requests (#11733)
Change-Id: Icacc102132ac4fbd8e00f97b3a752f2483cf3936
9 years ago
Artur Signell
09526e4b7f
Remove 'burst' concept to simplify communication handling (#11733)
Change-Id: I74f173e69491f23dc49b1ff577a45f611b0eed1c
9 years ago
Artur Signell
b541e8e4e9
Fix incorrect system notifications with details styling (#18340)
Change-Id: Ia0d36147eb4ed9f170123771ac2674df584e6a4b
9 years ago
Artur Signell
10e7a466bc
Pass critical notification details to the client (#18342)
Change-Id: I3c4eace624453eb854a32fef5fe44d253b164f62
9 years ago
Artur Signell
3b7ddf8aa0
Backport a resynchronization fix for 7.5 (#15405)
Change-Id: I62178ada54de6a814704dd7e166e9e9e3403c83b
9 years ago