aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't lock session for checking request details (#12265)Leif Åstrand2013-07-295-17/+47
| | | | | | | | Change-Id: Id3e2b250b6aea66859274e2a5d6046c4f80172c3
* | Make settting of assistive description of Window optional (#12276)michaelvogt2013-07-243-14/+38
| | | | | | | | | | | | | | Throws exception on server side for null parameter Adds client side getter for descriptions Change-Id: I7d6231eec52b584f674b97b9d0c8ee0b78b19297
* | Merge changes from origin/7.1Leif Åstrand2013-07-236-12/+93
|\| | | | | | | | | | | | | 36aebc8 Update to Atmosphere 1.0.14.vaadin4 (#12242) 62c63a6 Only add DateRangeValidator to DateField if start or end of range is set (#12193) Change-Id: Ie2ba84e2d598313158007e521508c756abef6c2e
| * 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-194-6/+9
| | | | | | | | Change-Id: I76ccbf631f8ba169f11513b7d585f39b8ab570a4
* | No-op merge from origin/7.1Leif Åstrand2013-07-230-0/+0
|\| | | | | | | | | | | 9c8eb70 Close PushRequestHandler when VaadinServlet is destroyed (#11878) Change-Id: Id68ea7f18c57ca5e2a2102c979f9b0b431c58c15
| * 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
* | Merge changes from origin/7.1Leif Åstrand2013-07-2310-21/+199
|\| | | | | | | | | | | | | | | | | 3229847 Fix lost focus in Table when refreshing row cache (#12231) 654d570 Don't close an unbound VaadinSession for GAEVaadinServlet (#12209) 2ea19f3 Make VaadinService.closeInactiveUIs set UI threadlocals (#12186) 7f5a0a7 Add Require-Bundle for our rebased atmosphere bundle (#12195) Change-Id: I65c9a33462b3508b763115f8410fec3e62e16d45
| * Add Require-Bundle for our rebased atmosphere bundle (#12195)Leif Åstrand2013-07-181-1/+1
| | | | | | | | Change-Id: Ibcc86cf874925096b3ac368cb0c6e3af00619f60
| * 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
| * Fix lost focus in Table when refreshing row cache (#12231)Tapio Aali2013-07-165-4/+118
| | | | | | | | | | | | | | | | svn changeset:25991/svn branch:6.8 svn changeset:26075/svn branch:6.8 svn changeset:26091/svn branch:6.8 Change-Id: Ia4a6ab4cc6ff98795a6d1f9b1701a345dc3f4dc4
* | Clears the live area flag that Firefox sets by mistake (#12257)michaelvogt2013-07-231-0/+2
| | | | | | | | | | | | When selecting a Tab, screen reader reads out all the tabs otherwise Change-Id: I41d4f6c103daeec06be3828eb27ee479dc92477c
* | Add ServiceDestroyListerner used by PushRequestHandler (#12251, #11878)Leif Åstrand2013-07-196-0/+166
| | | | | | | | Change-Id: Id6147bbfe8da7cd3e3f3744acf3ef92b8c63b37b
* | Merge changes from origin/7.1Leif Åstrand2013-07-1554-10616/+13429
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 419c6c7 Implemented Focusable in MenuBar (#7674) a4f1277 Fixed NPE in ApplicationRunnerServlet (#12145) 08d365a Fixed slider value initialization on HSV and RGB tabs of ColorPicker. (#7863) da480bd Fix VaadinService.findUI to throw Error if UIConstants.UI_ID_PARAMETER is not set (#11943) 6291a50 Ensure that Slider diffstate always contains "value" (#12133) 7e7e698 32x32 favicons added, replacing the old favicons (#12143) 1702059 Replace printStackTrace with getLogger().log() (#12147) b421d6e Updated Javadoc for Table.getColumnAlignment fixing #6810 414e3bf Fixed an error in CustomComponent JavaDoc (#10038), and some improvements. 4583d07 Fix NPE in Like.java (#10167) 6c4da29 Ensure table's cells aren't refreshed if table is detached. (#9138) e37464c #11638: Ending an imported SCSS file with a comment causes an error in the Sass 478eeb5 Test using Jetty 9 (#12124) f7cc72d Close only combobox on escape, not the window (#12163) 9a9b0a5 Automatic test for escape closing window from combobox (#12163) ae565a2 Fix bug in PopupDateField where locale was retained incorrectly if changed while popup was open (#12153) d7a64fd Enable native scrolling in home screen apps on iOS 6+ (#12149) 4a04f00 Add test case for testing ClickEvent after dragging button (#7690) 775c969 Make UploadInterruptedException visible (#12070) 6a4bbe5 Set heartbeat response Content-Type to text/plain (#12182) e4011c6 When InputStream cannot be opened while writing static resource response, display 404 instead of 500 (#10920) 20162db Set current instances when calling UI.push from VaadinSession.unlock (#12168) 94c0f86 Ensure VaadinSession.service is set up by storeInSession (#12204) 23ed487 Attempt to get GAE lock for UIDL requests (#12211) 7f52b2e Improved AbstractClientConnector performance (#12219) a934261 Improving performance of ConnectorTracker (#12218) Change-Id: I810124d60c22d4d0ab837a19eb9c2689951864b5
| * 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-104-7/+96
| | | | | | | | 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
| * Add test case for testing ClickEvent after dragging button (#7690)Patrik Lindström2013-07-081-0/+57
| | | | | | | | Change-Id: I9ecb796a9bcbc8415efe27873fdbd71745d0aa85
| * Enable native scrolling in home screen apps on iOS 6+ (#12149)Henri Sara2013-07-043-3/+27
| | | | | | | | | | | | This also fixes another iOS 6 detection issue for home screen apps. Change-Id: Icbbb15d3f0d6668f11b2a796ae2c096d8c4dec0b
| * Fix bug in PopupDateField where locale was retained incorrectly ifPatrik Lindström2013-07-043-0/+104
| | | | | | | | | | | | changed while popup was open (#12153) Change-Id: Ib4bebab8c6e75e7f1af7cfc5198ab6516e94a45e
| * Automatic test for escape closing window from combobox (#12163)Henri Sara2013-07-041-0/+42
| | | | | | | | Change-Id: I38a143fb76ebf3a64cd416e5ba7d325aedc60ffe
| * Close only combobox on escape, not the window (#12163)Henri Sara2013-07-032-0/+44
| | | | | | | | Change-Id: I356e115b5cd96ba0a598178a15215654f2fd16bb
| * Test using Jetty 9 (#12124)Artur Signell2013-07-011-0/+8
| | | | | | | | Change-Id: Ie765e542e2319dc1d94c61a986cab3720556e66a
| * #11638: Ending an imported SCSS file with a comment causes an error inHaijian Wang2013-07-017-10484/+12266
| | | | | | | | | | | | the Sass Change-Id: Ib498f68caa7e87e2d9a21b29c9bfb2f30f35c701
| * Ensure table's cells aren't refreshed if table is detached. (#9138)Anna Koskinen2013-06-283-1/+163
| | | | | | | | Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a
| * Fix NPE in Like.java (#10167)Patrik Lindström2013-06-282-0/+51
| | | | | | | | 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
| * 32x32 favicons added, replacing the old favicons (#12143)Jouni Koivuviita2013-06-287-0/+0
| | | | | | | | | | | | | | | | Added new version for favicon.ico, which has 32x32 pixel version in addition to 16x16 pixels. Adds support for high resolution/retina displays. Change-Id: I49bd84b9d23f1e26ceee28dab1e26d9cd4f6b6d2
| * Ensure that Slider diffstate always contains "value" (#12133)Risto Yrjänä2013-06-283-0/+119
| | | | | | | | | | | | | | 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-283-53/+109
| | | | | | | | Change-Id: I3776400d849d4ba9f76d6296603152c0a6464aaa
| * Fixed NPE in ApplicationRunnerServlet (#12145)Jouni Koivuviita2013-06-281-1/+9
| | | | | | | | | | | | | | | | | | | | If the path for a test case file contained special characters (such as space), they would get URL encoded which wouldn't work for File constructors. Fixed by using URI.getPath(), which does the decoding. Change-Id: I2a7c13b785adbb2e486d3807b115540c0ba70fa6
| * Implemented Focusable in MenuBar (#7674)Jens Jansson2013-06-284-3/+205
| | | | | | | | Change-Id: I31cd6fafffacc16147e63d3878fcf025163deb5b
* | Tabsheet should not immediately select a tab when changing tab usingmichaelvogt2013-07-127-21/+340
| | | | | | | | | | | | | | | | keyboard (#11823) Adds the necessary WAI-ARIA roles to the component (#11827) Change-Id: Ie1ed40227679e3497971b834919713614a8cc23e
* | Prevent to exit a Window with the tab key (#11874)michaelvogt2013-07-125-12/+270
| | | | | | | | Change-Id: Icd12ec6e2eac626ad493707dfa8288d620bb9bb7
* | Fixes @PreserveOnRefresh losing page title on refresh #11054Joonas Lehtinen2013-07-096-7/+77
| | | | | | | | | | | | Moves Page title to PageState instead of using RPC for changing the title on Page.setTitle(). Change-Id: I8e5ab2064c04235503fb2531f4cdbb108530ac7e
* | simplified isStaticResourceRequest and improved its performance (#11758)Fabian Lange2013-07-091-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation did first check if the PathInfo was empty (null returned). This is almost never the case in reality. But if it happens, then the RequestURI would never contain contextRoot+"/VAADIN/". Next it checked that contextUri was not null, and checked if the Uri started with "/VAADIN/". This only would have worked in case the context root would have been "". The next case checked was if the Uri starts with contextRoot+"/VAADIN/". This is what you normally want to check. The only valid other case from before (contextRoot == "") is also covered by this line. What you would have seen in normal deployments is: * First if exit only for first request (http://demo.vaadin.com/sampler/) (and sometimes not even that depending on trailing slash config) * Second exit only on no context root deployments (getContextRoot() returns "") * Last exit in all other cases Additionally, the existing implementation does not work correctly for the case getContextRoot would return null (which thankfully no container does). Change-Id: I500e0c5eb0ac2bfa0b32af91800b2f7f303485ff
* | Support uploading files larger 2GB via drag and drop and file input (#11947).Fabian Lange2013-07-083-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vaadin mostly just passes through the value from the Javascript File object on drag and drop. As per specification (http://www.w3.org/TR/file-upload/#blob) the size value can be "long". The size attribute of Html5File was already long, but this patch makes sure long values actually are transported correctly from the client side Transferable. Additionally, the file upload handling in FileUploadHandler was determining the length of the upload via the Servlet Spec getContentLength method of the request. However the spec was written at a time where 2GB were unthinkable. Luckily containers return this value by querying the Content-Length header, which can transport values of "long". So instead of using the Servlet Spec method, FileUploadHandler evaluates the header itself. AbstractStreamingEvent already was supporting "long" values. For Drag&Drop, the file size needs to be serialized as double, because long is not supported in JSNI. Change-Id: I606fca7430c65c20144793fa011cb2f6ee3a0415
* | Add getCacheTime(filename) to VaadinServlet (#11744)Fabian Lange2013-07-081-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | This implementation by default adheres to the GWT Pristine Caching rules and calculates 0 seconds for ".nocache." and 1 year for ".cache." filenames. All other filenames will use the value configured in the deployment configuration. By exposing this to a method, developers can implement custom naming schemes. Developers also can opt to set an expires header using this value. Change-Id: Ibc0d17d48d38bfa3bb28bdf3929ad314828be406
* | Tabsheet tabs should support alternate text (#11824)michaelvogt2013-07-088-8/+153
| | | | | | | | Change-Id: I000fe6102291d8bd9bbe484b5683b50c40c8470b
* | Accessibility for Window (#11821)michaelvogt2013-07-048-5/+702
| | | | | | Change-Id: Ica5d13fb138e8ed1c1966858c9e1dd0c4aa13af5
* | Support screen reader only notifications (#11830)michaelvogt2013-07-034-3/+31
| | | | | | | | Change-Id: I09391b27c0b3df538ffe74c4edb8d96224f14cd3