summaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-281-0/+5
| | | | Change-Id: I041fbc5c3cda08d3cf3453cefc5f044c63dbe9bb
* Fixed an error in CustomComponent JavaDoc (#10038), and some improvements.Marko Gronroos2013-06-281-20/+36
| | | | Change-Id: Ifbdae94dc94405eca967a95fe783a85d778f461a
* Updated Javadoc for Table.getColumnAlignment fixing #6810Sami Ekblad2013-06-281-1/+2
| | | | Change-Id: I05004cb874f5c32c03d28119d0522d3184a82292
* Replace printStackTrace with getLogger().log() (#12147)Artur Signell2013-06-283-4/+22
| | | | Change-Id: I9ec61fdc7ddc06f129a9d69b99e6295a62c4b0d3
* Ensure that Slider diffstate always contains "value" (#12133)Risto Yrjänä2013-06-281-0/+17
| | | | | | | Force diff state to contain "value", so that value changes from value change listeners work. Change-Id: I5b2c661f1297ec0272c150a5a9ff4ca26f19fefe
* Fix VaadinService.findUI to throw Error if UIConstants.UI_ID_PARAMETERmtzukanov2013-06-281-4/+6
| | | | | | is not set (#11943) Change-Id: I3cbb88e3fab4f39af8e4799d5a914ab9bd4733f5
* Fixed slider value initialization on HSV and RGB tabs of ColorPicker. (#7863)Teemu Pöntelin2013-06-281-53/+31
| | | | Change-Id: I3776400d849d4ba9f76d6296603152c0a6464aaa
* Implemented Focusable in MenuBar (#7674)Jens Jansson2013-06-281-1/+30
| | | | Change-Id: I31cd6fafffacc16147e63d3878fcf025163deb5b
* Remove sub window references from Window javadocs (#9892)Leif Åstrand2013-06-281-62/+51
| | | | Change-Id: I51f1f39a9730313e0150bff2fccdba67e69e9d95
* Use varargs instead of array where appropriate (#4513)Artur Signell2013-06-269-28/+15
| | | | Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
* Actually show loading indicator during loading (#12128)Artur Signell2013-06-261-0/+1
| | | | | | * Add theme name already during bootstrap Change-Id: I78da3029b818ced51714d385cd77f5ba9bfce625