summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implemented HasEnabled on VLink (#18530)Marco Collovati2015-10-193-1/+214
| | | | | | | | Method setWidgetEnabled in AbstractComponentConnector, called from updateEnabledState, sets enable state only for widgets implementing HasEnabled interface. Change-Id: Idc700d0c28efd13b9a9470333b19a1509cca4a51
* improved javadocsMatti Tahvonen2015-10-171-1/+2
| | | | Change-Id: I75cf104b05ed361ced7f17b20cebd98cc3825d5c
* Provide own states for a number of components (#18987).Denis Anisimov2015-10-1642-16/+932
| | | | Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
* Fix Grid headers and Footers in Runo theme (#19141)Teemu Suo-Anttila2015-10-151-0/+4
| | | | Change-Id: I76dcd437456351a8d5b0fffab6cc8bbfec6c2638
* Remove call to setEnabled in Grid Sidebar constructor (#19126)Teemu Suo-Anttila2015-10-151-2/+0
| | | | Change-Id: I2b700c72bcdc0f3a6c75a5bfb31059a986bd4dc9
* Javadocs for new 7.6 API (#19135) and some fixeselmot2015-10-153-12/+19
| | | | Change-Id: Ic93545c9c3ed48d6328ee29af744cbfbff0b5c0b
* Support ContextClicks in empty areas of Table and TreeTable (#19130)Teemu Suo-Anttila2015-10-145-12/+67
| | | | | | | When the user clicks an empty area, the TableContextClickEvent will still fire, but will have a null property. Change-Id: I39303f1a72d072db09c4fe6df8141d6caf0764c2
* Support Grid context click events in the empty areas of Grid (#19128)Teemu Suo-Anttila2015-10-147-14/+68
| | | | Change-Id: Ia6aebc266c48fb284ebf8f7a89375390555d1bec
* Removed unnecessary comments (#19116)elmot2015-10-144-69/+0
| | | | Change-Id: Ia99bcc828bee1a82581bbe552a83ca50ce129b05
* Update release notes for Jsoup, Declarative and ContextClick changesTeemu Suo-Anttila2015-10-131-0/+6
| | | | | | | | | | | Jsoup binary incompatibility between different versions. Declarative default prefix is "vaadin-", not "v-". ContextClickEvents added, specialised for Grid, Table, TreeTable and Tree. Change-Id: I6de7a35b52cbacb886753012b2ed5ecab46a4ed0
* Mention reversed attach event order in release notes (#16348)Johannes Dahlström2015-10-131-0/+4
| | | | Change-Id: I2f0c430deb6184890085e70ecbcd976c37a41d89
* Move RpcDataProviderExtension and DataGenerator to correct packageTeemu Suo-Anttila2015-10-135-6/+10
| | | | | | | | New location is com.vaadin.server.communication.data as the extension only manages the communication of container data to a client-side data source. Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
* Fix empty @since for 7.6.0.alpha77.6.0.alpha7Markus Koivisto2015-10-124-9/+9
| | | | Change-Id: I8045727400c795fca78561c1a4c859595f7c53af
* Remove Guava dependency from GridTeemu Suo-Anttila2015-10-121-9/+22
| | | | | | | This removes an external dependency to guava set helpers from the Grid class. Change-Id: I1d85b6c4090c0b5efa568135105933dab8f0b964
* Refactor DetailComponentManager to be a static nested class of GridTeemu Suo-Anttila2015-10-126-335/+277
| | | | | | | | | | While refactoring any special cases are removed. This needs Grid extensions to have a way for adding and removing components from Grid. Removing any and all parts of RpcDataProvider work towards having it separate from Grid and maybe usable for other components as well. Change-Id: Ia4e25d5f0acaf2085478346b0ff6e23c8334e1b9
* Fix empty @since for 7.6.alpha7Markus Koivisto2015-10-097-16/+16
| | | | Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d
* Add Grid column resize event API (#16838)Johannes Dahlström2015-10-099-28/+421
| | | | Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274
* Write true boolean attibutes without ='' (#17583)Leif Åstrand2015-10-0946-196/+237
| | | | | | Also add missing test for GridLayout alignments Change-Id: If553c9e254fb754cb020a63013bfcc9ecae3a056
* Update FontAwesome to 4.4.0 (#14555)Artur Signell2015-10-097-472/+1286
| | | | Change-Id: Ibc7d174970c154fce730341a8cfc240b8072633e
* Revert "connection: close" change for long polling (#18758)Artur Signell2015-10-091-9/+3
| | | | | | This reverts commit 79c8c696c09b0a7cbe1f1863e6c7c165b2f5f19f Change-Id: I364bc4a77cff36f319cec86a793806a0406f78b4
* Fix stack overflows in ListDataSource ListWrapper (#19104)Teemu Suo-Anttila2015-10-091-2/+2
| | | | Change-Id: Ie04e673fcdb3ce0f63b07158b5cd9f128ea9c30e
* Add Grid.deselectAll() (#18339)Artur Signell2015-10-093-0/+140
| | | | Change-Id: I5d5237fcc06ae184a884cb17fa9b6eee5c37179a
* Correct the place where attach events are fired (#16348)Matti Tahvonen2015-10-092-16/+29
| | | | Change-Id: Ib0679cf893edda3206b858938c0684a242500cfb
* Fix Checkbox event handling in Grid Editor (#19096)Teemu Suo-Anttila2015-10-082-6/+23
| | | | | | | | This patch limits event preventDefault calls to happen only with Tab navigation. No other events are prevented by default anymore. Earlier implementation that prevented too many events was in patch for #16841 Change-Id: I78924d35c86b822295fdaf720b3e4540c43df5c0