summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Support JSR-356 websockets (#16738, #14432)Artur Signell2015-04-021-1/+1
| | | | | | | | | | * Initialize Atmosphere in a context listener as JSR-356 requires * Do not run JSR-356 or websocket tests on servers without support * Adds /run-jsr356/ for testing JSR-356 websockets with uitest.war * Change push path to /PUSH (from /PUSH/) to be compatible with JSR 356 endpoint mappings in Atmosphere (#14381) Change-Id: Iec43f26df8c7b2bd347a713623a5298cc9e7b2cd
* Don't remove frozen columns when columns reordered in Grid #16901Pekka Hyvönen2015-03-311-1/+3
| | | | Change-Id: Ib812ecd6afeb92d56bb179bcb120c65f20d26a8c
* Reduce reflows when sizing columns (#17315)Leif Åstrand2015-03-301-38/+72
| | | | | | | | This patch increases the reported fps from 10 to 17 in Chrome and from 5 to 10 in Firefox. No automatic test since performance testing on our shared testing infrastructure would be quite error-prone. Change-Id: I0bb6af250743058a8f32bb2df89da97660e94b52
* Do proper cleanup in VDragAndDropManager.endDrag(boolean) (#17163)Maciej Przepióra2015-03-291-15/+20
| | | | Change-Id: I5f9462923fce9f033bc89b791d68607a1e0fc5c7
* Reset index of selected item when it's removed (#17248).Denis Anisimov2015-03-271-1/+4
| | | | Change-Id: Id38f48d84e9f55334af2e44b2dc49b1a3c7ef390
* Make Grid update column renderers (#16552)Patrik Lindström2015-03-262-20/+22
| | | | Change-Id: I3adf9d0cc32f800a535a82ffe5d6ba503a36e746
* Use native scrolling in IE on touch devices (#14864)Juho Nurminen2015-03-261-0/+5
| | | | Change-Id: I8c652944b917d6392e2d02052b00ddb119ec242c
* Disables selection when Grid's editor is open (#17132).Alexey Fansky2015-03-252-0/+14
| | | Change-Id: Ibbbffbfe2e8bcb763031ac277c2c36ce4eb4e3fc
* Revert "Make push path configurable (#14432)."Artur Signell2015-03-251-10/+5
| | | | | | | | | | | | | | Breaks long polling fallback when implemented this way This reverts commit 735f0748344d7ee594c4e52a715d867dfdb23cb1. Conflicts: push/build.xml push/ivy.xml server/src/com/vaadin/server/Constants.java uitest/src/com/vaadin/tests/push/PushPathTest.java Change-Id: I07f6fedafc648b0ee403865ccb322017d2a8d571
* Fixed scroll jump by using native focusing in IE (#15294)Johannes Tuikkala2015-03-241-0/+8
| | | | Change-Id: I412ba219f31567ebba019b7d6ce4db4af9be9363
* Fix Table column header sorting on Chrome (#14796)Anna Miroshnik2015-03-242-40/+60
| | | | | | | | | | | | | | | This fix is similar to the fix that has been made for other similar cases (i.e. #13381). Couldn't find a reliable way to reproduce the problem. Hopefully this will fix the issue. Was reproduced (before fix) on Google Chrome 40.0.2214.115 m on TableSortingStopsWorkingOnChrome test one time (but then suddenly it started to work again). Was reproduced (before fix) on Project TableSorting once, as described in the ticket. That project has been attached to the ticket. Change-Id: Id901c9ce4a0a7c369572bf4374223851658aa703
* Fix declarative support for CustomLayout (#17210)Johannes Dahlström2015-03-241-10/+12
| | | | | | | | CustomLayout now has a public default constructor. If a template is not set using one of the setters, a warning message is displayed like in the case where the template file is specified but not found. Change-Id: I5d56f24fafc5c82e6ab76dec393a0c25bd78aae5
* Use special logic for allocating selection col widths (#17091)Leif Åstrand2015-03-201-2/+3
| | | | Change-Id: I2d0a80a26e8211d6f5e9110e1476f857803b4d3f
* Make UIConnector.replaceTheme() and UIConnector.activateTheme() protected #17235John Ahlroos2015-03-201-3/+5
| | | | Change-Id: I4ee650efdc8683dd1d6fedf5e53460c48186ed88
* Revert "Displaying tooltip in slot for touch devices (#15353)" (#17151)Leif Åstrand2015-03-172-125/+19
| | | | | | | | | | Should not have been merged since there were still stuff pending ("This patchset doesn't include styling for the error message") that was not addressed before submitting. This reverts commit 05fc5806e7946223e057ad7458a18dadceb0566f. Change-Id: Idd723f22f42e2e8ee71059b9591d44fafadea27e
* Sanitize connectors for PopupDateField and DateField. (#17090)Sauli Tähkäpää2015-03-173-201/+226
| | | | Change-Id: I667796430eeaa0ddd8142b0c229fe133cd30cd49
* Fix Grid CellFocusHandler position on DataSource size reset (#16607)Teemu Suo-Anttila2015-03-161-2/+8
| | | | Change-Id: Id02ff612a3f152af5341445bec769a74cfd79cfb
* Fix invalid assumptions about empty Grid (#16734, #16684)Leif Åstrand2015-03-162-2/+8
| | | | | | | | * Don't reset to default column sizes when adding row to emtpy escalator * Don't wait for data after size is explicilty reset to 0 * Don't assume there were previous rows when adjusting focus on add Change-Id: I59e8c0ef0c5633cf3678db63a660e3f1d1ca7d2a
* Makes Connectors into DeferredWorker candidates (#17127)Henrik Paul2015-03-122-113/+114
| | | | Change-Id: Ie24a85a2c4abc5e68af0bec2af4dcbcabee77c91
* Improve performance of setNeedsMeasure (#16972).Fabian Lange2015-03-112-7/+19
| | | | | | | | | | This change removes the method LayoutDependenyTree.setNeedsMeasure which takes a connectorId as first param. In all places where it is used, the ComponentConnector is actually known, so this change avoids looking it up over and over again. Also The lookup would need to lookup the ConnectorMap every time. Change-Id: I2593b0bede05cd69889ba68aac854cfba43f70b1
* LayoutManager uses shortcut when delaying overflow fixes (#16963).Fabian Lange2015-03-111-9/+18
| | | | | | | This change introduces an extracted method which will quick return if a component needs a delayedOverflowFix. Change-Id: I0d6ab100964a59e2f445a81271863a8212538d4d
* Improve performance of getMeasureTargetsJsArray (#16973).Fabian Lange2015-03-111-13/+4
| | | | | | | | | | | | | | | | | This change optimizes the method LayoutDependenyTree.getMeasureTargetsJsArray. The previous code dumps both MeasureQueues and then iterates over the vertical one and then checks if it is present in the horizontal one. If it is not present it pushes the element to the array (which usually invokes an arraycopy in js). The new code adds both Queues to a new FastStringSet which does deal with duplicates nicely. While this is not much faster than the dumps, it avoids the array allocations and the separate iteration for duplicate checking. Change-Id: I2f643a2d0b32e4c2517efff16c196387f38f0d8a
* Update @since for 7.4.1Leif Åstrand2015-03-052-1/+3
| | | | Change-Id: I61233d704eae50447d3ccb5a5c485fe3ef98c436
* Fixes subpixel allocation accuracy and speed (#16614, #16750)Henrik Paul2015-03-043-118/+253
| | | | | | | | This reverts workarounds used in subpixel quick fix commit 6133b2cffd0c0b0e0e360ae30330a8adbe7662f4. New logic uses Escalator's more optimised multiple column width setting method. Change-Id: I0863f9774e6efc26f01ebdb736b4847e4ef5354c
* Make Grid recalculate columns on resize (#16539)Teemu Suo-Anttila2015-03-031-0/+17
| | | | Change-Id: Ib2b9ecc995ec6fe2627c545efc2a312a59df6b9c
* Reapplying column width on Grid actually reapplies the width (#16900)Pekka Hyvönen2015-03-031-1/+1
| | | | Change-Id: I8a0bc92294004411782c6ee5b0e460b892570aa3
* Restoring overflow-x and overflow-y in runWebkitOverflowAutoFix (#16650)Alexey Fansky2015-03-031-1/+15
| | | | Change-Id: I7be1c1571ee5ede0ce481faf823f5f271a280a8a
* Fix text input of PopupCalendar in Internet Explorer (#16677).Mika Murtojarvi2015-03-031-2/+18
| | | | | | | Similarly to VTextField, VTextualDate now uses KeyDownHandler with IE to process the pressing of the return key. Change-Id: I139134fc38678ad46f0c46f30e3de25547b9a3c6
* Displaying tooltip in slot for touch devices (#15353)Alexey Fansky2015-03-032-19/+125
| | | | Change-Id: Ia2fce4dbfc205b44622557017afff19c4a2ef7df
* Improve performance of Util.collectionEquals (#16968).Fabian Lange2015-03-021-10/+9
| | | | | | | | | | | This change checks the length of both collections first before iterating them. This massively speeds up the comparison in case the collections do not have the same length. Also in the case where the lengths are equal, this saves the collection2.hasNext() checks. Change-Id: If1325f3581d12bf742d77fbf8b0f89511fa11252
* Fix Grid flick scrolling on iOS devices (#16762)Teemu Suo-Anttila2015-03-021-30/+27
| | | | Change-Id: Iee64f1dc5ce91472c66f43a6269cb1eccb2f9b52
* Method for requesting column width recalculation (#16748)Artur Signell2015-03-022-3/+21
| | | | Change-Id: I089f08a056a358d9857ce6608293878e2b8bbd9e
* LayoutManager reuses shortcut Element instance for measure (#16964).Fabian Lange2015-03-021-9/+8
| | | | | | | | This change prevents the duplicate getter chain lookup connector.getWidget().getElement() on the very hot measureConnector method. Change-Id: Ia59c9ef2e6bbcf9402424bc565bc9ee3977e3c6e
* Disconnect push after application has been stopped (#13248)Artur Signell2015-03-021-8/+21
| | | | Change-Id: I4b8ca76a530453ee95ff88a1a4bbe3fa7a7958d4
* Use the existing communication error handler if one exists (#16938)Artur Signell2015-03-021-12/+17
| | | | Change-Id: If3645dee1f4f3d5a7b1654a60db8734c8ec1ac01
* Redesign ComboBox filtering, highlighting and selection behaviour.Sauli Tähkäpää2015-02-262-37/+30
| | | | | | | | | | | | | | | | | | | | | | | (#15502, #9369) Changes: - When opening the popup, the first suggestion is always highlighted by default unless adding new items is allowed. - When filter matches currently selected item, that item will be highlighted instead of the first item. - Hitting enter or tab will always select the highlighted item. - Closing the suggestions list by clicking outside the list no longer selects an item to prevent accidental selections. Test changes: - Extended ComboBoxElement to help test filtering. - Updated and tweaked ComboBoxResetValueTest, ComboBoxIdenticalItemsTest and ComboboxScrollableWindowTest. - Added ComboBoxSelectingTest and ComboBoxSelectingWithNewItemsAllowedTest. - Updated some tests that were using keyboard navigation. Change-Id: Ia7745b624bdb0b1a1bb498157ebcb37bee219d76
* Maintain Grid scroll position on detach and reattach (#16220)Johannes Dahlström2015-02-252-2/+36
| | | | Change-Id: I6ac5c3304bcd22e23f298c4dbdd65358aa1c64f7
* Fix Escalator size changes when scrolled to bottom (#16382)Teemu Suo-Anttila2015-02-241-4/+8
| | | | Change-Id: Iaf8b21e9c6a09e51667eebae1fdd4b1f5ebabedd
* Do not restart application if messages are received (#16868)Artur Signell2015-02-241-3/+11
| | | | Change-Id: I5ede5efb7ae9a171fac79f2ead98e2fb12c249c4
* Do not re-schedule an already scheduled lock breaker (#15317)Artur Signell2015-02-241-1/+3
| | | | Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4
* Fixes a graphical scrollbar glitch in Grid + some OSX configurations + Valo ↵Henrik Paul2015-02-231-1/+6
| | | | | | (#16565) Change-Id: I8eb8bb2d941fc88b9f896c8d351ada6286e8322d
* Makes Escalator show scrollbars on some OSX settings (#16852)Henrik Paul2015-02-231-34/+54
| | | | | | | If the OSX is configured to show scrollbars only while scrolling, Escalator would previously have its scrollbars hidden underneath the DOM structure. Change-Id: I6c1a05ba23f6555d9f7f4c484c066c5f7ae63ac3
* Clearing the sorted indicator if sorting was disabled (#16563)Alexey Fansky2015-02-191-1/+1
| | | | Change-Id: I03677e25d639264d5056c5b86b7be8277fe332a4
* Make push path configurable (#14432).Tapio Aali2015-02-181-5/+10
| | | | | | | In order to use websockets with Weblogic 12.1.2 or later, push path 'ws' needs to be used instead of 'PUSH'. Change-Id: Ia90d11c20a375cef9cf4a53986a70d616a83db06
* Resolve infinite loop when clearing and adding rows (#16747)Teemu Suo-Anttila2015-02-171-1/+1
| | | | Change-Id: Ibc364502cb756c499eb170a6a0c509f31d7fccb9
* Fixes javadocs.Henrik Paul2015-02-161-4/+4
| | | | Change-Id: I78b8d901f5714f0de1eb84c0aa923225ff472737
* Fix the initial location of a Window (#16486).Mika Murtojarvi2015-02-161-0/+4
| | | | Change-Id: Ie34384a9683376dda8b78434e0db885591964aba
* Table should load widgets after container content refresh (#16611)Mikael Grankvist2015-02-161-3/+8
| | | | Change-Id: I887830f31f886743d1bd7167236e2f7b61349dd7
* Fixes IE scrollbar issues (#16634)Henrik Paul2015-02-102-11/+40
| | | | Change-Id: Ic948fb801f3bca5101ba630c99bd321f3e4f24bb
* Fix documentation typoJouni Koivuviita2015-02-091-1/+1
| | | | Change-Id: I7ae157f0fa4a352f16adb0634cbc545c14cb34f3