summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Fixes issue with Table not scrolling completely to the end #12651John Ahlroos2013-09-261-4/+28
| | | | | | | | Made the Table notice if the user is trying to scroll to an item on the last "page" and in those cases actually scroll to that item, not just to the page's first item as it did before. Change-Id: I47df33c75aa9b7e4f9a5f4bd5daeb301028517e8
* Ensure string converter is always setArtur Signell2013-09-191-0/+1
| | | | Change-Id: I8c9146975397356e92fded0d0207b56d057ac6c5
* Use JUnit 4.11 in all modules (#12572)Artur Signell2013-09-171-1/+1
| | | | Change-Id: I244f4afdebe956166a9158d85dc69fd7746c5a47
* Clarified error message (#12583)Artur Signell2013-09-161-2/+5
| | | | Change-Id: I542046158f6e78c8bb26aaee110bd5b123ae13e6
* Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)Johannes Dahlström2013-09-132-36/+56
| | | | Change-Id: I0bab199632554655ef92a624f5654852b4b157d1
* NullPointerException in DateToSqlDateConverter (#12284)Edoardo Vacchi2013-09-132-0/+34
| | | | | | | | | | DateToSqlDateConverter throws a NullPointerException when the provided value is null, thus violating the interface contract. If the provided value is null, then the methods should return null. Missing test case included Change-Id: If08225c2a6ae7c3103e47d3817a5d45469c7bf4f
* NullPointerException in TableQuery.fetchMetadata() (#11403)Edoardo Vacchi2013-09-131-1/+3
| | | | | | | Trivial patch. The finally block lacks a check for null before attempting to invoke table.close() Change-Id: Ib32f1d75fef4bd442652ca60a2b7df6aa45d7fa7
* Use non-obfuscated version of vaadinPush.js when not in production (#12527)Artur Signell2013-09-101-2/+9
| | | | Change-Id: I8e0baec2391b140e6a72eedf6606fd2792c735bc
* Added a comment that hopefully explains the NULL_OBJECT #12509Jonatan Kronqvist2013-09-091-0/+16
| | | | Change-Id: I99ea86d8842324884dda3a5c392f37e8d4a7acf6
* Allow storing and restoring null instances in CurrentInstance #125097.1.5Jonatan Kronqvist2013-09-092-9/+75
| | | | Change-Id: Icf82377b0d47166d59e8be5f2f8b450d654302d7
* Protect CurrentInstance instances from garbage collection (#12509)Leif Åstrand2013-09-052-236/+74
| | | | Change-Id: I9ec103a1a42d8888d6f680f477393807223740cf
* Excludes WeakValueMap from the serializable test #12401Jonatan Kronqvist2013-09-032-0/+3
| | | | | | | Also added a note to the WeakValueMap JavaDoc stating that it is not serializable. Change-Id: If342746ad7c7cac0db8bac4ba75236970cc4cd01
* Add deprecation message to unused constantLeif Åstrand2013-09-021-0/+5
| | | | Change-Id: Ifcc4e021fa3843129f6501d6526e4d4f5c6930fb
* Table ignores Container updates while painting (#12258)Henrik Paul2013-09-021-0/+19
| | | | | | | | | Vaadin threw an IllegalStateException if a Container was updated while Table was being painted. SQLContainer was known to invalidate its cached size during a Table repaint, resulting in an ItemSetChangeEvent. This fix has been copied over from how ComboBox handles this situation. Change-Id: I04af71a5ea3844da245cb9e31ada4a30ff704619
* Avoid leaking memory from inherited ThreadLocales. Fixes #12401Jonatan Kronqvist2013-09-022-1/+229
| | | | | | | | | | | | The issue is fixed by changing the normal HashMap inside the inheritable thread local to a map implementation holding only weak references to the values (WeakValueMap). Also included is a test UI that starts threads, which run until the JVM is quit. This along with VisualVM was used to reproduce the issue and verify the fix. Change-Id: I116cc4e56e8a19c3b770abab6b18b9e262f4dafa
* Always unlock the same session instance that was locked (#12481)Leif Åstrand2013-08-303-6/+11
| | | | Change-Id: I15ff1177d827bc8fee9f8f723f9a288b0c3aea71
* Allow creating session for Portlet UI init request (#12473)Leif Åstrand2013-08-301-0/+4
| | | | Change-Id: I4c62e246c026cec7c87c2bd5ee5435891f885882
* Escape markup in CustomLayout's JavaDoc (#12410)Henrik Paul2013-08-201-2/+2
| | | | | | svn changeset:26111/svn branch:6.8 Change-Id: I8585c9022b78381a40d9008b0d489aecd741b011
* Make sure that no fileIds are replayed to the client (#12330)Henrik Paul2013-08-151-4/+23
| | | | | | | | | Due to how ProxyReceivers are constructed and serialized, we don't want to resend the ProxyReceivers for files that already are in the queue. Either we needed to change the way ProxyReceivers behave, or just make sure that they aren't resent. I chose the double-check method. Change-Id: I7c4e866ba4287afd3e80329be3640335d4ff00af
* Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172)Teemu Pöntelin2013-08-121-1/+1
| | | | Change-Id: I10d7ba7d0bc5c03e65206617c521d089fd4d0cfe
* Use <code> instead of {@code} for sample containing { and } (#12311)Leif Åstrand2013-08-092-6/+7
| | | | Change-Id: Ibbcc48e5557521bfe50e73e63ad723fe7da29c9b
* Make sure bean field validators are only added once (#11045)Patrik Lindström2013-08-072-1/+59
| | | | Change-Id: I67779fa5bfd4c850101c11c22091c988eb65b808
* Fix race in VaadinService.lockSession() (#12282)7.1.2Johannes Dahlström2013-08-061-1/+20
| | | | | | | | The session might be invalidated before lockSession() acquires the lock. Check if the session is still valid after locking and ensure SessionExpiredException is thrown if not. Change-Id: Iad716332a65b7c198427fce5198f6808140c140c
* Avoid infinite recursion when purging access queue (#12310)Leif Åstrand2013-08-051-1/+3
| | | | Change-Id: Id5029f6606ce508c5746af4e0fa3078283f511bf
* Refine handling of null and empty URI fragments (#12207)Leif Åstrand2013-08-021-4/+10
| | | | Change-Id: Ie133694b010a586c6336e9b04be7bcd94d2525e9
* Improve URI fragment listener javadocs (#12296)Leif Åstrand2013-08-021-7/+46
| | | | Change-Id: I7c91768f02d04c613f25e5984cb015067465815c
* Ensure StringToIntegerConverter rejects values outside range of int (#12230)Johannes Dahlström2013-08-012-1/+34
| | | | Change-Id: I150bee64144045355bfa75ac10ede663d3feb5ce
* Add optional OSGi Import-Package for javax.validation (#12301)Johannes Dahlström2013-07-312-1/+4
| | | | Change-Id: Iff9105537a2a8123b808be33f8cd390b0c23edd6
* Document multiple load semantics in @StyleSheet and @JavaScript (#12200)Leif Åstrand2013-07-302-2/+26
| | | | Change-Id: Id52f196ad6d14e8077482b19a8d0479aedc64db3
* Fix actions in action menu appearing in random order #12250Patrik Lindström2013-07-301-4/+5
| | | | Change-Id: I77186adb94392cd317d37b9d9250f28891e6f06e
* Clarify Embedded javadoc (#12290)Johannes Dahlström2013-07-301-6/+10
| | | | Change-Id: I3c15bf79236019056eeb501974a6a34799e8fd40
* Fix invisible calendar actions menu #12181Patrik Lindström2013-07-302-0/+12
| | | | Change-Id: I4cdf3d1e584f1537f0f216ddd6f65c1ec4a2ee6b
* Fix race condition that might leave access queue unpurged (#12277)Leif Åstrand2013-07-292-2/+29
| | | | | Merge: no Change-Id: Iee1012486906d8c2c46cef94cfcd6d2b399d7a6b
* Fix issue with hidden component cells in Table and TreeTable #12119John Ahlroos2013-07-241-1/+4
| | | | Change-Id: I2f491d04ff177f7f0ce104c96b1c4a84ee7a2bc0
* Verify the connector hierarchy if assertions are enabled (#12271)Leif Åstrand2013-07-231-0/+50
| | | | Change-Id: I87632abe9d86927b7ba4254724fedfdb04513205
* Only add DateRangeValidator to DateField if start or end of range is set ↵Johannes Dahlström2013-07-192-6/+84
| | | | | | (#12193) Change-Id: I9138a5607c1ff20f3aa7be49270f683e732ee195
* Update to Atmosphere 1.0.14.vaadin4 (#12242)Leif Åstrand2013-07-191-1/+3
| | | | Change-Id: I76ccbf631f8ba169f11513b7d585f39b8ab570a4
* Close PushRequestHandler when VaadinServlet is destroyed (#11878)Leif Åstrand2013-07-191-0/+12
| | | | | | | | | Should be implemented using ServiceDestoryListener in Vaadin 7.2 Merge: no Change-Id: Ibb4d37f1f95c56b80111df3a3217076af18dd93d
* Make VaadinService.closeInactiveUIs set UI threadlocals (#12186)Leif Åstrand2013-07-172-9/+44
| | | | | | | Also update javadocs for methods called without UI threadlocals Also make sure pending access tasks are run for a UI being closed Change-Id: Ia600207b2d25fc195ee4254da371d420152bf100
* Don't close an unbound VaadinSession for GAEVaadinServlet (#12209)Leif Åstrand2013-07-173-7/+36
| | | | Change-Id: If3480eb6e21f5f19a43b8dc0d6279173ff3bec40
* Improving performance of ConnectorTracker (#12218)Fabian Lange2013-07-151-3/+3
| | | | | | | Swapping the if check in cleanConnectorMap to prevent unnecessary calls to isComponentVisible when the connector is in uninitializedConnectors set. Change-Id: If6305a908364f8a7bb51fd7302449c6f54c274a3
* Improved AbstractClientConnector performance (#12219)Fabian Lange2013-07-151-3/+3
| | | | | | | Avoiding duplicate lookup of connector hierarchy when a component shall be marked dirty. Optimized if statement to fail fast. Change-Id: I3ac82d64b235ebfd1888a6076c595f351018d887
* Attempt to get GAE lock for UIDL requests (#12211)Leif Åstrand2013-07-121-17/+18
| | | | | | | Also removing the overhead of creating a Date object just for getting a timestamp in the otherwise touched areas of code. Change-Id: Ic712c0ae26d22995ad332593dbb8a14dbec7fcd6
* Ensure VaadinSession.service is set up by storeInSession (#12204)Leif Åstrand2013-07-121-0/+7
| | | | Change-Id: Ie707442f2625f3c9c07c75924c99299f07a4f3ec
* Set current instances when calling UI.push from VaadinSession.unlock (#12168)Leif Åstrand2013-07-102-7/+16
| | | | Change-Id: I27795ab9ae3e3692f508e847936ccaa5a1ebadd4
* When InputStream cannot be opened while writing static resource response, ↵Fabian Lange2013-07-101-13/+17
| | | | | | | | | | | | | display 404 instead of 500 (#10920) A security audit revealed that it is possible to trigger an error 500 with stack trace by just trying a directory traversal. An example of this can be found in the sampler: http://demo.vaadin.com/sampler/VAADIN/widgetsets/ While there are other scenarios that can produce exceptions, in this place Vaadin can handle it more graceful by just catching the exception and returning 404. Change-Id: Iec68d81d3bca365ec133737a9cd3e3b825d192b2
* Set heartbeat response Content-Type to text/plain (#12182)Johannes Dahlström2013-07-091-0/+3
| | | | | | By default browsers assume text/html and may complain about an empty response body. Change-Id: I66ed1aef3421a7f0a618bc441ffab1dc0efbdc71
* Make UploadInterruptedException visible (#12070)Fabian Lange2013-07-091-1/+14
| | | | | | | | | | | When another threads interrupts the Upload, the UploadInterruptedException is thrown. The respective StreamVariable will receive streamingFailed(StreamingErrorEvent event) which contains the causing exception via event.getException(). When the UploadInterruptedException is not public, it is impossible to react on it in the StreamVariable (e.g. treating an IOException differently from an UploadInterruptedException). Change-Id: I9098e70e6750c420fcc0978340544e545e237b26
* Ensure table's cells aren't refreshed if table is detached. (#9138)Anna Koskinen2013-06-281-1/+1
| | | | Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a
* Fix NPE in Like.java (#10167)Patrik Lindström2013-06-282-0/+51
| | | | Change-Id: I041fbc5c3cda08d3cf3453cefc5f044c63dbe9bb