summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Ensure session is set before writing timeout interval (#13617)Artur Signell2014-04-282-1/+97
| | | | Change-Id: I4a4f85fe400b9d6e60b81fd5c6c8dbc3b3eac02c
* Fix Table.sort(...) to update the sort indicator (#8978)Juuso Valli2014-04-251-1/+9
| | | | Change-Id: I2df7de7648a8a311a913267ef0d0d0e57f52f19d
* Clarify comments in Table.typeIsCompatible (#8168)Juuso Valli2014-04-231-16/+2
| | | | Change-Id: Idc9b2e2052afe2b5586904c535674ec686bb4685
* Fix findUI throwing NullPointerException when extending Vaadin (#13556)Juuso Valli2014-04-232-1/+32
| | | | | | | findUI sometimes threw a NPE when the session wasn't set but the UI ID was. Doesn't occur in normal use, just when doing custom things with requestStart/requestEnd or runPendingAccessTasks Change-Id: Id7733567923fa30dcab4946c43b73200c2a0fac2
* Add caching support for PublishedFileHandler (#13574)Juuso Valli2014-04-231-1/+8
| | | | | | | | Add caching support for PublishedFileHandler similar to VaadinServlet. Testing is done manually as browser caching is difficult to develop tests for. Change-Id: I314745766c9feb60758547dba77eb9e13976ce91
* Clean Table.propertyValueConverters if the property is removed (#8168)Juuso Valli2014-04-232-9/+445
| | | | | | | | Clean Table.propertyValueConverters if the property it attached to is removed, or if the container is changed and the new container does not contain a property with that identifier with a matching type. Change-Id: I894ee6462ea7b9c1f9138a24fcb84db829165c7d
* Clarify lock check assert message if another session is locked (#13473)Leif Åstrand2014-04-171-2/+11
| | | | Change-Id: I1120ad5acd553e22db95e3635fffbd453fd26310
* Fix test depending on default localeJuuso Valli2014-04-171-1/+1
| | | | Change-Id: I4b90e01ddaa4535131df3262ac53a1e2e634b2ac
* ContainerEventProvider returns style names from container. Fixes #10718Maciej Przepióra2014-04-162-2/+34
| | | | | | | | ContainerEventProvider doesn't actually return style names from container in certain situations (copy-pasted code). This patch fixes the problem. Change-Id: I512ea260f34a6db0572b614db393699da152fa8d
* Merge changes from origin/7.2Artur Signell2014-04-1410-393/+133
|\ | | | | | | | | | | | | d2e24fe Update some APIs based on the 7.2 API review comments 758f26b Fix NPE when removing tabsheet (#13402) Change-Id: Ic23793738c866d3b6d1a376f37dc4a56f72b8e43
| * Update some APIs based on the 7.2 API review commentsJonatan Kronqvist2014-04-1410-393/+133
| | | | | | | | | | | | | | | | | | | | * NotificationConfiguration "helpers" removed from Notification * NotificationConfiguration methods accept Type instead of style (String) * Tab.setIconAltText -> Tab.setIconAlternateText * Remove the two new TabSheet.addTab() methods * UI.reinit() -> UI.refresh() Change-Id: I97488e7c6de8cfacc591450d69c821b2973b8707
* | Fix copyright headers not passing the validationLeif Åstrand2014-04-143-6/+8
| | | | | | | | | | | | | | Also let through some other formatting changes that Eclipse insisted on when saving the touched files. Change-Id: I319de35c4862555b010d6da6d4a5e096619e2c34
* | Merge "Merge branch '7.2'"Artur Signell2014-04-146-510/+18
|\ \
| * | Merge branch '7.2'Jonatan Kronqvist2014-04-146-510/+18
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | 51c2e93 Revert "Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)" ee4ae9f Merge from 7.1 to 7.2 Conflicts: scripts/automerge7.sh Change-Id: Ieb61caed4b3b6bbc6d3dc84c02ae8eeed897a144
| | * Revert "Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)"Jonatan Kronqvist2014-04-116-510/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 85251833de3bd101d388b20fdb9b02c532a9f1c9. Conflicts: server/src/com/vaadin/data/util/AbstractInMemoryContainer.java server/tests/src/com/vaadin/data/util/TestIndexedContainer.java Change-Id: I49dfdc58ae5841892c6d8e205c520437da9a05e5
* | | Update Window Javadoc based on 7.2 API review changesLeif Åstrand2014-04-141-3/+3
|/ / | | | | | | Change-Id: Ifdc1379892d8f798f2ceabcf83d772fa6a76dd4b
* | Apply abstract ordered layout settings for replaced component (#13568).Denis Anisimov2014-04-142-0/+95
| | | | | | | | Change-Id: If6863d518d902ee48bb73fbb0c9b3725cb7c8707
* | Updated Window API based on 7.2 API reviewArtur Signell2014-04-142-9/+67
| | | | | | | | Change-Id: Ie6fa8b51c2fd1d1fe7def9ca7c11b4023eae52b7
* | Make ComboBox always immediate (#4054)Jonatan Kronqvist2014-04-111-3/+11
| | | | | | | | Change-Id: I34525b7d9e78ede7f9533869326ca0c08474963a
* | Merge commit '3d0ff32bea81c3e3c64bd044276ff04a4f8555ed'Johannes Dahlström2014-04-102-1/+87
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: server/src/com/vaadin/server/communication/AtmospherePushConnection.java server/src/com/vaadin/server/communication/PushHandler.java Change-Id: I93b5c3f3017aaa1ba2a231028c808d6e56fe1c11
| * | Prevent duplicate detach() calls with push (#13261)Johannes Dahlström2014-04-022-41/+86
| | | | | | | | | | | | | | | | | | | | | | | | This used to happen when push was disconnected due to a UI or session expiring. requestStart() and requestEnd() were called on disconnect even though a disconnection is not a request. Change-Id: I31d9cae65ec75b5046802a54bbe4564d6e44b29f
| * | Fixed pom fails in unit tests.Sauli Tähkäpää2014-03-291-3/+9
| | | | | | | | | | | | Change-Id: I0acbde16576dc26c36031038fe905695581c682d
* | | Refactor VaadinPortletRequest extending. (#13551)Sauli Tähkäpää2014-04-106-107/+472
| | | | | | | | | | | | Change-Id: Ibe169bf0ec6d2f335e099ac2659079c8fad6ac0b
* | | Prevent duplicate session destroy events (#12612)Johannes Dahlström2014-04-104-20/+99
| | | | | | | | | | | | Change-Id: Ic752268a9deac350dbff29ecf73cfce2eb1ba0cc
* | | Don't allocate unnecessary memory for empty array of Objects inDenis Anisimov2014-04-102-9/+162
| |/ |/| | | | | | | | | MethodProperty (#10446). Change-Id: Ib8e2cfb42494a9dd3efb5ca62ddea9675a1dab1e
* | Optimizes memory and CPU usage in JSONCodec (#13545)Fabian Lange2014-04-092-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The null element and the empty JSONArray are frequently created and used as temporary objects to be encoded by the json encoder. Because they are never manipulated it is possible to reuse the same empty element again and save a significant amount of temp objects. This also helps jsonEquals, which then can return faster due to: if (fieldValue == referenceValue) return true jsonEquals does not need to check the referenceValue for JSONobject.NULL. The invoking code makes sure this never happens. Boolean and Integer values are very often and much more efficiently compared directly instead of using toString. Change-Id: I5fd736427019406469357cda1115d2683b7a5e2b
* | Don't add slash after jsessionid in URL (#12307)Henri Sara2014-04-092-2/+104
| | | | | | | | Change-Id: Ic329b4307bcc0613e6c0160375003d4b9f7e7ee1
* | Update Accordion and TabSheet to use Vaadin 7 style. (#13402).Felype Santiago Ferreira2014-04-082-212/+185
| | | | | | | | | | | | | | This change also adds subpart support for TabSheet and converts a test to TB3. Change-Id: I23b6c81686ea6587470d8019e89a85149ec0b068
* | Update Atmosphere 2.1.2.vaadin2 (#12329)Artur Signell2014-04-071-1/+1
| | | | | | | | | | | | Contains websockets fixes for Tomcat 8 and Wildfly 8 Change-Id: I55b6576dfffd611f819a434d9b05edf1e5c6eda8
* | Update Atmosphere 2.1.2 for better Tomcat 8 support (#12329)Artur Signell2014-04-031-1/+1
| | | | | | | | Change-Id: If6362284392d17ff18e2a907439db3339344d2b1
* | Override elements must be after dependency elements #13532Jonatan Kronqvist2014-04-031-3/+3
| | | | | | | | Change-Id: I8cc1fd86a8ba7ba64595809afbd964e3b384d658
* | Override the cssparser dependency from sass-compiler (#13532)Jonatan Kronqvist2014-04-031-0/+3
| | | | | | | | | | | | | | | | vaadin-sass-compiler depends on an older version of cssparser than the one used in client-compiler. This change overrides all sass-compiler provided cssparser deps with the newer version. Change-Id: I06d2b957d66dd3abbef161ae2643eec0cdf7e13a
* | Update commons-io to the same version in all modules (#13531)Jonatan Kronqvist2014-04-031-1/+1
| | | | | | | | | | | | Adds a commons-io.version property to the build.properties file Change-Id: I57a72f8841846d77ba73d567bd9bc3c8415b243c
* | Wait for all messages to be sent before disconnect (#13529)Artur Signell2014-04-021-2/+30
| | | | | | | | Change-Id: Ic9d5d4ac3a3f19bb906cba64cf752461d4b16ba5
* | Do not allow Atmosphere to make session infinitely long (#12139)Artur Signell2014-04-021-1/+3
| | | | | | | | Change-Id: I09d39ff40f9adda20eb38056ab94ddfa0b07fb64
* | Workaround for Atmosphere race condition (#13528)Artur Signell2014-04-021-32/+40
| | | | | | | | Change-Id: I39cb72ef9a1f6c6424dce7f9feff2cebbfe3fdfd
* | Make removeFromParent throw if the right session is not locked (#13473)Leif Åstrand2014-04-023-3/+161
| | | | | | | | Change-Id: Id5ef40db07404d7cb41b26768d18e757b8cae2b3
* | Use UUIDBroadcasterCache (#13514)Artur Signell2014-04-011-0/+3
| | | | | | | | Change-Id: I63c2d5886507281a9dfe219dea46dc5067ffa4e3
* | Use existing AbstractReflectorAtmosphereHandler (#13514)Artur Signell2014-04-011-46/+3
| | | | | | | | | | | | AbstractReflectorAtmosphereHandler handles cache requests correctly out of the box Change-Id: I0ab96f53826cf181dc58b007fb6b4ec4eb4ad54d
* | Refactor AtmosphereHandler to a field (#13514)Artur Signell2014-04-012-61/+69
| | | | | | | | Change-Id: I0956e31acfec605418eff0313fbcf82c3c7d6579
* | Remove theme-compiler and replace with external vaadin-sass-compilerJonatan Kronqvist2014-03-311-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * Moves CompileTheme from the theme-compiler to buildhelpers * Refactors CompileTheme to get the Vaadin version on the command line instead of using the Version class found in vaadin-shared * Refactors build scripts to pass the version number on the command line when running CompileTheme * Removes the theme-compiler module/project/whatchamacallit * Replaces the theme-compiler dependency with vaadin-sass-compiler 0.9.0 from maven Change-Id: I4f98d15b60e18a826bf264eb55d12b3e736e8e54
* | Add reinit method for preserve-on-refresh UIs (#12191)Johannes Dahlström2014-03-316-19/+243
| | | | | | | | | | | | | | | | | | | | UI.reinit() is now called when an existing, preserved UI is shown after a browser reload of the current page. The default implementation is empty. The browser window size and location are up to date in UI.reinit(); window resize and URI fragment listeners, if any, will be called after returning from UI.reinit(). Change-Id: Ie7aa670aaecf8e0e1510c91325b2a137b41263af
* | Move DragAndDropService to VaadinSession (#11409)Johannes Dahlström2014-03-317-37/+37
| | | | | | | | | | | | | | | | * ConnectorTracker.getConnector() is now DnDService-aware * Deprecated LCM.getDragAndDropService() is removed * LCM.getConnector() simply delegates to ConnectorTracker.getConnector() Change-Id: I9627d50f7386ead8d92ccbba27b4a558c03076c7
* | Merge changes from origin/7.1Build Agent2014-03-285-46/+306
|\| | | | | | | | | | | | | | | | | | | | | 1f4ca4c Prevent resize for sorted column if not initialized (#12951) 437f4e9 Improved portlet configuration resolution. (#7814) 55a1b20 Added headers support for WebSphere Portal. (#13491) f979681 Fix VScrollTable to clear reported ranges (#13353) a473222 Added browser inclusion and exclusion for TB3Runner. 29e7df2 Makes combobox work with pasted texts. (#13214). Change-Id: Icdb5a633d1d9f7bf7004b4b45857d268ea674f50
| * Added headers support for WebSphere Portal. (#13491)7.1.13Sauli Tähkäpää2014-03-261-0/+35
| | | | | | | | Change-Id: Ib5396f8e5c28232d560406542530c034ab1f657d
| * Improved portlet configuration resolution. (#7814)Sauli Tähkäpää2014-03-264-46/+271
| | | | | | | | | | | | | | | | Refactored static path resolution in VaadinPortletService. Refactored theme name resolution in VaadinPortletService. Refactored widgetset name resolution in VaadinPortletService. Change-Id: I44c5ffaa7530383843205aadd8da7642899a04c9
* | Handle default package properly in deployment config (#12461).Denis Anisimov2014-03-283-4/+95
| | | | | | | | Change-Id: Ied046a49c4e3046011658dd77963972ea1e9e806
* | Added convenience methods for bean binding (#13068)Matti Tahvonen2014-03-272-0/+148
| | | | | | | | | | | | Reduces common bean binding code from 4 lines to 1 Change-Id: Ie5f20ec2791284b850a9f3e11e21face3b5e4276
* | Use the ErrorHandler mechanism in ConnectorResourceHandler (#12269)Johannes Dahlström2014-03-272-0/+105
| | | | | | | | Change-Id: I9d608e942380bd53868b65eda180fe9c8477c138
* | Always call close() method for session valueUnbound() method (#12843).Denis Anisimov2014-03-274-0/+124
| | | | | | | | Change-Id: I1500b4b50d1f7ae9ee5fd2252a7b682b93cce720