Fabian Lange [Wed, 12 Jun 2013 14:08:48 +0000 (16:08 +0200)]
Add getCacheTime(filename) to VaadinServlet (#11744)
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.
Artur Signell [Fri, 28 Jun 2013 11:52:58 +0000 (14:52 +0300)]
Merge changes from origin/7.1
3affc37 Enable using @Stylesheet with vaadin:// (#9934) 177c424 Updated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115) dbfb9a3 Add version property to integration tests to servers know if it is a Vaadin 6 or 7 test e371001 Ensure caption is used when child is set to required (#12077) 90ed657 Use atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101) 6f2db49 Include Atmosphere fix for Android 4.1 (#12101) c4ec786 Things now align better in SimpleTree, for #12058 172d704 Actually show loading indicator during loading (#12128) 6c10136 Use varargs instead of array where appropriate (#4513) 939095a Debug window poll interval claims interval is in seconds and not milliseconds (#12098) 68f025f The 'license.html' file has flaw in the HTML (unclosed span tag) (#11952) c107efc Remove sub window references from Window javadocs (#9892)
Artur Signell [Tue, 18 Jun 2013 19:27:11 +0000 (22:27 +0300)]
Merge changes from origin/7.1
bad3208 Corrected fix and better error checking for action/event request (#12056) a7957df Fixes broken request listeners (#12056) d5dbae8 Exclude external classes and FutureAccess b4fc9bc Define LegacyPropertyToStringMode parameter strings in the enum (#11970) 7fb8080 Don't attempt to run microbenchmarks as unit tests (#8759) 3067b23 DebugWindow sections now use previously empty areas to describe the functionality, for #12058 28f72b6 Highlight on server when highlighting on client, for #12058 86e1a31 VUIDLBrowser no longer requires shift-click to 'highlight component on server', open recursively changed to 'alt-click', for #12058 76b9cd1 DebugWindow styles improved and structured more, for #12058 1befbeb Test using Glassfish 4 (#12075) 78af0eb Specified supported server versions and added Glassfish 4 (#12075) ad9c350 Fixed test issues with type=null (#11895) 8c4800a Updated to atmosphere 1.0.14-vaadin1 2d54adf Highlight on server was still spamming in one instance, for #12058 0754158 Rename getCommunicationMethod -> getCommunicationMethodName (#12019) 8669f6a Actually compile an IE10 permutation (#12080) 47c199f Add 'transport' GET parameter to AbstractTestUI (#12094) b637ab5 Reinitialize pendingAccessQueue after deserialization (#12097)
Add 'transport' GET parameter to AbstractTestUI (#12094)
* Value can be 'xhr', 'websocket', or 'streaming'
* xhr disables push even if already enabled
* others set push to automatic if not already set to manual
Leif Åstrand [Thu, 13 Jun 2013 19:38:42 +0000 (22:38 +0300)]
Merge changes from origin/7.1
da0a112 Merge changes from origin/7.0 6ba8938 Restore legacyPropertyToString value parsing logic (#11970) d5c0ffa Fix NPE when converting null values (#11895) 2aa3096 Avoid string casing problems (#11970) 0f107f3 Update widgetset template (#12053) eb64fda Add support for rem units (#11279) 5f66766 Using StringTokenizer instead of String.split() in AbstractComponent (#8759) 15b217d Handle push disconnections and reconnections more reliably (#11831, #11922) 47addab Adding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails (#11168) 0aa5907 Do not write 404 as a response to all action/event requests (#12056) 55ebe13 Detach and attach when adding or removing the caption wrapper (#11708) 7830af2 Fix GridLayout resize after removing caption (#12011) 53e3a25 DebugWindow resize/move improved, fixes #11937 (also implements shift-resize and alt-move, improves bounds-check) f2b2ce9 Updated to Smartsprites 0.2.10 (#12069) 29c9b60 SimpleTree styling changed for #12058 da8382d DebugWindow now remembers open tab/section, InfoSection fixed to support being opened at once, for #12058 4f5bcef Info tab is now tab 1, hierarchy tab 2 a089743 Consistently recover from disconnections in IE (#12073) 59103a9 Always notify parent of enable state changes (#12062) 997e9a9 Fixed test issue apparently caused by three levels of classes 54ffbdb Add missing license header
Handle push disconnections and reconnections more reliably (#11831, #11922)
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)
Leif Åstrand [Wed, 12 Jun 2013 06:14:10 +0000 (09:14 +0300)]
Merge changes from origin/7.1
9100cfc Do not rely on broken javadoc features for default values (#11970) fad7bf7 Remove DEFAULT constant as an annotation enum cannot use it (#11966) 1f14422 Merge changes from origin/7.0 9b38072 Exclude provided portal-service from all zip (#9823) 8f4add9 Fixed button highlighting when dragging #10917 8eb567e Make UI.pushConnection transient to prevent null resource after deserialization (#11809) 9efd4d6 Fixed test issues 1b0a214 Pass ConversionException to getConversionError (#11960) bca14c0 Correctly report theme version in the debug window (#11442) f9bffed Fix for NPE in debug window in IE (#12015) da29e2b Fixed serialization issues a5ec937 Info section for the debug window (#12019) d6fca78 Fix race condition in upload with push (#10214) e7201fd Allow using element resize listeners from javascript connectors (#11996) e853280 Print warning if in production mode and theme compilation is required (#12031) d9becf9 Use vaadin-atmosphere without slf4j dependency (#11765) 37bc9e4 Reformatted using Ant editor (#12040) 5adb5c2 Include compatibility web.xml in uitest.war (#11688) 424af57 Move ClientConnector.setParent to Component and Extension (#11777) 074d7b3 Fixed incorrect line breaks (#12040) 2cada0b Reformatted release notes using Eclipse (4 spaces) a0182a0 Updated release notes for 7.1.0 (#11993, #11991, #11870) 5793a1c Make VaadinServlet use enclosing UI class by default (#12039) 3d9d47d Added type parameter to converter methods (#11895) ecc2de3 Removed dead code
Leif Åstrand [Fri, 7 Jun 2013 11:12:41 +0000 (14:12 +0300)]
Merge changes from origin/7.1
2772641 OSGi support for vaadin-push (#11691) 42c4b20 Use "\0" instead of "|" as a push message delimiter (#11692) 778de06 Derive current servlet/portlet from the current service (#11779) f8fb8b7 Upgrade to Atmosphere 1.0.13 (#11861) fea4c5e Don't build and publish sources for package without source files 6a7683b Disable Atmosphere version number check (#11890) ebb92e6 Improve error message if vaadinPush.js failed to load (#11673) 70131cd Extracted common code for number conveters to abstract super class (#11900) 0b63506 Fixed order of parameters in javadoc (#11158) 6bf83a4 Modified the logic in setPropertyDatasource which determines if a new converter is needed (#11863) 53a9c11 Fix TestingPushConnection.init signature (#11673) 05ef43f Updated client-compiler to depend on client-compiler-deps 1.0.2 #11879 9686323 Added isInitialStateChange to StateChangeEvent (#10477) 7cced5e Fixed test which had never passed ada3311 Avoid creating an instance of every view while searching for the correct view (#11722) 5b35dd9 Added text file encoding and line delimiter info (#11907) f8c4f99 Prevent spurious "Could not determine ApplicationConnection" error when using the debug window 8a42394 Fixed locators in test (aria div conflict) 6de01ac Fix text / javascript mismatch issue in Chrome (#11275) f7f1e3e Added Java Date to Sql Date converter to better support sql dates (#11224) 2882cf9 Added Serializable where missing and ignore classes which do not need Serializable 4d7f190 Make access() enqueue the runnable if the session is locked (#11897) 4c2b86d Stop using PlaceHolder widgets in VTabsheet (#11026) 87018cd Add missing license header cb1f63b Send window mode changes to the server immediately (#11737) e52df7c Added ComponentConnector.isAttached (#11928) 2b5ba96 Define how CurrentInstance works with access() (#11897) d345838 Remove ThreadLocal references from CurrentInstance (#11914) bb7b404 Remove outdated testing (#11897) f64d944 Merge "event not reported as target when context clicking in month view" to Vaadin 7.1 (#10217) 51c9fb5 Fix debug window SEVERE style, add styles for FINE, FINER and FINEST (#11891) 3b888fe Support nested SASS imports (#11909) b2137f5 Ensure calendar panel is updated when range changes (#11940) f8319eb Avoid deadlock checking in runPendingAccessTasks() (#11897) 51a98a3 Moved enums to avoid running them as tests 7c613d1 Exclude parsers from checkstyle as they are generated 35f3532 Fixes current text being overwritten in server update on RTA #11741 a744d21 Remove UI.runSafely and VaadinSession.runSafely (#11901) 84edd19 Make test independent of browser language (#11940) a3ad62d Updated to custom build of Smartsprites 0.2.10 which includes a fix for SMARTSPRITES-36 (#9959) a9afca6 Moved Locale data handling to LocaleService (#11378) 5e548ae Fixed javadoc compilation error 91182e2 Extract ProgressBar and deprecate ProgressIndicator (#11925) a5b8209 Add primary style name support for ProgressBar/Indicator (#9913) 86b3689 Make ProgressInidcatorConnector use VProgressIndicator (#11925) 29fcadc Flush the output writer in case of SSE transport as well (#11955) 5e26b0b Fix streaming issue with iOS6 (#11934) 1b274c4 Limit sub window minimum size (#11510) 46cc08b Remove workarounds for broken Timer.cancel in IE (#11872) d850db6 Add XML formatting instructions (#11956) 9a3dc4e Formatted XML files using defined rules (#11956) 57b7335 Fixed spelling mistake in API #11741 587e10b Fix stale info in javadoc for accessSynchronously (#11897) 36fd94a Remove IE6/IE7 permutation (#11954) cccff37 Do not log legacy warnings in JUnit tests (#11963) 0f9b689 Throw exception if VaadinService has not been initialized (#11961) 1ed0980 Move ApplicationConnection.setOverlayContainerLabel to VOverlay (#11965) 0014563 Extracted dialog style to a separate block (#11734) b82e60b Add missing dialog maximize/restore icons for Runo (#11734) 0d046d6 Add a separate debug window section for profiler output (#11950) 03830ae Ignore style resource that has already been added (#11667) 84bf5a7 Enabled drag & drop to Calendar #11048 6c36784 Merge commit '34e6c60a5a746c0306c3a84ae8d6c21dfd84d878' into 7.1 a82d57e Merge changes from origin/7.0 666dbb5 Use window.console instead of just console in vaadinPush to appease IE (#11980) 93751c1 Use correct day names when formatting dates (#6207) 19d0082 Fixed javadoc references e6e752d Correctly decode summaries containing quotes (#11769) 54ed269 Log stack trace using fine when logging toString warnings 8d655f6 Move VaadinSession.runPendingAccessTasks to VaadinService (#11964) b1ab27a Update broadcaster tutorial code e63edcc Update deprecation javadoc for VaadinSession.getBrowser() 132eee5 Add @VaadinServletConfiguration (#11970) aa99259 Send connector debug (highlight) using RPC (#11536) 6d4582e Change analyze layouts to use RPC (#11536) 6f912b1 Rename tests so they are run during build (Abstract* is ignored) ebd4a5c Added missing rpc interface (#11536) edca409 Allow customizing client-side push config on server side (#11867) b0574f7 Add transport parameter to @Push (#11966)
Artur Signell [Thu, 6 Jun 2013 20:48:25 +0000 (23:48 +0300)]
Correctly report theme version in the debug window (#11442)
* Adds a special v-vaadin-version selector for detecting the theme version
* The version in the base theme is replaced during build (for releases) and by the current version also when compiling in the IDE
Make UI.pushConnection transient to prevent null resource after deserialization (#11809)
* PushConnection is not Serializable anymore
* AtmospherePushConnection fields are not transient
* UI.setSession calls setPushConnection(null) instead of pushConnection.disconnect()
* pushConnection.disconnect() asserts isConnected()
* If UI has a push connection, it should now always have isConnected() == true
Artur Signell [Wed, 5 Jun 2013 16:15:49 +0000 (19:15 +0300)]
Merge changes from origin/7.0
892b8ba Do not submit TextArea value on enter in IE (#11982) bd3f975 Properly disable combobox when parent is disabled (#10734) 1b85e59 Added missing import (#11982) 3c8a3bf Merge of properly focus clicked input element in Webkit (#11854, #11297) d647d7a Ensure VBrowserFrame content is unloaded in IE (#11683) 08ba394 Disable drag&drop when source or target component is disabled, re-implementation of 6.8 fix for #11801 b01427a Change field types from LinkedHashSet back to HashSet to retain binary compatibility (#11432) 14ebd0d Fixed newlines