summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
Commit message (Collapse)AuthorAgeFilesLines
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-14513-140561/+0
| | | | Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
* Prevent HTTP Response splitting in case the server doesn't (#19611)Leif Åstrand2016-02-171-0/+2
| | | | | | | | | | | | | Prevent user-provided input used in the redirect from containing newline characters as the user agent would interpret subsequent parts of the input as additional headers or the actual HTTP payload. At least modern versions of Tomcat and Jetty already protect against this kind of attack by escaping received header values, but that is not necessarily the case for older versions or other servlet engines. See https://www.owasp.org/index.php/HTTP_Response_Splitting for details. Change-Id: If4b9bf5fba953073de49c1ab1cba8e5e6bc8e546
* Lock session during deserialization (#19310)Leif Åstrand2016-02-141-0/+21
| | | | Change-Id: I0f0c029d6de88b74bae1c7253b7665d5570e3767
* Fix Components cleanup on Header/FooterRow remove in Grid (#19497)Teemu Suo-Anttila2016-02-131-0/+11
| | | | Change-Id: I596d0cc13b782398b4c5c8338b8370e69862ea88
* Fix Grid DetailsGenerator being removed on Container change (#19593)Teemu Suo-Anttila2016-02-131-2/+13
| | | | Change-Id: Ied328804260b1a7bb35093fca1d972735559cf41
* Fix removing extension from a connector that is not its parent (#19569)Teemu Suo-Anttila2016-02-081-0/+5
| | | | Change-Id: I0201c2dc94cd50d09931d54bb9e18893e6737d9c
* Make project Java 8 compatibleArtur Signell2016-02-031-2/+3
| | | | Change-Id: I875e152b8851d7b962be47f369c1f6b483193260
* Added JavaDoc for PropertyIdMatti Tahvonen2016-02-021-0/+33
| | | | Change-Id: I78d14f3936b4a01f1decd079eb4ac4010a5635d2
* Fix GeneratedPropertyContainer with non-Sortable Containers (#19511)Artur Signell2016-01-251-3/+2
| | | | | | | | Adds a missing throw to sort method and fixes getSortableContainerPropertyIds to return an empty collection if not sortable. Change-Id: I5df34234867762ce88e181a10ec015cd0336cd39
* Propertly handle null in StringToCollectionConverter (#19481)Artur Signell2016-01-211-0/+7
| | | | Change-Id: I9a01528910c5f9ec830e236fd8acd78dda763f24
* Remove out of date javadoc (#19454)Artur Signell2016-01-181-6/+0
| | | | Change-Id: If5461521aec2fd2faef0f51d6e0fe724ce3a899e
* Add missing @since for 7.6.1Teemu Suo-Anttila2016-01-121-1/+1
| | | | Change-Id: Ic28598e561f0fc325b6f74ace3398d46ba996fb5
* Add a client-side connector for DetailsComponentManager (#19412)Teemu Suo-Anttila2016-01-051-1/+1
| | | | Change-Id: Ibc4d35a8f729b670d8712743c9da8d608a0ba952
* Fix NPE in Label.writeDesign with NULL values #19434John Ahlroos2016-01-051-6/+25
| | | | Change-Id: If3628bc655d6cd58ab51b7400af808bdbca3dc91
* Make GeneratedPropertyItem addItem return null when appropriate (#18685)Artur Signell2016-01-041-0/+9
| | | | Change-Id: I08f05bee9bf0c82f5767c63654046285c85f233a
* Ensure no unknown attribute warnings are logged in design tests (#19429)Artur Signell2016-01-042-0/+2
| | | | | | * Adds missing custom attributes to Slider/AbstractEmbedded Change-Id: I574caf3499ab0681a7c829f89164062eb725013f
* Fix custom attributes of Link component (#19107)maxschuster2016-01-041-6/+9
| | | | | | | Added the custom attributes href and target to the Link component to match the attribute names used by Link.readDesign() and Link.writeDesign() Change-Id: I7f257fcf89cb78d14d9632aa1be548e92f3010c3
* Include correct type and parameter info in exception (#19064)Artur Signell2016-01-041-2/+2
| | | | Change-Id: Ic08bfa69bc0c4cb42ecbb1d53ab712e75075ee10
* Make GeneratedPropertyItem equals self (#19426)Artur Signell2016-01-041-0/+33
| | | | Change-Id: Ieccb53a402dd6669fb684b0ef8e18e4c8778c58e
* Make GeneratedPropertyContainer.getItem(nonExistant) return null (#19425)Artur Signell2016-01-041-0/+4
| | | | Change-Id: I41e40b87b64aec046428c1294aa1d488b6daf693
* Revert changes which were previously reverted from only 7.5 (#19424)Teemu Suo-Anttila2016-01-011-48/+5
| | | | | | | | | | | | | | Revert "Take Window special case into account for invalid layouts (#17598)" This reverts commit abc1c5dff6438d65e53473b69ae9a3ca2b8e60e1. Revert "Render nested invalid layouts correctly (#17598)" This reverts commit ac4e85f4e35a57d1ba6e6f3448744cbb0c2df60f. Added test to ensure a similar problem is not reintroduced later Change-Id: I892896e953637d793d0c0a788f28f3b61494d441
* Update to Font Awesome 4.5.0Artur Signell2015-12-301-0/+20
| | | | Change-Id: Ied7437e43dee81671c6b36dd7f860cf9bdf7fb68
* Fix javadoc typo in ItemClickEventHenri Sara2015-12-211-1/+1
| | | | Change-Id: I759999ab2e39202b4dda7eafa2cc30a64524939d
* Increase grid column resize handle width (#16838)Marlon Richert2015-12-181-0/+10
| | | | Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6
* Fix empty @since tagsHenri Sara2015-12-181-2/+2
| | | | Change-Id: I68dd71f65091a6c5979b67c2faea9050feac2b02
* Make it possible to only show collapsible columns in menu (#9811)Leif Åstrand2015-12-161-1/+33
| | | Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b
* Fix RpcDataProvider listener handling on ItemSetChange (#19371)Teemu Suo-Anttila2015-12-151-0/+11
| | | | | | | | Old ValueChangeListeners are discarded and new ones created when an ItemSetChange occurs. This is done to reapply the listeners to possibly recreated Items. Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7
* Fix and extend Javadoc for setFirstDayOfWeek (#19227)Leonid Rozenblyum2015-12-141-2/+4
| | | | | | | | The Javadoc was incorrect saying the method goal was to set the first day of week depending on locale. Actual main goal - to set it in independent way. Also extended the doc to look more complete. Change-Id: I2c82c774f4e245437b03c0bd0246a0361584d949
* Reapply DataGenerators when container changes (#19357, #19359)Teemu Suo-Anttila2015-12-141-0/+10
| | | | | | | | | Previously on container change Grid applied only its internal DataGenerators to the new RpcDataProviderExtension. Now it goes through all existing Extensions and adds all DataGenerators to the data provider. Change-Id: Idbd48e5152867b1d2b7a770741e3ea08aa4299b6
* Check for optimizations when looking for missing updates (#18317)Leif Åstrand2015-12-032-3/+45
| | | | | | | | | A recently merged patch leaves out information from hierarchyInfo for empty connectors with state changes. This must be taken into account when looking for disappeared connectors that do not cause any hierarchy change to be sent. Change-Id: I9ae7150341a83798141d0a2806ee81cafe7c2f9a
* Add missing @since valuesHenri Sara2015-12-022-2/+2
| | | | Change-Id: I602b9fc4c87a19a78f949a23519c412aba789baa
* Detect hierarchy changes not sent to the client (#18317)Leif Åstrand2015-12-022-0/+70
| | | | Change-Id: I77b420738738a42ff50e2a509e4ac4072b1b6e1f
* Fix select all checkbox state update with low row count (#19322)Teemu Suo-Anttila2015-11-301-2/+4
| | | | Change-Id: Ifbaeb2db18ecb6657ae839fec90dbfcaa99be4ac
* Remove bogus commentLeif Åstrand2015-11-301-1/+0
| | | | | | | | The comment was introuced in commit da29f74 for a constant named CLICK_EVENT_ID, but it was accidentally left in the code when that constant was removed. Change-Id: I69697f517585cafb30cc223497bc8db4a919e884
* Fix setSelected in MultiSelectionModel to update row data (#19302)Teemu Suo-Anttila2015-11-252-3/+9
| | | | Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa
* Set session as current while deserializing (#9953)Leif Åstrand2015-11-251-2/+7
| | | | Change-Id: Ib420f99c621b7d508659907615a7e8a1ae47b4d9
* Fix javadoc copied from CellStyleGeneratorLeif Åstrand2015-11-251-1/+1
| | | | Change-Id: I305c0aaeba04c4c1416ecebd708f377f8f28f4a1
* Omit empty hierarchy data from the response (#18510)Leif Åstrand2015-11-253-14/+32
| | | | | | | | 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
* Typo in setCompositionRoot descriptioncbmeeks2015-11-231-1/+1
| | | | Change-Id: I26bbf29742ab42e2c9c4025a3cf92029a4c191e3
* Support on-the-fly compiled CSS hot reload from classpath (#16949)Vladimir Kulev2015-11-171-6/+19
| | | | Change-Id: Iadb9b23697c162705d99a7b9b7fd992766d39b19
* Do not modify state while serializing (#19090)Artur Signell2015-11-121-2/+7
| | | | | | | | 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-111-6/+31
| | | | | | | | 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-072-1/+16
| | | | Change-Id: Icb2676bd603bbe36a8d7d005128036234a5a0c62
* Optimize layout performance of Table (#17947)jotatu2015-11-052-1/+95
| | | | | | | | | | | | | | | | | | | | | 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
* Render null header caption as empty (#18553)Artur Signell2015-11-031-1/+3
| | | | Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d
* Mention quirks with JavaScript "this" in AbstractJavaScript* javadocsLeif Åstrand2015-11-023-6/+16
| | | | Change-Id: I512b861c65f8c0f6c6e8f684cb933cbcc20cdb99
* Fix javadoc typosLeif Åstrand2015-11-021-2/+2
| | | | Change-Id: I9c8a3f3f4cfa375db8825019f3cd80a043424d88
* Support caption fetching for HTML and Widget headers. (#18528)Sauli Tähkäpää2015-10-281-7/+3
| | | | Change-Id: Idad2cbbb6b138258ff6428e7ecc3d922ef99c675
* Update @since tags for 7.6Henri Sara2015-10-271-0/+4
| | | | Change-Id: Ic0a9b69c535ec51ae29472844506efb61ec5f0a7