summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101)Artur Signell2013-06-251-1/+1
| | | | Change-Id: I75cd1eebeeb5836b9205a9a1e28795be300d135a
* Updated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115)Artur Signell2013-06-241-1/+1
| | | | Change-Id: I068cca8ae2d3739b3a8ba7b01cd83b1b69509dd2
* Enable using @Stylesheet with vaadin:// (#9934)Artur Signell2013-06-181-0/+5
| | | | Change-Id: I895fad31ef5b31a395cea95e64d6b183d718056f
* Reinitialize pendingAccessQueue after deserialization (#12097)Johannes Dahlström2013-06-181-1/+6
| | | | Change-Id: I5e6d192093f19df1a07e95dff643babd6f532426
* Updated to atmosphere 1.0.14-vaadin1Artur Signell2013-06-141-1/+1
| | | | Change-Id: I758ec93ce6eeeef023811f754e67eed122c510d9
* Define LegacyPropertyToStringMode parameter strings in the enum (#11970)Leif Åstrand2013-06-142-19/+38
| | | | Change-Id: Ia6a0b5f63ef1290a2054307e5dd2d34f6628fa64
* Fixes broken request listeners (#12056)Artur Signell2013-06-141-14/+15
| | | | Change-Id: I432d901ea3a0d0e3013c045a2048489ee0a41695
* Corrected fix and better error checking for action/event request (#12056)Artur Signell2013-06-142-3/+21
| | | | Change-Id: I85e8fff753baba2d0c373f235ddf74d0d2a97ed3
* Do not write 404 as a response to all action/event requests (#12056)Artur Signell2013-06-133-1/+63
| | | | Change-Id: I2b820396fc1ccfeb0eefec4456f920a410068ec2
* Adding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails ↵Fabian Lange2013-06-121-0/+20
| | | | | | | | (#11168) The information is available from VBrowser and just not exposed via WebBrowser (while isLinux, isMacOSX and isWindows are). Change-Id: I2fd6133f404cb3e1b4fadb93075fda012f70adb6
* Handle push disconnections and reconnections more reliably (#11831, #11922)Johannes Dahlström2013-06-121-7/+23
| | | | | | | | | | | | | | | | Client-side: * Call onOpen() also after a successful reconnection * Reliably call onClose() and try to reconnect after disconnection * Don't try to reconnect if !isApplicationRunning() after push * Queue messages while trying to reconnect (state CONNECT_PENDING) Server-side: * Implement AtmosphereResourceEventListener.onDisconnect() * Push marked as pending until client reconnects (if ever) Change-Id: I1783eb72eb7005b07cae786d8ec8371da3903108
* Using StringTokenizer instead of String.split() in AbstractComponent (#8759)Fabian Lange2013-06-121-12/+10
| | | | | | Avoids wasteful creation and parsing of regular expressions, which are not required here. Change-Id: I247088fbfc4eca6c2500bd6b4da9afc9d66d0a51
* Add support for rem units (#11279)Leif Åstrand2013-06-122-1/+5
| | | | Change-Id: Id6b6402b22956cd96b86cef86f11088e959dc05d
* Update widgetset template (#12053)Henri Sara2013-06-121-15/+16
| | | | Change-Id: I8444139c9ed7d2bb3a8dd7c967cccf14d9038b27
* Avoid string casing problems (#11970)Leif Åstrand2013-06-121-1/+1
| | | | Change-Id: Id5c1f496bcd754e1c7e16e0df0d451d9a0bf054e
* Fix NPE when converting null values (#11895)Artur Signell2013-06-121-20/+39
| | | | Change-Id: Ia2f7f3b0063f3966a816f8afbed11df22d595fc8
* Restore legacyPropertyToString value parsing logic (#11970)Leif Åstrand2013-06-121-9/+17
| | | | Change-Id: If9d46577e4d59999f35fcf6478d06652ac80468a
* Removed dead codeArtur Signell2013-06-111-2/+0
| | | | Change-Id: Iad8cc7a59389e2816088d542a7ca53a4b8cec72e
* Added type parameter to converter methods (#11895)Artur Signell2013-06-1114-59/+146
| | | | Change-Id: I6562c537d9e5a0745eb67bc613123a265578ae00
* Make VaadinServlet use enclosing UI class by default (#12039)Leif Åstrand2013-06-111-0/+12
| | | | Change-Id: Ica2b9b9d82ef6d683cb51f3478a07e57cbfa28e5
* Move ClientConnector.setParent to Component and Extension (#11777)Artur Signell2013-06-118-85/+105
| | | | Change-Id: I1f0b2597f621160329ddc432869277b2758efd52
* Use vaadin-atmosphere without slf4j dependency (#11765)Artur Signell2013-06-101-1/+1
| | | | Change-Id: I78f5dda87957452670c3d86d960b0683c67eb77d
* Print warning if in production mode and theme compilation is required (#12031)Artur Signell2013-06-101-5/+12
| | | | Change-Id: I59030e7c0133d790f145d31f1614b7e8aaf7c04d
* Allow using element resize listeners from javascript connectors (#11996)Leif Åstrand2013-06-101-0/+10
| | | | Change-Id: I97b280c2e260752be87ce85d2eda81ec4f14d4fe