aboutsummaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin
Commit message (Collapse)AuthorAgeFilesLines
* Build vaadin-client with mavenTeemu Suo-Anttila2016-03-18542-133566/+0
| | | | Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
* Add missing @since for 7.6.3elmot2016-02-191-2/+2
| | | | Change-Id: Iccd7f1e00a245a1ba5572f4086a55bdbe40218c9
* Fix Editor trying to detach save and cancel buttons when unbufferedTeemu Suo-Anttila2016-02-161-2/+4
| | | | | | This is a fix to an regression in some grid patch. Change-Id: Ibd35d7a06f0e0b15e854bf036ccfb7f462e2d37f
* Fix AbstractRemoteDataSource cache clean up on remove (#19482)Teemu Suo-Anttila2016-02-131-3/+7
| | | | Change-Id: Ib9fc54ef018afe7f571204aba41182333b77c47f
* Fix NPE if stopping navigation in onBeforeUnload (#19541)Artur Signell2016-02-131-0/+8
| | | | Change-Id: Idcba5ceeff9df88a4ea7fe6b34e2e2537b7ee58c
* Fix NPE on column width detection in TreeTable and RowGenerator (#19437)Teemu Suo-Anttila2016-02-131-3/+7
| | | | Change-Id: I7ed03d34124dda839bddc2507274a63b1e22f05f
* Open editor deferred to allow column size calculations on init (#19488)Teemu Suo-Anttila2016-02-051-2/+2
| | | | Change-Id: I6c7e8ba462345bad8d6d185b0a3160ae82726f46
* Fix Editor overlay position when footer is displayed on top (#19491)Teemu Suo-Anttila2016-02-051-3/+5
| | | | Change-Id: Ifffe66c8a872fe3625cf8c60115b172610b6e9b5
* Make project Java 8 compatibleArtur Signell2016-02-031-1/+3
| | | | Change-Id: I875e152b8851d7b962be47f369c1f6b483193260
* Make hiding/showing components in grid header/footer work (#19297)Artur Signell2016-01-292-37/+82
| | | | Change-Id: Iebe1135e26f2f6fae98befb7c42e3c0fdb18c13b
* Add missing @since for 7.6.2elmot2016-01-282-3/+3
| | | | Change-Id: I6f33dcdc4785b8e73f768abfe955fba178bd9c76
* Make Checkbox label send context click events also (#19456)Artur Signell2016-01-221-0/+15
| | | | Change-Id: Ic23a84357e1d0d333905ce6b3931c41ee90148f6
* Do not process click events for disabled optiongroups (#19433)Artur Signell2016-01-211-1/+5
| | | | | | | | This removes the warning logged on the server side when the RPC reaches it for the disabled component. As this is more of a cosmetic change, there is no automatic test. Change-Id: I8bfa83bd0a26c585e1614d821ac3b598294db09d
* Allow legacy components to paint infinity double values again (#19447)Artur Signell2016-01-211-1/+5
| | | | | | | | | | | | | | | | | JsonPaintTarget.addAttribute(String,double) converts infinity values to { "name": Infinity }. This is not valid JSON but has "always worked" and at least NumberField relies on being able to send infinity values. For state and RPC it's not possible to send 'infinity' as JsonNumber converts those to null. It is not possible to send 'infinity' back to the server using a legacy variable either as also in this case JsonNumber is used and the value becomes null. This fix should be reverted when legacy variable support is removed. Change-Id: I4b5366420e11915236eff447e3eeedc458cf8cea
* Clean up SingleSelectionModel client-side on data source change (#19469)Teemu Suo-Anttila2016-01-131-0/+10
| | | | Change-Id: Ie0044341725b858e5cbae150da757aba878fc9ed
* Add clarifying comment to CustomDetailsGeneratorTeemu Suo-Anttila2016-01-121-1/+3
| | | | Change-Id: I9e6668b1fbc0a956bf34b48b75df59279005d097
* Add missing @since for 7.6.1Teemu Suo-Anttila2016-01-122-1/+3
| | | | Change-Id: Ic28598e561f0fc325b6f74ace3398d46ba996fb5
* Use LayoutManager for details rows (#18821, #18619)Leif Åstrand2016-01-124-11/+106
| | | | Change-Id: I430e55db8a3e2860f68f5351e06d8d069a657d6e
* Split VOverlay functionality to a new base class (#19347)Teemu Suo-Anttila2016-01-124-1010/+1070
| | | | | | This fixes the missing z-index for the Grid popup. Change-Id: I5474fe653ad4ece38e9bc3cb2331a1d2190ea898
* Fix ScrollbarBundle to not round down pixel values (#19421)Teemu Suo-Anttila2016-01-081-12/+2
| | | | | | | | | Since Escalator now uses subpixels in most cases, scrollbar calculation fails when ScrollbarBundle calls Math.floor for the offset size. Removed rounding, added a pixel epsilon check that we don't make a scrollbar when it's not really needed. Change-Id: I228fd7dd48d4506e5b2b7bb799291c9a122ea3fe
* Support non-AbstractFieldConnector fields with Grid Editor (#19440)Teemu Suo-Anttila2016-01-071-6/+6
| | | | Change-Id: Ib3eaf0b35cfe88391c8ab3b5fcbe668d67c2dd3c
* Always set header/footer style name to TH (#19209)Artur Signell2016-01-071-1/+1
| | | | Change-Id: I8d0240fb76b9841e7290bf13588975da20c78b62
* ConnectorHierarchyChangeEvent.getParent() should return the connector (#18525)Artur Signell2016-01-071-11/+8
| | | | Change-Id: Ifd2151a76ff77127170f2d95a800dfb7d601a7d3
* Fixes exception when enter is pressed and there is nothing to select (#19149)Artur Signell2016-01-071-2/+10
| | | | Change-Id: I8ff11e98bb4ec999d369ff5bcde0cb95290ed037
* Add a client-side connector for DetailsComponentManager (#19412)Teemu Suo-Anttila2016-01-051-0/+36
| | | | Change-Id: Ibc4d35a8f729b670d8712743c9da8d608a0ba952
* Listen to body for shortcut actions for standalone apps (#19392)Artur Signell2016-01-042-14/+19
| | | | Change-Id: I48cc4884fce984354dafa2096e488c3c6dec141c
* Add keyboard shortcut to save grid editor in buffered mode (#16842)Teemu Suo-Anttila2015-12-281-1/+9
| | | | Change-Id: I4f542d166e15a63f12f8033aec4ef7b95578df71
* Fix WidgetRenderer column cells not correctly init on change (#19086)Teemu Suo-Anttila2015-12-222-2/+29
| | | | | | | | | | | | | | | | | When changing to a widget renderer with an existing column, the widget renderer expects that the cells would be initialized to have a correct widget for it. Because of original design where you could not change renderers, this was not taken into account and cells did not get reinitialized when changing the renderer. This patch showed another underlying detach problem from removing a widget renderer and destroying complex renderers. These both are also addressed to make this bug possible to test correctly. Patch includes a client-side test that verifies the integrity of the renderer state in different stages of its lifecycle. Change-Id: I67330e5d07c95047cb69040e8355a17dc8a96f08
* Disable long tap support on iOS (#19367)Henri Sara2015-12-211-1/+1
| | | | | | | | | Long tap causes problems in embedded browsers on iOS (text selection is performed and/or the OS native context menu is shown). The support should be re-enabled in the future (see #19406). Change-Id: I842df12675482c8e529e8bb061958414cc8c0b90
* Ignore context click on resize handle (#19408)Henri Sara2015-12-211-0/+16
| | | | | | | Otherwise, context clicks in the left edge of a header cell get handled by the wrong cell. Change-Id: I08e0c6bb62c90cc871fde7ec1d0f0a8602e5631f
* Fix IE8 focus handling in Grid editor in unbuffered state (#19389)Teemu Suo-Anttila2015-12-181-1/+22
| | | | Change-Id: Ia77c246239cae7b0add3c4975dfa5ffaa42d08b6
* Verify Column width after all sort related cell changes (#16597)Teemu Suo-Anttila2015-12-181-6/+4
| | | | | | This fixes an IE8 issue where multisorting is not shown correctly. Change-Id: Id68103f06baf9e3ae20cb2714407b467829ef1a0
* Disable Atmosphere online/offline handling (#19391)Artur Signell2015-12-171-0/+1
| | | | | | | | | | | | | | | | Atmosphere will disconnect the push connection when going offline and reconnect it when going online again. There are no events sent when this happens, which means the reconnect logic cannot take this into account. Having it enabled leads to something like: 1. Browser goes offline, push is disconnected 2. Framework sees it as a normal close and does not show the reconnect dialog 3. The user does something, the framework tries to send a websocket request 4. A new Atmosphere request is created and enters a try-to-reconnect loop as expected 5. The browser goes online, and the online event re-initializes the old connection although a try-to-reconnect loop is already running Change-Id: I5dcef768783142e2c7b4e7c821353addb0ec3d28
* Parse true/false as boolean values for push configuration (#19394)Artur Signell2015-12-171-2/+17
| | | | Change-Id: I89e99ebd552b00a1bdc79801a8236aff72b6a290
* Fix Grid column resize to take account min width for cells (#16597)Johannes Dahlström2015-12-162-45/+113
| | | | | | | | Use Escalator cell size calculation without content to determine the absolute minimum size for cells. This is used in Grid when drag resizing or sorting columns to prevent cells from overflowing to the next row. Change-Id: I2d598232d7d2b8729b11fe190b68ca3e42ee3652
* Make it possible to only show collapsible columns in menu (#9811)Leif Åstrand2015-12-162-4/+16
| | | Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b
* Fix text selection and context click events for Android devices (#19367)Teemu Suo-Anttila2015-12-151-7/+11
| | | | | | | | Text and element selection needs to be disabled on touch start for Android as well. Other touch event handling used by iOS devices is not used on Android. Change-Id: I7f17af437ddf4f7b747232fbd19b2cd5c825c0e2
* Ignore empty style names from Grid Row and CellStyleGenerators (#19364)Teemu Suo-Anttila2015-12-151-5/+8
| | | | Change-Id: I07b241f40bcb20b92f9eea48036724dd91ecc985
* Prevent text selection on iOS devices with long tap (#19367)Teemu Suo-Anttila2015-12-151-0/+6
| | | | | | | | Text or elements should not get selected when there's a context click listener. Pre-emptively prevent text selection for the whole widget when that happens. Change-Id: I3c09d8b2c25d383d6abe079f0fee3809cf5838c7
* Add a method to clear selected text on context click (#19367)Teemu Suo-Anttila2015-12-155-3/+25
| | | | Change-Id: Id7ec7013bcff446cdf3ce0f2088cb20b0708a56b
* Fix mouse wheel scrolling of ComboBox in IE11 (#16918)Anna Koskinen2015-12-152-18/+154
| | | | | | | | IE11 is broken so that the simple implementation always moves up on any mouse wheel event. Therefore, this change borrows the approach taken by Escalator for low-level handling of mouse wheel events in a way compatible with all supported browsers. Change-Id: I98c89d3ccfeea38d6a454ef708f0eb7d1d3f480c
* Fix selecting a row that was deselected on the server (#19360)Teemu Suo-Anttila2015-12-141-10/+32
| | | | | | | | Client-side connector of the SingleSelectionModel attempts to keep track of currently selected row. This tracking gets lost when the row get deselected on the server-side. Special case is now correctly handled. Change-Id: I1c45548bd11536bc85cddbc2ba8b6225965c1194
* Enable using custom overlay in VMenuBar (#19368)Henri Sara2015-12-111-1/+13
| | | | | | | This helps resolve context menu add-on issue #3 and reduce code duplication. Change-Id: I2a9b583d045e1654577f5a6ee3f55d8c4ab30582
* Remove VOverlay dependency and use PopupPanel instead in Grid (#18698)Teemu Suo-Anttila2015-12-021-4/+30
| | | | Change-Id: Id28a9fa8a204c1e2a12160e2e1dba1823f3726a5
* Add missing @since valuesHenri Sara2015-12-023-3/+2
| | | | Change-Id: I602b9fc4c87a19a78f949a23519c412aba789baa
* Prevent column drag resize from setting selection column width (#19324)Teemu Suo-Anttila2015-11-301-0/+5
| | | | Change-Id: Ifd7a225ac8037a86e4a15603bf47ca93009fa302
* Unify select all behavior with single row selection. (#17742)Sauli Tähkäpää2015-11-301-0/+12
| | | | Change-Id: I6481bf6f429046166dd0502a62b22aea51f5a0bd
* Add stylename to sortable Table header cells (#8219)Leif Åstrand2015-11-271-0/+12
| | | | Change-Id: I4774b4079f5c564fdc67e8cabf89278ad7cf2f6f
* Add stylename to sortable Grid header cells (#16991)Leif Åstrand2015-11-251-6/+15
| | | | Change-Id: I6c151829236928129c258a99177431d0b972f146
* Omit empty hierarchy data from the response (#18510)Leif Åstrand2015-11-251-123/+166
| | | | | | | | Reduces the payload size for the "Update all labels" action with 40 layouts in BasicPerformanceTest by 16% (from 11087 to 9270 bytes). The reduction is improved to 22% (1855 to 1455) if the response is gzipped since the omited data doesn't compress very well. Change-Id: I1d2837c93222fffa59b14836f162e3e87349e086