aboutsummaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Allow using XHR for client to server requests and websockets for push (#12518)Artur Signell2015-07-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6a9cc8f97d7e3578bf7aa9ce512d042ab637494e
* | | | | | | Refactor reconnect dialog (#11733,#17075)Artur Signell2015-07-136-109/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add grace period for showing the reconnect dialog * Try to reconnect once immediately * Stop reconnecting when application is stopped * Make it possible and easy to replace the reconnect dialog Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5
* | | | | | | Allow configuration of reconnect dialog parameters (#11733)Artur Signell2015-07-131-26/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibf60ef8cdd21204e8ccfbb0a7d93cf88c4d8468a
* | | | | | | Merge communication problem handlers (#11733,#17075)Artur Signell2015-07-134-312/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I91d3d73cb10c10a9306b67e6d99e4405f56bc275
* | | | | | | Handle out of order messages (#11733,#17075)Artur Signell2015-07-132-65/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1958a84be59068caa377256d43e868e13ed69597
* | | | | | | Use same reconnect logic for Push as for XHR (#17075)Artur Signell2015-07-138-74/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * No longer queue message separately in PushConnection * Use XHR for client to server communication when using long polling (or streaming) * Websocket is used for communication in both directions Note that using XHR for client to server responses at the same time as a push connection is open means we must take into account on the client side that we may receive message in the wrong order. This will be addressed in the following change. Change-Id: I97706db3481379593e71dc5bb552727a0486692b
* | | | | | | Initial version of the reconnect dialog and a problem handler which uses it ↵Artur Signell2015-07-135-2/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#11733) Limitations * Does not take Push into account * Hard coded parameters * Only theme for Valo Change-Id: Iddb12d20391bcd30dc7289b7ea694ac3fbbd116d
* | | | | | | Extract CommunicationProblemHandler methods to an interface (#11733)Artur Signell2015-07-133-256/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id44eed32a91721a67859d8daedefd3c7a17d61dc
* | | | | | | Move XHR code to XhrConnection (#11733)Artur Signell2015-07-134-224/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * XhrConnection internally manages the URI to send to * send(JsonObject) now only takes the payload * retry logic for status 0 removed for now Change-Id: Ieca25df0ebe06773139b2bec7e9a2586df77b24d
* | | | | | | Send resynchronize and widgetset version in JSON (#11733)Artur Signell2015-07-131-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7c75801102e10595b923ceab3900a17e166b5c78
* | | | | | | Simplify UIDL message handling (#11733)Artur Signell2015-07-135-45/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass only JSONObject around instead of multiple versions Change-Id: Ibf747df366e384df8e3cc6f5153100168514f63a
* | | | | | | Handle push errors in CommunicationProblemHandler (#11733)Artur Signell2015-07-135-33/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I685a03df9bb785ed7c1c672c9b9cbf47609711e7
* | | | | | | Handle heartbeat problems in CommunicationProblemHandler (#11733)Artur Signell2015-07-132-22/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5af55ecac8f5dcac14fd5b22059029bef482cc7f
* | | | | | | Use counter in client to server messages to avoid duplicate handling (#11733)Artur Signell2015-07-133-18/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Separate server message sending to its own class (#11733)Artur Signell2015-07-1311-476/+581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib3c4ac687387f2a239908b7e25e2753dbbf7e98b
* | | | | | | Separate server message handling to its own class (#11733)Artur Signell2015-07-139-1458/+1628
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic4342171ecbdae4b6e6075fa9ed6d4eebe399a87
* | | | | | | Separate XHR error handling to its own class (#11733)Artur Signell2015-07-135-151/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iddd885a6a3a753c0be08c9afe6e97b9e589b8368
* | | | | | | Separate server RPC queue to its own class (#11733)Artur Signell2015-07-139-190/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib810406801305cd23a943a4e468610896d166958
* | | | | | | Track application state through an explicit variable (#11733)Artur Signell2015-07-131-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic9b7b6dd82e47229c0d40bd2bd4731537f4d4ae4
* | | | | | | Ensure application is stopped when stopped events are sent (#11733)Artur Signell2015-07-131-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failing to do this cause an infinite loop if a stop event causes stopping of the application Change-Id: Ibb36c2eca6c6e1bc10192b4d2d808042793fb2fa
* | | | | | | Remove ConnectionStatusEvent (#11733)Artur Signell2015-07-132-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Do not send empty server requests (#11733)Artur Signell2015-07-132-52/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icacc102132ac4fbd8e00f97b3a752f2483cf3936
* | | | | | | Remove 'burst' concept to simplify communication handling (#11733)Artur Signell2015-07-133-96/+66
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Change-Id: I74f173e69491f23dc49b1ff577a45f611b0eed1c
* | | | | | Log exception from responsive with cross site css in FF (#16249)Leif Åstrand2015-07-111-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6072429d3a87afd25a6dd6604749ace728ab6d7d
* | | | | | Eliminate unguarded Profiler string concatenationLeif Åstrand2015-07-111-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though the call to Profiler.enter would be eliminated by the compiler, it would still include the string concatenation since it can't prove it wouldn't have any side effects. Change-Id: Iae3f6d18c409f019d2207d212d00ecb78078bc3e
* | | | | | Add missing @since 7.5.1 to JavaDocTeemu Suo-Anttila2015-07-094-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1af9da11330d00554cb19212d694816b83b29aa4
* | | | | | Fix displaying Details when Grid is attached to DOM (#18390)Teemu Suo-Anttila2015-07-092-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I74360c7a3f0c5798dbaa44ea06ea1585c4289449
* | | | | | Attach GridLayout children in logical order to preserve focus order (#18353)Yuriy Artamonov2015-07-092-3/+17
| | | | | | | | | | | | | | | | | | Change-Id: I4ed588ba07bd581cfa4b5b4805136962de076cec
* | | | | | Fix Grid detaching with open details rows (#18415)Teemu Suo-Anttila2015-07-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I035808b02edb5ba8181a5a0baec3432c2283699d
* | | | | | Fix NPE caused by fix for Grid resizing with split panel (#18370)Teemu Suo-Anttila2015-07-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic8b5898facf559f253357e6cde6ee2b10be63a79
* | | | | | Ensure correct render of selection when changing selection model (#17087)Artur Signell2015-07-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I79547b32a7b7bec0ea2b327ceb0b69c756e2e812
* | | | | | Keep a reference to the file we are uploading to keep IE10 happy (#18372)Artur Signell2015-07-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2dc9b846e1c3ae123b26eac017082bea4ba6f7c3
* | | | | | Fix Grid header adding and removing with select all checkbox (#17592)Teemu Suo-Anttila2015-07-062-100/+90
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib842e171b50366e8830cd50ca0b04a346e298a1d
* | | | | | Fix Grid jerky resize in vertical split panel (#18370)Teemu Suo-Anttila2015-07-063-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes SplitPanels overflow hidden when there is a full height/width widget in the container. Change-Id: I9cb80019806cd5237b7e07fdda05d44e50d3b929
* | | | | | Fix Grid details on sort to display them on correct rows (#18224)Teemu Suo-Anttila2015-07-021-0/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the nature of Container this is only achieved by removing any existing details and reopening those after the sort is done. Change-Id: Ic42186ed85981d5dad4ff0948aa22f7a0404480d
* | | | | Do not let Escalator set width to spacer row's TD element (#18223)Teppo Kurki2015-06-301-14/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: I8dec7bbbfc93436eb2fbc1c15cb53e6bfca99e78
* | | | | Fix Grid scrolling on Firefox (#16865. #17352)patrik2015-06-291-1/+22
| | | | | | | | | | | | | | | | | | | | Change-Id: I58ac7c03be2a4d950ecfba609fddf862f2fd966f
* | | | | Don't recalculate columns if only height has changed (#18274)Leif Åstrand2015-06-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch increases the reported fps in GridResizeTerror from 12 to 35 in my Chrome if only changing the height. No automatic test since performance testing on our shared testing infrastructure would be quite error-prone. Change-Id: I327391dc04dde72a6e770df3b564ae8d4e3c15bb
* | | | | Change focused Grid cell when scrolling with the keyboard (#18356).Mika Murtojarvi2015-06-291-54/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The focused cell is now updated when scrolling with pageup/down, home or end key. - The scroll amount is slightly reduced to ensure that no cells are skipped over with pgup/down scroll. Change-Id: Id1ddd4f0f3f3b1315df3f8d9813080fbd5009bcd
* | | | | Fix incorrect system notifications with details styling (#18340)Artur Signell2015-06-262-74/+91
| |_|_|/ |/| | | | | | | | | | | Change-Id: Ia0d36147eb4ed9f170123771ac2674df584e6a4b
* | | | Reformat with Luna SR2Artur Signell2015-06-266-28/+36
| | | | | | | | | | | | | | | | Change-Id: I8a666061496022ef16ed44812b5728e1360b9c4d
* | | | Real fix for subpixels in Grid (#18213)Artur Signell2015-06-263-154/+194
| | | | | | | | | | | | | | | | Change-Id: I4246b8e5db528436fe355bdf57d2b3f88173474c
* | | | Update theme resource references for legacy components (#17027)Artur Signell2015-06-263-10/+61
| | | | | | | | | | | | | | | | Change-Id: Id4f119b22d44f6abf63e730442e22a34e7c1953f
* | | | Pass critical notification details to the client (#18342)Artur Signell2015-06-251-1/+3
| | | | | | | | | | | | | | | | Change-Id: I3c4eace624453eb854a32fef5fe44d253b164f62
* | | | Use computed style in more IE9 edge cases (#13359)Artur Signell2015-06-241-2/+7
| | | | | | | | | | | | | | | | Change-Id: I847c9077199f46964ba8d1931e951529db6c5475
* | | | Fix spellingSteven Spungin2015-06-191-2/+2
| | | | | | | | | | | | | | | | Change-Id: I7fb13c520c8ff402971214022d44be0db2b9c3ea
* | | | Revert "Prevent field from updating when removing text change listener. ↵Mika Murtojärvi2015-06-171-2/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | (#16270)" This reverts commit 4af793d06a0f4a6577aad13403ca7982c6fce224. Test ConverterThatEnforcesAFormatTest.checkElaborating is broken by this change. Change-Id: I8243f6a7bff6d7011d402bce4b614f7d2e4206fd
* | | Calculate row width correctly when subpixel workaround/fix is active (#17934)Artur Signell2015-06-121-5/+15
| | | | | | | | | | | | Change-Id: I5fd535bf6622eaf47c5eb5fc509245e558d0a284
* | | Ensure GridLayout rounds available space down instead of up (#15451)Artur Signell2015-06-124-49/+221
| | | | | | | | | | | | | | | | | | Store measured widths and heights as doubles to be able to round later Change-Id: Id0e91702dd62ba362f53317e8520f85b46f19769
* | | Fix Grid column dnd reorder scrollarea calculation in Chrome 43 (#18234)Teemu Suo-Anttila2015-06-112-63/+10
| | | | | | | | | | | | | | | | | | | | | | | | This patch also fixes issues with vertical scrollbar on page and autoscrolling along with calculating drag element and marker positions wrong. Change-Id: I3d39c7bc6ddea630e04a9967ff8e1055c0736b79