summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Upload control with empty selection (#9602)Tomi Virtanen2014-01-071-12/+2
| | | | | | Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test. Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30
* Fixed spelling mistake in log message.John Ahlroos2014-01-071-1/+1
| | | | Change-Id: Ib43cca840a8f66b13d14a84b629068a53e8f4c9d
* Allow user to override Atmosphere init params set by Vaadin (#13088)Johannes Dahlström2013-12-181-1/+13
| | | | Change-Id: Iea7c7978240f79cb7c9586b472e94da53d625ba7
* Backported null value support for NestedMethodProperty to 7.1 (#12884)Jarno Rantala2013-12-167-30/+82
| | | | | | | | Support for null values in NestedMethodProperty was already implemented in master branch (#11435) This changeset includes changesets made for that. Change-Id: I10696467f792e234326075bbcdd5aad487905a7e Merge: no
* Do not throw NPE if conversion messages is null (#12962)Artur Signell2013-12-032-8/+24
| | | | Change-Id: Ie2b95ed4da89e2c5ab8b462300a6f4bd28dc7570
* Catch and log exceptions in session lifecycle listeners (#12915)Henri Sara2013-11-273-3/+162
| | | | Change-Id: Ie8638f010d74c569c5ff56e91c95e23a5cb92c9b
* Fixes NPE in TreeTable.setContainerDS(null) (#12928)Thomas2013-11-082-2/+17
| | | | Change-Id: I7f3148e51d216dfe20a11c8a5fd922f43cbc673b
* Minimal fix for error handling with streaming (#12578)Artur Signell2013-11-071-2/+14
| | | | | | There are still issues in PushHandler where the wrong resource is used but these should not be as critical. They will be fixed in #12920 Change-Id: Ife8d3694bdb6ee29c5b4adbd8988cc0346c4fe3f
* Send window position data back to server after drag (#12885)Thomas2013-11-061-0/+10
| | | | Change-Id: I9ca766b0e06390c7ab90f9cbd4996b83032789db
* Updated to Atmosphere 1.0.18.vaadin1 (#12891)Artur Signell2013-11-051-1/+1
| | | | Change-Id: I5387c9f5eca1eb7941fbd4565d4b6f3cb95a5a0f
* Add StringToLongConverter for automatic handling of long values (#12225)Artur Signell2013-10-304-0/+190
| | | | | | | Backported from master Change-Id: Ibb91d28aab3731486c84d09547c7af641f39610a Merge: no
* Remove out of order flush() (#12283)Artur Signell2013-10-241-2/+0
| | | | | | | | | | | Writer.flush() is specified as: "Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams." Change-Id: Iecafdbb13a7a26a48300d2967c25c705f5bf1e38
* Revert broken fix and test (#12446)Johannes Dahlström2013-10-223-148/+14
| | | | | | | | | | | | The timeoutInterval variable needs to be part of per-UI state for the code to work correctly. Storing it in a servlet-global MetadataWriter instance is both semantically wrong and a race condition. Also, the test currently throws NPE if assertions are enabled. This reverts commit f595d057951523baf35a797692376dfa5de0bc8d. Change-Id: Ia6d1383b2c112b86ce60c75a3ebb9f10da545d4a
* Added more exception handling to PushHandler (#12578, #11882)Marc Englund2013-10-211-5/+45
| | | | | | PushHandler now catches Exception and calls ErrorHandler more. Change-Id: I7032c00f717b1dae34f4352abc035b1b398c7cfc
* Fix serialization issue (#12703)Artur Signell2013-10-181-1/+3
| | | | Change-Id: Ibdced8cdc3200ccfef2750e32fc8bf8dc544f1ae
* Reverted button click() logic check (#12743)Artur Signell2013-10-161-1/+1
| | | | | | | | The isConnectorEnabled() method should only to be used to check if the client side is allowed to interact with the button, not on the server side (isConnectorEnabled() is false if the component is not attached to a UI) Change-Id: I56cd93a1041432199337148f5c4a1449a825c5bc
* Validate that the connector is enabled before triggering actions for it (#12743)Artur Signell2013-10-154-12/+116
| | | | | | Automated test enabled only for IE9-IE11 because of #12785 Change-Id: I265e5d1ead3fa56469861c5a98dcc9d0106d1051
* Fixed swallower access. Now error handler logs exceptions. (#12703)Felype Santiago Ferreira2013-10-154-2/+106
| | | | Change-Id: If8fe00e10c7ec56cbd8753ff88d4816613a340f2
* Update to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127)Artur Signell2013-10-143-5/+5
| | | | | | | Build vaadinPush.js from the released version instead of having a separate javascript version in the project Change-Id: I37aac284216c8ec6efd03c242e639e88854f11fd
* Handle ClientMethodInvocation serialization with JSONArray as parameterPekka Hyvönen2013-10-112-0/+165
| | | | | | (#12532) Change-Id: I67306d2b9d151614f72455063b0d01423aeed4c1
* Make the various Writers member fields instead of local variables (#12446)Johannes Dahlström2013-10-103-14/+148
| | | | Change-Id: I9ca101edf6df41702b27635da9f749bdac5bf5f4
* Recreate transient pendingAccessQueue in readObject() (#12456)Johannes Dahlström2013-10-082-12/+33
| | | | | | This prevents a race condition in getPendingAccessQueue(). Change-Id: I1b8d013119e5963ed6083b7dd17afccd3a915e42
* Prefixes GET parameters in Liferay with portlet namespace #12602John Ahlroos2013-09-272-4/+36
| | | | Change-Id: I9939a7af83482e136ed0d146accdeec0cd9f10ea
* 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