summaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-302-0/+80
| | | | | | | 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-222-23/+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-142-4/+4
| | | | | | | 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-111-0/+54
| | | | | | (#12532) Change-Id: I67306d2b9d151614f72455063b0d01423aeed4c1
* Make the various Writers member fields instead of local variables (#12446)Johannes Dahlström2013-10-102-14/+23
| | | | Change-Id: I9ca101edf6df41702b27635da9f749bdac5bf5f4
* Recreate transient pendingAccessQueue in readObject() (#12456)Johannes Dahlström2013-10-081-9/+17
| | | | | | 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
* 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-131-0/+9
| | | | | | | | | | 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-091-7/+24
| | | | 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-031-0/+2
| | | | | | | 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-071-1/+17
| | | | 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-011-1/+16
| | | | Change-Id: I150bee64144045355bfa75ac10ede663d3feb5ce
* 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-191-6/+7
| | | | | | (#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