]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
11 years agoMerge changes from origin/7.1
Leif Åstrand [Mon, 23 Sep 2013 12:15:02 +0000 (15:15 +0300)]
Merge changes from origin/7.1

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

Change-Id: Icff34ba20a330e633c1b29ca8fd77d84b79841f5

11 years agoDon't try to cast a connector to Widget. Fixes #12619
Jonatan Kronqvist [Fri, 20 Sep 2013 12:32:12 +0000 (15:32 +0300)]
Don't try to cast a connector to Widget. Fixes #12619

Change-Id: I0fe98ca90ed3969f1af1be60668b4c1c561675eb

11 years agoPostLayoutListener javadocs (#12562) 7.1.6
Leif Åstrand [Thu, 12 Sep 2013 07:13:12 +0000 (10:13 +0300)]
PostLayoutListener javadocs (#12562)

Change-Id: Icdc39630a8d48f87ca4765f4513c9871d49f5d76

11 years agoUpdate release notes to more closely be like 7.0.x (#12544)
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

Change-Id: Ib3afc6257c93fe6481103fbb80aa5ebf9d2a5dd5

11 years agoAdd v-iosN classname for all iOS versions instead of just N=6 (#12324)
Johannes Dahlström [Thu, 19 Sep 2013 11:23:46 +0000 (14:23 +0300)]
Add v-iosN classname for all iOS versions instead of just N=6 (#12324)

Change-Id: Id06cfab1404facd612aa470d82757ae6dfe71641

11 years agoEnsure string converter is always set
Artur Signell [Mon, 16 Sep 2013 11:33:54 +0000 (14:33 +0300)]
Ensure string converter is always set

Change-Id: I8c9146975397356e92fded0d0207b56d057ac6c5

11 years agoEnable native scrolling in all iOS versions newer than 5, not just iOS 6 (#12324)
Johannes Dahlström [Tue, 10 Sep 2013 12:36:51 +0000 (15:36 +0300)]
Enable native scrolling in all iOS versions newer than 5, not just iOS 6 (#12324)

Change-Id: I8f9ec7f34aefa5b48fd23f3f000f9455475edefa

11 years agoInclude TestBench 3.1.1 in the project (#12572)
Artur Signell [Mon, 10 Jun 2013 18:32:57 +0000 (21:32 +0300)]
Include TestBench 3.1.1 in the project (#12572)

* Jetty is updated to 8.1.9.v20130131 to avoid conflicts with TestBench dependencies
* The new jetty dependens on servlet 3.0

Change-Id: Ibbbc8f5838feb4c132ee2b6f7d7f3f630e95dd68

11 years agoUse JUnit 4.11 in all modules (#12572)
Artur Signell [Wed, 4 Sep 2013 12:58:26 +0000 (15:58 +0300)]
Use JUnit 4.11 in all modules (#12572)

Change-Id: I244f4afdebe956166a9158d85dc69fd7746c5a47

11 years agoAdd async-supported to all servlets to enable push testing (#12573)
Artur Signell [Wed, 4 Sep 2013 17:07:54 +0000 (20:07 +0300)]
Add async-supported to all servlets to enable push testing (#12573)

Change-Id: I8025c7d032f1a76244dbf085e76cb231c1a4459c

11 years agoMerge changes from origin/7.1
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)

Change-Id: I44f3d5f003e62e7ab86a22188b22933491226868

11 years agoClarified error message (#12583)
Artur Signell [Mon, 16 Sep 2013 12:49:35 +0000 (15:49 +0300)]
Clarified error message (#12583)

Change-Id: I542046158f6e78c8bb26aaee110bd5b123ae13e6

11 years agoEnsure PushConnection is properly cleaned up on disconnect (#12226, #12522)
Johannes Dahlström [Thu, 12 Sep 2013 14:48:47 +0000 (17:48 +0300)]
Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)

Change-Id: I0bab199632554655ef92a624f5654852b4b157d1

11 years agoNullPointerException in DateToSqlDateConverter (#12284)
Edoardo Vacchi [Fri, 13 Sep 2013 08:25:29 +0000 (10:25 +0200)]
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.

Missing test case included

Change-Id: If08225c2a6ae7c3103e47d3817a5d45469c7bf4f

11 years agoTest for push with streaming based on Table
Artur Signell [Tue, 18 Jun 2013 19:26:23 +0000 (22:26 +0300)]
Test for push with streaming based on Table

Change-Id: I42146b8c0918a65c809bcb55e3930dad5bbb6e6f

11 years agofixed incorrect name for close-pressed.png for windows in black theme (#12563)
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.

Change-Id: I42f37b3311715fab04e5fe05fdf4bc3026e52ed1

11 years agoNullPointerException in TableQuery.fetchMetadata() (#11403)
Edoardo Vacchi [Fri, 13 Sep 2013 07:11:04 +0000 (09:11 +0200)]
NullPointerException in TableQuery.fetchMetadata() (#11403)

Trivial patch. The finally block lacks a check for null before
attempting to invoke table.close()

Change-Id: Ib32f1d75fef4bd442652ca60a2b7df6aa45d7fa7

11 years agoPrepare for Atmosphere Javascript 2.0 (#12241)
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)

Change-Id: I6013a83a0239b6ab7535631120e442ece2d4481d

11 years agoUse non-obfuscated version of vaadinPush.js when not in production (#12527)
Artur Signell [Mon, 9 Sep 2013 11:38:21 +0000 (14:38 +0300)]
Use non-obfuscated version of vaadinPush.js when not in production (#12527)

Change-Id: I8e0baec2391b140e6a72eedf6606fd2792c735bc

11 years agoIgnore RPC calls from components that are concurrently removed (#12337)
Henrik Paul [Fri, 23 Aug 2013 12:59:23 +0000 (15:59 +0300)]
Ignore RPC calls from components that are concurrently removed (#12337)

Change-Id: I8b97444d33b9535b9073fd705fed15a6cc2992e7

11 years agoPrevent exception in VWindow without assistive description (#12515)
michaelvogt [Thu, 5 Sep 2013 08:10:37 +0000 (10:10 +0200)]
Prevent exception in VWindow without assistive description (#12515)

Change-Id: Id16584ac2aec95981de31d713b56de42ca0cfae2

11 years agoAdded a comment that hopefully explains the NULL_OBJECT #12509
Jonatan Kronqvist [Mon, 9 Sep 2013 11:14:49 +0000 (14:14 +0300)]
Added a comment that hopefully explains the NULL_OBJECT #12509

Change-Id: I99ea86d8842324884dda3a5c392f37e8d4a7acf6

11 years agoAllow storing and restoring null instances in CurrentInstance #12509 7.1.5
Jonatan Kronqvist [Fri, 6 Sep 2013 13:07:33 +0000 (16:07 +0300)]
Allow storing and restoring null instances in CurrentInstance #12509

Change-Id: Icf82377b0d47166d59e8be5f2f8b450d654302d7

11 years agoHandles Tooltip on focus for ComboBox (#12536)
michaelvogt [Mon, 9 Sep 2013 07:59:00 +0000 (09:59 +0200)]
Handles Tooltip on focus for ComboBox (#12536)

Change-Id: I3b140bd6772ec25c57be0f519f180b626c5ff1d2

11 years agoMakes sure the aria-invalid attribute is removed when the caption is
michaelvogt [Fri, 6 Sep 2013 09:26:36 +0000 (11:26 +0200)]
Makes sure the aria-invalid attribute is removed when the caption is
removed and not updated (#12517)

Change-Id: I750dff060469a656e199985984794f186365f121

11 years agoProtect CurrentInstance instances from garbage collection (#12509)
Leif Åstrand [Thu, 5 Sep 2013 07:11:07 +0000 (10:11 +0300)]
Protect CurrentInstance instances from garbage collection (#12509)

Change-Id: I9ec103a1a42d8888d6f680f477393807223740cf

11 years agoFix keystore path to correspond to the Vaadin 7 directory structure (#12520)
Johannes Dahlström [Thu, 5 Sep 2013 11:58:00 +0000 (14:58 +0300)]
Fix keystore path to correspond to the Vaadin 7 directory structure (#12520)

Change-Id: I58d5633baabc03e4e7cda413aa5b9231c7fa3e57

11 years agoReduce Ivy resolver spam to a minimum (#12510)
Artur Signell [Wed, 4 Sep 2013 18:04:11 +0000 (21:04 +0300)]
Reduce Ivy resolver spam to a minimum (#12510)

Change-Id: Ie80f2bad49f38a2391a8a560825aceb19f82de0a

11 years agoUnified xml files to end with new line
Artur Signell [Wed, 4 Sep 2013 18:03:12 +0000 (21:03 +0300)]
Unified xml files to end with new line

Change-Id: Ifb1393e7e5c5c1002b924223957767b3e584d5ab

11 years agoInclude unobfuscated file used by test in the war (#12468)
Leif Åstrand [Tue, 3 Sep 2013 11:06:59 +0000 (14:06 +0300)]
Include unobfuscated file used by test in the war (#12468)

Change-Id: Id90faf1dde880bb1aa51f9c337dca594f4993884

11 years agoRewrite client request into JSON (#9269, #11257)
Henrik Paul [Mon, 2 Sep 2013 13:48:15 +0000 (16:48 +0300)]
Rewrite client request into JSON (#9269, #11257)

Change-Id: I0001d54f890ad8e5787d1f6c076d1f1d75dd32d2

11 years agoAllow creating TextBox or SuggestionPopup when extending VFilterSelect (#12491)
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.

Change-Id: Icc8fd154ef1abaed96e6af742af77c3225db3fe4

11 years agoAdd <br> as empty representation for webkit (#12490) 7.1.4
Artur Signell [Tue, 3 Sep 2013 08:01:07 +0000 (11:01 +0300)]
Add <br> as empty representation for webkit (#12490)

Change-Id: Idfb1c770d411b0516046e40852b79da6f9c7916c

11 years agoFix for #12279 (caret jumps when formatting in RTA).
Marc Englund [Wed, 28 Aug 2013 12:47:02 +0000 (15:47 +0300)]
Fix for #12279  (caret jumps when formatting in RTA).

Change-Id: I09bd04cd0d687be636a7b4d718bccf271bdb9dd9

11 years agoAdd StringToLongConverter for automatic handling of long values (#12291)
Artur Signell [Fri, 9 Aug 2013 17:35:54 +0000 (20:35 +0300)]
Add StringToLongConverter for automatic handling of long values (#12291)

Change-Id: Ia2865b199303c0e35b562120f1c916f288aa458a

11 years agoKeep the Tooltip in the DOM (#12458)
michaelvogt [Tue, 27 Aug 2013 08:53:23 +0000 (10:53 +0200)]
Keep the Tooltip in the DOM (#12458)

Change-Id: Ic707632ee51181e660b64935f68e564bdfc4443b

11 years agoMerge changes from origin/7.1
Leif Åstrand [Tue, 3 Sep 2013 07:07:22 +0000 (10:07 +0300)]
Merge changes from origin/7.1

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

Change-Id: Id7eeba06d14518c254ceb01e38e2441967932755

11 years agoExcludes WeakValueMap from the serializable test #12401
Jonatan Kronqvist [Tue, 3 Sep 2013 06:53:10 +0000 (09:53 +0300)]
Excludes WeakValueMap from the serializable test #12401

Also added a note to the WeakValueMap JavaDoc stating that it is
not serializable.

Change-Id: If342746ad7c7cac0db8bac4ba75236970cc4cd01

11 years agoSets the locale in the test case. #12460
Jonatan Kronqvist [Tue, 3 Sep 2013 06:37:26 +0000 (09:37 +0300)]
Sets the locale in the test case. #12460

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.

Change-Id: I44de92c68954eac425308eeaf7e07e76c717f2bf

11 years agoImprove error message for missing imports (#12494)
Artur Signell [Mon, 2 Sep 2013 19:28:19 +0000 (22:28 +0300)]
Improve error message for missing imports (#12494)

Change-Id: Ic320ac6f54e928939773495a5168ac674d6a1a33

11 years agoAdd deprecation message to unused constant
Leif Åstrand [Tue, 9 Jul 2013 06:36:26 +0000 (09:36 +0300)]
Add deprecation message to unused constant

Change-Id: Ifcc4e021fa3843129f6501d6526e4d4f5c6930fb

11 years agoFix regression where empty RTA returns <br> (#12490)
Artur Signell [Mon, 2 Sep 2013 13:34:17 +0000 (16:34 +0300)]
Fix regression where empty RTA returns <br> (#12490)

Change-Id: I273037644ed1383af84898cf03360e2b08d2647b

11 years agoUpdated browser versions
Artur Signell [Mon, 2 Sep 2013 11:36:23 +0000 (14:36 +0300)]
Updated browser versions

Change-Id: If091d718fc45b226a60a4c69d3469b4b31919ac1

11 years agoChanged 'feature release' text to maintenance release (#12486)
Artur Signell [Mon, 2 Sep 2013 11:23:43 +0000 (14:23 +0300)]
Changed 'feature release' text to maintenance release (#12486)

Change-Id: I2896136065232d2704bb4807ff92e6ef384407e8

11 years agoCorrected typo in version variable (#12440)
Artur Signell [Mon, 2 Sep 2013 11:19:47 +0000 (14:19 +0300)]
Corrected typo in version variable (#12440)

Change-Id: Ib9a3efee02f4887072e7892d869911b78ec5e1d8

11 years agoThe colon in the calendar event caption is now also hideable. Fixes #12460
Jonatan Kronqvist [Wed, 28 Aug 2013 13:04:54 +0000 (16:04 +0300)]
The colon in the calendar event caption is now also hideable. Fixes #12460

Change-Id: Idc81c3cc614bc59c2a93615bd5ac5cac9b72f752

11 years agoTable ignores Container updates while painting (#12258)
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.

Change-Id: I04af71a5ea3844da245cb9e31ada4a30ff704619

11 years agoUpdated _trackMessageSize based on latest upstream version (#12468)
Leif Åstrand [Fri, 30 Aug 2013 08:18:16 +0000 (11:18 +0300)]
Updated _trackMessageSize based on latest upstream version (#12468)

Change-Id: Ie7db27a026d52befe027ed2abb96e62947f8116d

11 years agoAvoid leaking memory from inherited ThreadLocales. Fixes #12401
Jonatan Kronqvist [Wed, 28 Aug 2013 10:53:45 +0000 (13:53 +0300)]
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.

Change-Id: I116cc4e56e8a19c3b770abab6b18b9e262f4dafa

11 years agoAlways unlock the same session instance that was locked (#12481)
Leif Åstrand [Fri, 30 Aug 2013 11:38:48 +0000 (14:38 +0300)]
Always unlock the same session instance that was locked (#12481)

Change-Id: I15ff1177d827bc8fee9f8f723f9a288b0c3aea71

11 years agoMerge changes from origin/7.1
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.

Change-Id: Icd734d6849cc4f4014e1268f4fabe1ed92f72e38

11 years agoAdds junit to the ide configuration for the theme-compiler module.
Jonatan Kronqvist [Fri, 30 Aug 2013 06:45:50 +0000 (09:45 +0300)]
Adds junit to the ide configuration for the theme-compiler module.

Change-Id: I7c777d8d427beab079c956248b23628a073563dc

11 years agoAllow creating session for Portlet UI init request (#12473)
Leif Åstrand [Fri, 30 Aug 2013 05:19:58 +0000 (08:19 +0300)]
Allow creating session for Portlet UI init request (#12473)

Change-Id: I4c62e246c026cec7c87c2bd5ee5435891f885882

11 years agoOnly consider caption tooltips for own slots (#12469)
Leif Åstrand [Thu, 29 Aug 2013 12:46:54 +0000 (15:46 +0300)]
Only consider caption tooltips for own slots (#12469)

Change-Id: I2d804b460fbca7cb7dbea01c88ae3dc7e63f344d

11 years agoUse the add() path of CssLayout only when appending to the end (#11284)
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.

Change-Id: Id6fcf3e54469454c6a998a50037c8a93bfb46cf6

11 years agoFixed failing test after accessibility changes in #11827
John Ahlroos [Tue, 27 Aug 2013 10:13:45 +0000 (13:13 +0300)]
Fixed failing test after  accessibility changes in #11827

Previously a tab could be selected by using the enter key. This was
changed in the ticket to use the space key instead due to accessability
reasons.

Fixed test by replacing all enter key presses with space key presses.

Change-Id: I9037785be212bb62835bfb1b17629e115c3fa601

11 years agoEnable use of profiler without debug window (#12465)
Henri Sara [Wed, 28 Aug 2013 07:43:39 +0000 (10:43 +0300)]
Enable use of profiler without debug window (#12465)

This change also corrects a typo in the name of the internal method
setProfilerResultConsumer()

Change-Id: I877858d992611512ee681022312de7a9bfa4cd39

11 years agoDisable slow sanity check when not in debug mode (#12463)
Henri Sara [Wed, 28 Aug 2013 07:12:15 +0000 (10:12 +0300)]
Disable slow sanity check when not in debug mode (#12463)

Change-Id: I98d0a3254a92bce728d56a591914e727f5ef3aa8

11 years agoAdded controlDirective to ifContentStatement. Fixes ticket #12105.
Juho Nurminen [Fri, 23 Aug 2013 07:03:53 +0000 (10:03 +0300)]
Added controlDirective to ifContentStatement. Fixes ticket #12105.

Change-Id: I48988c3f3451ff9fa86148f4bb923a2ebdb6c482

11 years agoMade test stable in IE8 #12406
John Ahlroos [Tue, 27 Aug 2013 14:09:51 +0000 (17:09 +0300)]
Made test stable in IE8 #12406

Change-Id: If109cb760534b7d50d310b49c8a2cef86192fcca

11 years agoOptimize CssLayout hierarchy update (#11284)
Henri Sara [Thu, 22 Aug 2013 08:28:39 +0000 (11:28 +0300)]
Optimize CssLayout hierarchy update (#11284)

This change also adds some profiling for CssLayoutConnector.

Change-Id: Ia567c2c0ed2cff2c73a9019cea0f9a0240955dc7

11 years agoActivate tab stop automatically for modal windows (#12344)
michaelvogt [Wed, 21 Aug 2013 12:09:19 +0000 (14:09 +0200)]
Activate tab stop automatically for modal windows (#12344)

Change-Id: Icef7a3bb3729ebd407fe53af334f93e1e5c0a7cb

11 years agoFixed broken test due to changes in drop position by #12406
John Ahlroos [Mon, 26 Aug 2013 11:26:25 +0000 (14:26 +0300)]
Fixed broken test due to changes in drop position by #12406

Change-Id: Ia5c706a4315f8b8c618ca5c3e8681e656809dcec

11 years agoMerge commit '5fb05e84c80931fcaa9929ad556a20f5316e06a8'
John Ahlroos [Fri, 23 Aug 2013 06:20:37 +0000 (09:20 +0300)]
Merge commit '5fb05e84c80931fcaa9929ad556a20f5316e06a8'

Change-Id: Ib3f2d1d269f8ec7ee1f03dfdbc290453e2356387

11 years agoFix bug for spacing on first widget (#12420)
Henri Sara [Thu, 22 Aug 2013 12:26:35 +0000 (15:26 +0300)]
Fix bug for spacing on first widget (#12420)

Change-Id: I58db924446d5c4908f10b29f910cf2aa90ef7a2a

11 years agoOptimize large Vertical/HorizontalLayout client side (#12420, #10899)
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.

Change-Id: Ief1138dfd9161b683f69513e3458b8174de592bc

11 years agoOptimize resetting of state when detaching components (#10899, #11284)
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.

Change-Id: Id7025776f8606794ba1d7aef99e2c37832b0c6bb

11 years agoFixed failing TabKeyboardNavigation test #12433
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.

Change-Id: I89dfe040b577106f9f843c8b4013d20be1e02166

11 years agoFixed test broken by PopupDateField communication change #6252
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.

Change-Id: I74782971d47367a8a57a520d5f4ab736f9b37c2c

11 years agoFixed test broken by fixes to drag&drop #12406
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.

Change-Id: I60fec00a40c36fe0afcc7a4bacb2f7b101201b70

11 years agoAdd more detailed profiling for some client side hotspots (#12418)
Henri Sara [Wed, 21 Aug 2013 07:45:54 +0000 (10:45 +0300)]
Add more detailed profiling for some client side hotspots (#12418)

Change-Id: I27178a553571a99725ac4a75cae88d55398604ad

11 years agoOptimize ComputedStyle.getIntProperty() (#12411)
Henri Sara [Wed, 21 Aug 2013 06:59:40 +0000 (09:59 +0300)]
Optimize ComputedStyle.getIntProperty() (#12411)

Change-Id: I51b421e5b2c94d6b7e22a0c23bf1c8412061ef02

11 years agoEscape markup in CustomLayout's JavaDoc (#12410)
Henrik Paul [Tue, 20 Aug 2013 07:13:32 +0000 (07:13 +0000)]
Escape markup in CustomLayout's JavaDoc (#12410)

svn changeset:26111/svn branch:6.8

Change-Id: I8585c9022b78381a40d9008b0d489aecd741b011

11 years agoFixed DragAndDropWrapper using wrong drop target in IE8 #12406
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.

Change-Id: I2cc9683d11e982521e74418c74dd3e81ee617ac5

11 years agoReport min and max times from Profiler (#12409)
Henri Sara [Tue, 20 Aug 2013 09:21:18 +0000 (12:21 +0300)]
Report min and max times from Profiler (#12409)

Change-Id: Ifb88038baf9c1b9c872840030dcaefd7b8488f64

11 years agoSearch only remaining message for delimiter (#12404)
Artur Signell [Mon, 19 Aug 2013 15:27:35 +0000 (18:27 +0300)]
Search only remaining message for delimiter (#12404)

Change-Id: I0d61984aa795ec2b3bd384c2f93f6e3ee2a71be3

11 years agoMerge from origin/7.1
Artur Signell [Mon, 19 Aug 2013 14:33:54 +0000 (17:33 +0300)]
Merge from origin/7.1

11f8811 Make sure bean field validators are only added once (#11045)

Conflicts:
server/tests/src/com/vaadin/tests/server/validation/TestBeanValidation.java

Change-Id: I6533b00f78dfb2d587b52b320d2d709c640b9159

11 years agoMerge changes from origin/7.1
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)

Change-Id: I30e7aaacaf0ecbdc1a6dbdf956a6e48f4846de32

11 years agoNo-op merge from origin/7.1
Artur Signell [Mon, 19 Aug 2013 13:37:38 +0000 (16:37 +0300)]
No-op merge from origin/7.1

2ff71f6 Avoid infinite recursion when purging access queue (#12310)

Change-Id: I53db81b236b1141b7259c27021fd1da62fb62ec2

11 years agoMerge changes from origin/7.1
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)

Change-Id: Ifb2e0131fde769e2620b7ba03755a5ba324d8aaf

11 years agoNo-op merge from origin/7.1
Artur Signell [Mon, 19 Aug 2013 09:34:35 +0000 (12:34 +0300)]
No-op merge from origin/7.1

3a373ef Fix race condition that might leave access queue unpurged (#12277)

Change-Id: I58c3bcadb413b8c0dd0e9d687a995c5ee1d10de6

11 years agoMerge changes from origin/7.1
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

Change-Id: I09bdb2fd0d16acad2afd84c544b26223d5f603a1

11 years agoFix scrollbar for Window under WebKit browsers (#11994)
Patrik Lindström [Thu, 15 Aug 2013 12:36:36 +0000 (15:36 +0300)]
Fix scrollbar for Window under WebKit browsers (#11994)

Change-Id: Ie39d521c2f299bca0e2175fd8bb59beaa4f66241

11 years agoFixed WAI-ARIA test related to #11820 which never has succeeded
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.

Change-Id: Iad663ae6cf0976c09e0907942f8324d57b4328e6

11 years agoMake sure that no fileIds are replayed to the client (#12330)
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.

Change-Id: I7c4e866ba4287afd3e80329be3640335d4ff00af

11 years agoFixed WAI-ARIA test related to #11821 which never has succeeded
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.

Change-Id: Idd5b8cb37404a2f88c4a00dc9849e3645559551d

11 years agoFix test AbsFieldValueConversions (#12092)
Henri Sara [Thu, 15 Aug 2013 06:59:37 +0000 (09:59 +0300)]
Fix test AbsFieldValueConversions (#12092)

Change-Id: Ifa23d60e8c1dd388c0404b9c40f00f81304778cf

11 years agoFixes tests broken by accessability fixes #11874 and #11820
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.

Change-Id: I64631f22d7ef0bbb840131802dab1e50e9dac913

11 years agoTerminate JVM if server.close() has no effect (#12363)
Leif Åstrand [Tue, 13 Aug 2013 10:17:41 +0000 (13:17 +0300)]
Terminate JVM if server.close() has no effect (#12363)

Change-Id: If024d94d496a6cf2e6f0f342d368ac7bd746de38

11 years agoGWT requires max 1.6 compiler compliance level currently - #12345
Henrik Paul [Tue, 13 Aug 2013 06:41:25 +0000 (09:41 +0300)]
GWT requires max 1.6 compiler compliance level currently - #12345

Change-Id: I0e37e231b17afc365bf397ab601a1717d83a7459

11 years agoAdd a chapter on installing IvyDE (for #12359)
Henrik Paul [Tue, 13 Aug 2013 06:40:57 +0000 (09:40 +0300)]
Add a chapter on installing IvyDE (for #12359)

Change-Id: I996100bb702a4426726d5cb1d0826efedfde3f4f

11 years agoFixed DOM path in theme tests after accessability improvement #11874
John Ahlroos [Tue, 13 Aug 2013 08:09:44 +0000 (11:09 +0300)]
Fixed DOM path in theme tests after accessability improvement #11874

The WAI-ARIA fix added an element to the Window header making the dom
path in the tests invalid.

Change-Id: Iee7eb4f922153da8a413c81e6611f0d967ebe134

11 years agoFixed DOM path in test after accessability improvement #11874
John Ahlroos [Mon, 12 Aug 2013 13:40:36 +0000 (16:40 +0300)]
Fixed DOM path in test after accessability improvement #11874

The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: Ifc8e993969643c32fbf552aa55b8700744ecbc9d

11 years agoFixed regression where page title was not updated #12353
John Ahlroos [Mon, 12 Aug 2013 11:52:17 +0000 (14:52 +0300)]
Fixed regression where page title was not updated #12353

Page title was moved to PageState in #11054 causing the UIConnector
state change handling to never trigger an update.

Change-Id: I592d316f99b40950f7ce4dd92e3ef48f835f29df

11 years agoFixed DOM path in test after accessability improvement #11874
John Ahlroos [Mon, 12 Aug 2013 12:09:03 +0000 (15:09 +0300)]
Fixed DOM path in test after accessability improvement #11874

The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: I32592496d95b8fc0238e4a3a651b6ebc21f46f46

11 years agoFixed a typo in FieldGroup.isModified() JavaDoc. (#12172)
Teemu Pöntelin [Mon, 12 Aug 2013 07:08:12 +0000 (10:08 +0300)]
Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172)

Change-Id: I10d7ba7d0bc5c03e65206617c521d089fd4d0cfe

11 years agoFixed DOM path in test after accessability improvement #11874
John Ahlroos [Fri, 9 Aug 2013 13:16:41 +0000 (16:16 +0300)]
Fixed DOM path in test after accessability improvement #11874

The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: Ia056adc55d12800bded3e6791d119ca0a786ef33

11 years agoFixed DOM path in test after accessability improvement #11820
John Ahlroos [Fri, 9 Aug 2013 12:56:15 +0000 (15:56 +0300)]
Fixed DOM path in test after accessability improvement #11820

The WAI-ARIA fix added a new element into the notification making the
dom path in the test invalid.

Change-Id: Id0ce89ebff618bd68f6a7db51c72b6d25227d0cb

11 years agoReset waitingForFilteringResponse flag to false inside onBlur (#12325)
denisanisimov [Thu, 8 Aug 2013 10:43:00 +0000 (13:43 +0300)]
Reset waitingForFilteringResponse flag to false inside onBlur (#12325)

Change-Id: I09de808376c366cb52f055277671a59e6ae736b3

11 years agoDelay sending DateField popup value to server until popup is closed #6252
John Ahlroos [Fri, 9 Aug 2013 07:59:11 +0000 (10:59 +0300)]
Delay sending DateField popup value to server until popup is closed #6252

Change-Id: Ib6f4681ea38fe7a6cac8a44bc4ab4b23151844dd