0e048a5 Clarified error message (#12583) d0af7d1 Add async-supported to all servlets to enable push testing (#12573) 1de4389 Use JUnit 4.11 in all modules (#12572) d6954f8 Include TestBench 3.1.1 in the project (#12572) cdb9a49 Enable native scrolling in all iOS versions newer than 5, not just iOS 6 (#12324) 0e2780a Ensure string converter is always set cf796e2 Add v-iosN classname for all iOS versions instead of just N=6 (#12324) 46ac1e6 Update release notes to more closely be like 7.0.x (#12544) d9f204f PostLayoutListener javadocs (#12562) c7aaa04 Don't try to cast a connector to Widget. Fixes #12619
Artur Signell [Wed, 18 Sep 2013 21:18:19 +0000 (00:18 +0300)]
Update release notes to more closely be like 7.0.x (#12544)
* Fixed ticket link and removed duplicate link
* Reordered sections to changes in this version comes before changes in old versions
* Updated browser versions
Artur Signell [Tue, 17 Sep 2013 11:16:35 +0000 (14:16 +0300)]
Merge changes from origin/7.1
de53191 Fix for #12279 (caret jumps when formatting in RTA). fca0f7a Add <br> as empty representation for webkit (#12490) 6dcece8 Allow creating TextBox or SuggestionPopup when extending VFilterSelect (#12491) 22fcb44 Include unobfuscated file used by test in the war (#12468) bc90a58 Unified xml files to end with new line 3d01d74 Reduce Ivy resolver spam to a minimum (#12510) 1e73ca8 Fix keystore path to correspond to the Vaadin 7 directory structure (#12520) dcf9c61 Protect CurrentInstance instances from garbage collection (#12509) 24ffbc2 Allow storing and restoring null instances in CurrentInstance #12509 0d79a84 Added a comment that hopefully explains the NULL_OBJECT #12509 e4d99b3 Use non-obfuscated version of vaadinPush.js when not in production (#12527) 3a31dfe NullPointerException in TableQuery.fetchMetadata() (#11403) 4659797 fixed incorrect name for close-pressed.png for windows in black theme (#12563) 9b05257 Test for push with streaming based on Table 3cafce3 NullPointerException in DateToSqlDateConverter (#12284) 3a4351f Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)
NullPointerException in DateToSqlDateConverter (#12284)
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.
Fabian Lange [Thu, 12 Sep 2013 12:16:37 +0000 (14:16 +0200)]
fixed incorrect name for close-pressed.png for windows in black theme (#12563)
The scss file and the light and normal style suggest that the name should be
"-pressed". This is what this patch fixes. I have considered renaming all
"-pressed" to "-active", to be consistent with e.g. "maximize-active.png"
but decided against due to compatibility concerns.
Artur Signell [Thu, 12 Sep 2013 17:57:01 +0000 (20:57 +0300)]
Prepare for Atmosphere Javascript 2.0 (#12241)
Atmosphere 2.0 has changed enableProtocol to default to true.
Reopening a connection in Atmosphere 2.0 is signalled through an onReopen event (not present at all in Atmosphere 1.0.x)
Fabian Lange [Mon, 2 Sep 2013 13:49:53 +0000 (15:49 +0200)]
Allow creating TextBox or SuggestionPopup when extending VFilterSelect (#12491)
This patch adds two methods, that one can override when extending VFilterSelect.
By doing so, the developer can for example change the behavior of setting text,
or performing clicks in the suggestion popup.
This change is backwards compatible, as it just offers two new methods to
override.
d8b0b50 Always unlock the same session instance that was locked (#12481) e6af0f0 Avoid leaking memory from inherited ThreadLocales. Fixes #12401 f7ee8fb Updated _trackMessageSize based on latest upstream version (#12468) a24d391 Table ignores Container updates while painting (#12258) 7068d78 The colon in the calendar event caption is now also hideable. Fixes #12460 61dd8f7 Corrected typo in version variable (#12440) 476e0b8 Changed 'feature release' text to maintenance release (#12486) faa2569 Updated browser versions 831747a Fix regression where empty RTA returns <br> (#12490) cb8df75 Add deprecation message to unused constant 4c5bb0e Sets the locale in the test case. #12460 11cdf93 Excludes WeakValueMap from the serializable test #12401
TestHideTimeAndSeparator didn't specify a locale, which
caused it to fail if the locale on the system where it
ran was different from the one on the system where the
test was created.
Henrik Paul [Tue, 20 Aug 2013 12:47:54 +0000 (15:47 +0300)]
Table ignores Container updates while painting (#12258)
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.
Avoid leaking memory from inherited ThreadLocales. Fixes #12401
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.
Leif Åstrand [Fri, 30 Aug 2013 10:43:34 +0000 (13:43 +0300)]
Merge changes from origin/7.1
4f3e81a Use <code> instead of {@code} for sample containing { and } (#12311) c7a48ae Delay sending DateField popup value to server until popup is closed #6252 dc491a4 Reset waitingForFilteringResponse flag to false inside onBlur (#12325) 4fb775a Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172) aa47197 Add a chapter on installing IvyDE (for #12359) eaec281 GWT requires max 1.6 compiler compliance level currently - #12345 f72be69 Terminate JVM if server.close() has no effect (#12363) 36413cb Make sure that no fileIds are replayed to the client (#12330) 7182665 Fix scrollbar for Window under WebKit browsers (#11994) 61dbe9c Search only remaining message for delimiter (#12404) b5a212a Report min and max times from Profiler (#12409) 7220ca8 Fixed DragAndDropWrapper using wrong drop target in IE8 #12406 c87772b Escape markup in CustomLayout's JavaDoc (#12410) f5b67af Optimize ComputedStyle.getIntProperty() (#12411) 0473036 Add more detailed profiling for some client side hotspots (#12418) 7dfe5ae Fixed test broken by fixes to drag&drop #12406 234ed1c Fixed test broken by PopupDateField communication change #6252 c7a8c3f Fixed failing TabKeyboardNavigation test #12433 fac9ff6 Optimize resetting of state when detaching components (#10899, #11284) af995de Optimize large Vertical/HorizontalLayout client side (#12420, #10899) 39fd5fc Fix bug for spacing on first widget (#12420) bd4442b Fixed broken test due to changes in drop position by #12406 b83240f Optimize CssLayout hierarchy update (#11284) a52b286 Added controlDirective to ifContentStatement. Fixes ticket #12105. 8ce45c7 Disable slow sanity check when not in debug mode (#12463) 232eb42 Enable use of profiler without debug window (#12465) 6dc46c5 Use the add() path of CssLayout only when appending to the end (#11284) bea7fa3 Only consider caption tooltips for own slots (#12469) dce63d1 Allow creating session for Portlet UI init request (#12473) ad669c3 Adds junit to the ide configuration for the theme-compiler module.
Henri Sara [Wed, 28 Aug 2013 09:34:53 +0000 (12:34 +0300)]
Use the add() path of CssLayout only when appending to the end (#11284)
This should get the benefits of the previous optimization on initial
rendering without negatively affecting the performance when modifying a
layout with complex non-leaf children.
Henri Sara [Thu, 22 Aug 2013 08:55:38 +0000 (11:55 +0300)]
Optimize large Vertical/HorizontalLayout client side (#12420, #10899)
Spacing is now only handled at the beginning and end of hierarchy
updates, not for every component separately.
Some more profiling data on potential hotspots is also generated when
Profiler is used.
Henri Sara [Thu, 22 Aug 2013 08:03:47 +0000 (11:03 +0300)]
Optimize resetting of state when detaching components (#10899, #11284)
This has a significant impact on some older browsers, especially IE8.
This change also adds hierarchy update profiling statements to
help find hotspots.
John Ahlroos [Thu, 22 Aug 2013 08:10:18 +0000 (11:10 +0300)]
Fixed failing TabKeyboardNavigation test #12433
The test fails on Opera 12 since the assertText is done before the
tabsheet has had time to change the tab content. Added a small waiting
period after the tab is changed before the assert is made to fix the
issue.
John Ahlroos [Wed, 21 Aug 2013 11:51:50 +0000 (14:51 +0300)]
Fixed test broken by PopupDateField communication change #6252
After #6252 the value is no longer communicated to the server
immediatly but only once the popup is closed. Changed the test to assume
the new behaviour.
John Ahlroos [Wed, 21 Aug 2013 10:34:37 +0000 (13:34 +0300)]
Fixed test broken by fixes to drag&drop #12406
Due to the fixes to the VDragAndDropManager the drop location became a
lot more accurate and so changed where the drops were made in the test.
To fix it I adjusted the pixel position within the drop target element to account for the
changed accuracy.
John Ahlroos [Tue, 20 Aug 2013 10:30:47 +0000 (13:30 +0300)]
Fixed DragAndDropWrapper using wrong drop target in IE8 #12406
VDragAndDropManager was assuming that the target element will always be
inside the cloned "drag image" element while dragging. This assumption
is false since the "drag image" can be 0x0px or transparent effectivly
disabling dragging.
Since Testbench 2 is also very flaky in using the Vaadin locators with
the drag/drop commands I replaced the locators with shorter locators
using a debug id to make the test more readable and stable.
Artur Signell [Mon, 19 Aug 2013 14:31:46 +0000 (17:31 +0300)]
Merge changes from origin/7.1
16d17f9 Fix native scrolling regression in iOS 6 homescreen apps (#12295) 7212e02 Fix race in VaadinService.lockSession() (#12282) 2d5a107 Update "lastRequestedFirstvisible" field value right away (#10666). 325cdf9 Disable failing calendar Actions Menu Test (#12181) 8ba4117 Split UiAccess test (#12332)
Artur Signell [Mon, 19 Aug 2013 09:37:52 +0000 (12:37 +0300)]
Merge changes from origin/7.1
7cb49d1 Fix invisible calendar actions menu #12181 44aacf4 Clarify Embedded javadoc (#12290) 59a043b Fix actions in action menu appearing in random order #12250 5d57129 Fix calendar click events on context menu #12297 f5e3663 Document multiple load semantics in @StyleSheet and @JavaScript (#12200) 17bb700 Add optional OSGi Import-Package for javax.validation (#12301) ea148c8 Disable all logging if production mode is enabled (#12299) 326bbb5 Fixes parsing of multiple push messages in streaming mode (#12197) 7fc1054 Ensure StringToIntegerConverter rejects values outside range of int (#12230) f587298 Improve URI fragment listener javadocs (#12296) d97cfbc Refine handling of null and empty URI fragments (#12207) 99c7d0b Show tooltips for ordered layout captions (#10046)
Artur Signell [Mon, 19 Aug 2013 09:34:29 +0000 (12:34 +0300)]
Merge changes from origin/7.1
a53d487 Verify the connector hierarchy if assertions are enabled (#12271) e9f3fcc Fix issue with hidden component cells in Table and TreeTable #12119 cbab936 Fixes light theme window sprites #12171 938d412 Fixes button :active state on firefox #12126 4219227 Fixed wrong classname in WindowThemes TB test #12171
John Ahlroos [Thu, 15 Aug 2013 13:27:27 +0000 (16:27 +0300)]
Fixed WAI-ARIA test related to #11820 which never has succeeded
Due to Testbench bug #12375 the test had never succeed on IE9/IE10.
To circumvent the issue I changed the way the test was done by
substituting the /@class assertion with an xpath statement instead which
works on all supported browsers.
Henrik Paul [Thu, 15 Aug 2013 05:59:03 +0000 (08:59 +0300)]
Make sure that no fileIds are replayed to the client (#12330)
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.
John Ahlroos [Thu, 15 Aug 2013 09:39:46 +0000 (12:39 +0300)]
Fixed WAI-ARIA test related to #11821 which never has succeeded
Due to Testbench bug #12375 the test had never succeed on IE9/IE10.
To circumvent the issue I changed the way the test was done by
substituting the /@class assertion with an xpath statement instead which
works on all supported browsers.
John Ahlroos [Thu, 15 Aug 2013 06:32:54 +0000 (09:32 +0300)]
Fixes tests broken by accessability fixes #11874 and #11820
Both WAI-ARIA fixes improves the accessability by adding a hidden
element into the dom for the screen readers. Unfortunatly this
broke tests based on a certain DOM path.