summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add stylename to sortable Grid header cells (#16991)Leif Åstrand2015-11-254-7/+135
| | | | Change-Id: I6c151829236928129c258a99177431d0b972f146
* Set session as current while deserializing (#9953)Leif Åstrand2015-11-252-18/+90
| | | | Change-Id: Ib420f99c621b7d508659907615a7e8a1ae47b4d9
* Ignore log file created in some casesLeif Åstrand2015-11-251-0/+1
| | | | Change-Id: I74e1a52d138c9fdfaf15b227261f2977b13289d9
* Fix javadoc copied from CellStyleGeneratorLeif Åstrand2015-11-251-1/+1
| | | | Change-Id: I305c0aaeba04c4c1416ecebd708f377f8f28f4a1
* Omit empty hierarchy data from the response (#18510)Leif Åstrand2015-11-254-137/+198
| | | | | | | | 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
* Add comment explaining the dummy read in setStyleTemporarilyLeif Åstrand2015-11-241-1/+4
| | | | Change-Id: I763f3c68a3c9e471f9e5df21bbfbce41be17117c
* Move capability handling from MultiBrowserTest to super classTeemu Suo-Anttila2015-11-242-32/+32
| | | | | | | Capabilities should be set the same way in SingleBrowserTests as well, not just MultiBrowserTests. Change-Id: Ifed8534b87bbe45fd90fe0e7110e26a5344c5540
* Fix some TB2 tests for Calendar (#19227)Henri Sara2015-11-243-6/+6
| | | | | | | | Fix the commands in some TB2 tests broken by the test change from #19227. Screenshots of several calendar tests including these also need to be updated. Change-Id: I3bb000fccb9772ffe5be4ceebb599cc7c1f9697f
* Add javadoc in ServerConnectorHenri Sara2015-11-232-5/+38
| | | | | | Add missing javadoc for ServerConnector.get/setChildren(). Change-Id: I7ba143d41602a5f2a069635911a0ea61a92806e6
* Typo in setCompositionRoot descriptioncbmeeks2015-11-231-1/+1
| | | | Change-Id: I26bbf29742ab42e2c9c4025a3cf92029a4c191e3
* Isolate text selection blocking to Grid instead of body element (#16838)Teemu Suo-Anttila2015-11-201-7/+7
| | | | | | | | Some themes are more explicit with user-select rules, and doing this on the level of body element does not work with said themes. To make all the themes behave the same way, we only block selection inside of Grid. Change-Id: Iaf24fede88e4bc683e065c214e7baf3f545c99c9
* Prevent text selection while DnD resizing columns (#16838)Teemu Suo-Anttila2015-11-182-0/+32
| | | | | | | | | | This patch uses a JavaScript workaround to prevent text selection in IE8 and IE9 and Safari. The selection is prevented everywhere in the DOM while a column is resizing. Change-Id: I1e7b9cdc675c83a9666493d8545337d601e40077
* Remove border on immediate child cells only on Valo. (#18787)Sauli Tähkäpää2015-11-173-1/+60
| | | | Change-Id: I87825ea46fbcea98b054d3dc2eb3fe80781a9d48
* Support on-the-fly compiled CSS hot reload from classpath (#16949)Vladimir Kulev2015-11-171-6/+19
| | | | Change-Id: Iadb9b23697c162705d99a7b9b7fd992766d39b19
* Add missing export declaration to the manifest of vaadin-push.jar (#18190)Markus Koivisto2015-11-161-0/+1
| | | | Change-Id: I2874d3a065ad825e40e71c0167fc9ffb48ee1f5d
* Use TabState.id for Accordion tab items as well (#18456)pag2015-11-133-0/+127
| | | | Change-Id: I17206081109b2ec356d175915a16b0002a858bb4
* Add some performance guidance to renderer javadocs.Leif Åstrand2015-11-132-1/+12
| | | | Change-Id: I5171c6eb6360a9c85b8afbc3096d9b6c5c8f4064
* Mention cell being a flyweight in WidgetRenderer javadocsLeif Åstrand2015-11-131-1/+3
| | | | Change-Id: I41de3d75e1141856bb6132aeca11abff4bc7e08f
* Do not modify state while serializing (#19090)Artur Signell2015-11-122-2/+37
| | | | | | | | Serializing an object should never modify its internal state. It should be possible to serialize an object multiple times and get the same result Change-Id: I983e2eec1b3fb374bf40f150bdb9918ac5791d62
* Fix outdated javadoc referenceLeif Åstrand2015-11-121-2/+2
| | | | Change-Id: I0bfae621ca71df02e5e19c33d4c21498fa86616c
* Specify custom first day of week for Calendar #19227Leonid Rozenblyum2015-11-113-7/+137
| | | | | | | | Added possibility to provide first day of week independent of Locale. (the Calendar code has been reformatted according to Eclipse 'Save action'). Unit-tests added. UI test extended. Change-Id: I3e3531228c139ce2014a1227e47c12e7896a6f87
* Add destroy method for Navigator (#10213).Denis Anisimov2015-11-074-6/+175
| | | | Change-Id: Icb2676bd603bbe36a8d7d005128036234a5a0c62
* Optimize layout performance of Table (#17947)jotatu2015-11-0510-11/+514
| | | | | | | | | | | | | | | | | | | | | Adds functions for skipping child component layout measuring. Removes unnecessary code from VScrollTable. 1. case: no components - render time without the fix: ~105ms - render time with fix: ~105ms 2. case: 2 button and 2 textfield cols - render time without the fix: ~279ms - render time with fix: ~240ms (~17% faster) 3. case: 3 button and 3 textfield cols - render time without the fix: ~350ms - render time with fix: ~281ms (~20% faster) Change-Id: I6025f8ee2fd438d228ff3b65f43535961cf12c0b
* Test for table column hiding and sizes (#12303)Ilya Ermakov2015-11-043-7/+151
| | | | | | | Test to verify that the column width is not changed when toggling its visibility. Change-Id: I48c62b72bf7e66740ec516d43bc9b5995c1fefb4
* Render null header caption as empty (#18553)Artur Signell2015-11-034-4/+92
| | | | Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d
* Changed grid sidebar to overlay (#18698)mtzukanov2015-11-037-75/+143
| | | | | | | | | Previously grid sidebar could be partially hidden by "overflow: hidden" of an ancestor component. Now it's in an overlay and the hierarchy doesn't affect it. Grid tests were also updated for new DOM structure. Change-Id: Ic5fb125d9c097be0f0141c121dfe74d30e650dd0
* Force FormLayout children to shrink with the layout (#11154)Leif Åstrand2015-11-036-2/+332
| | | | | | | | | | | The <table> used by the FormLayout doesn't reduce its size if any child component has locked its own size (which is the case with e.g. Table and some other components doing explicit pixel calculations). To work around this, we need to detect the situation, force the <table> to reduce its width by temporarily assigning explicit widths to the cells and then remove the forced size after all children have adjusted. Change-Id: Iacef62979acf24c869a5cbeb82efb0c1e537ec95
* Mention quirks with JavaScript "this" in AbstractJavaScript* javadocsLeif Åstrand2015-11-023-6/+16
| | | | Change-Id: I512b861c65f8c0f6c6e8f684cb933cbcc20cdb99
* Reset sort indicator when saving editor. (#17428)Sauli Tähkäpää2015-11-022-8/+49
| | | | Change-Id: Idaaf707bdb4178ff4ff5dfc7af853f08d5690b5e
* Fix javadoc typosLeif Åstrand2015-11-021-2/+2
| | | | Change-Id: I9c8a3f3f4cfa375db8825019f3cd80a043424d88
* Touch long tap context click emulation improvements (#19222)Markus Koivisto2015-11-021-11/+38
| | | | | | | | Removed Android handling since it already fires a context menu event when not selecting text. Increased the threshold for iOS move. Prevent some browser default functionality on TouchEnd after sending context click event to server. Change-Id: I9297a5738e593a260b50ba176d483fbdd3293ba3
* Null pointer Exception in Slot.onBrowserEvent (#16587)pag2015-10-291-1/+1
| | | | Change-Id: I60f68cf7a9e61980809af253bb4f4a0ab92f1230
* Fixes column header drop indicator (#18925)mtzukanov2015-10-293-33/+81
| | | | | | | | | | | | | Calculation of the frozen column width was wrong in multiselect mode. It did not take into account the last frozen column, but added the select column twice. The same problem was in AutoScroller (as the same methods were copy-pasted there), for which reason the autoscrolling was not scrolling till the end. This patch fixes the calculation error and removes copy-pasted code, reusing the same code in both places. Change-Id: I164e2fc96688088b620ad8785c533c593723f83e
* Release notes: add enhancements for 7.6Henri Sara2015-10-291-3/+11
| | | | Change-Id: I24c47abe189c3733e955e261dbf5d584f46d75b4
* Prevent text selection when drag-resizing Grid columns (#16838)Johannes Dahlström2015-10-281-0/+7
| | | | | | This patch uses CSS user-select and therefore does not fix IE 8 and 9. Change-Id: If9f462d97b9417b3d14f37d1e7f0cedba018be37
* Let column resize handle overflow its parent (#16838)Johannes Dahlström2015-10-284-12/+26
| | | | Change-Id: I795956a4512f1e6e688e1e3c0522cc952117d78f
* Support caption fetching for HTML and Widget headers. (#18528)Sauli Tähkäpää2015-10-282-7/+23
| | | | Change-Id: Idad2cbbb6b138258ff6428e7ecc3d922ef99c675
* Fix VAbstractOrderedLayout widget removal race condition (#18703)7.6.0.beta1Teemu Suo-Anttila2015-10-271-3/+4
| | | | | | | | Removing a widget that got moved to another layout occasionally caused slot to lose track of related widget. As a result the layout never created a new slot when the same widget is put back in there. Change-Id: I0d8793324b8a5ac8a06aa2803ac8de22b90b7545
* Fix TreeTableContextClickTest to not scroll vertically on IETeemu Suo-Anttila2015-10-273-10/+2
| | | | | | | | Too wide TreeTable in a UI causes IE to scroll vertically making calculated positions fail miserably. Also makes context clicking in AbstractContextClickTest avoid StaleElementReferenceExceptions. Change-Id: Ic4f5049bf0c221eb441813d202b9de5571e655d6
* Update Chrome version stringHenri Sara2015-10-271-1/+1
| | | | Change-Id: I9736e528d4812a613ffa934c476d3b69ccefd631
* Add ContextClickEvent for touch events (#19206)Markus Koivisto2015-10-274-31/+205
| | | | | | | | Touchstart events now fire a contextclick event if there is a context click listener. Refactored sendContextClickEvent to accomodate the change. Change-Id: I9bce5948f89149e9ecb261cfd8ae918470ccec3e
* Update @since tags for 7.6Henri Sara2015-10-2711-10/+14
| | | | Change-Id: Ic0a9b69c535ec51ae29472844506efb61ec5f0a7
* Fix Grid NPE when deselecting already removed row (#19152)Teemu Suo-Anttila2015-10-263-5/+38
| | | | Change-Id: I1361c8099e9f4a95e991f4937a406c5e4db67027
* Make it possible to inject Navigators (#14006)Henri Sara2015-10-231-4/+43
| | | | | | | | This change makes it possible to create an injectable subclass of the navigator by providing a protected no-args constructor and a separate initialization method. Change-Id: I7d55fca2a84570d47e2767b0fb81a82e0732fd21
* Make Navigator more extensibleHenri Sara2015-10-231-12/+91
| | | | | | | | | The Spring, CDI etc. add-ons need hook points that permit switching contexts at the right time. This was very hard to do due to the monolithic nature of navigateTo() - beforeViewChange() is too early and can be cancelled, afterViewChange() is too late. Change-Id: I66ffbafe1597b782b4feaf2ebd0de3ca1941a9ae
* Remove scheduleDeferred calls from EscalatorTeemu Suo-Anttila2015-10-231-4/+4
| | | | Change-Id: Idfde7842fd31be4b84a1436b40eaa932b6a6c349
* Set pixel sizes to Grid columns when user starts drag resize (#16838)Johannes Dahlström2015-10-214-17/+40
| | | | | | This makes column resizes smoother and more intuitive. Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
* Fix session wrap class javadocsLeif Åstrand2015-10-202-3/+3
| | | | Change-Id: I962facc5395990751821d11966300a7c2e89dc3d
* Fix replacing of currently selected Tab (#14252)Dmitrij Abolichin2015-10-202-0/+68
| | | | Change-Id: I49a86d2fceac233fdfd9e31d8ade519b9f8460b6
* VTree$TreeNode avoid NPE triggered by external ONLOAD events (#18563)pag2015-10-191-1/+1
| | | | | | | | | If an ONLOAD event fires but the target is not the icon, an NPE occurs. The isCaptionElement method has already used the check against null before any call happens on the icon which logic is enough for the onBrowserEvent check as well. Change-Id: I64de45a07f50f113dcfcb4556f0d8adeea9e1b1b