]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoDisplaying tooltip in slot for touch devices (#15353)
Alexey Fansky [Sat, 7 Feb 2015 00:25:44 +0000 (16:25 -0800)]
Displaying tooltip in slot for touch devices (#15353)

Change-Id: Ia2fce4dbfc205b44622557017afff19c4a2ef7df

9 years agoRevert "Hide button caption overflow in reindeer and valo. (#11864)"
Jouni Koivuviita [Tue, 3 Mar 2015 07:47:59 +0000 (07:47 +0000)]
Revert "Hide button caption overflow in reindeer and valo. (#11864)"

This reverts commit c9586c93b93987d9b5942c38ef0b536c091092a5.

This fix will break button focus outline in Valo. The overflow hidden needs to be placed on the inner element (v-button-wrap).

For Reindeer the fix is okay, but for consistency it might make sense to move it there to the inner element also.

Change-Id: I6cac9fc6a1c8ae6be9969b8dc8533b9cad118d6a

9 years agoMake server tests work again
Artur Signell [Mon, 2 Mar 2015 20:51:18 +0000 (22:51 +0200)]
Make server tests work again

Change-Id: Ie0097cef628ef013579067443d4a52be049cf1da

9 years agoImprove performance of Util.collectionEquals (#16968).
Fabian Lange [Mon, 2 Mar 2015 11:16:19 +0000 (12:16 +0100)]
Improve performance of Util.collectionEquals (#16968).

This change checks the length of both collections first before iterating
them. This massively speeds up the comparison in case the collections do
not have the same length.

Also in the case where the lengths are equal, this saves the
collection2.hasNext() checks.

Change-Id: If1325f3581d12bf742d77fbf8b0f89511fa11252

9 years agoFix Grid flick scrolling on iOS devices (#16762)
Teemu Suo-Anttila [Thu, 26 Feb 2015 15:21:23 +0000 (17:21 +0200)]
Fix Grid flick scrolling on iOS devices (#16762)

Change-Id: Iee64f1dc5ce91472c66f43a6269cb1eccb2f9b52

9 years agoMethod for requesting column width recalculation (#16748)
Artur Signell [Fri, 27 Feb 2015 15:14:29 +0000 (17:14 +0200)]
Method for requesting column width recalculation (#16748)

Change-Id: I089f08a056a358d9857ce6608293878e2b8bbd9e

9 years agoLayoutManager reuses shortcut Element instance for measure (#16964).
Fabian Lange [Mon, 2 Mar 2015 10:18:23 +0000 (11:18 +0100)]
LayoutManager reuses shortcut Element instance for measure (#16964).

This change prevents the duplicate getter chain lookup
connector.getWidget().getElement() on the very hot measureConnector
method.

Change-Id: Ia59c9ef2e6bbcf9402424bc565bc9ee3977e3c6e

9 years agoDisconnect push after application has been stopped (#13248)
Artur Signell [Mon, 23 Feb 2015 22:41:15 +0000 (00:41 +0200)]
Disconnect push after application has been stopped (#13248)

Change-Id: I4b8ca76a530453ee95ff88a1a4bbe3fa7a7958d4

9 years agoUpdate to GWT with WP fix (#16924)
Artur Signell [Fri, 27 Feb 2015 15:38:23 +0000 (17:38 +0200)]
Update to GWT with WP fix (#16924)

Change-Id: I37cec7420f71d2fa6be379f650a7e11843d0e8e4

9 years agoDon't actively disconnect when the client already has disconnected (#15330)
Artur Signell [Wed, 25 Feb 2015 20:15:28 +0000 (22:15 +0200)]
Don't actively disconnect when the client already has disconnected (#15330)

Change-Id: I26e53f6b07eaccc785bda547e454fa185ad952df

9 years agoUpdate Atmosphere to 2.2.4.vaadin4 (#16825, #16826, #16862)
Artur Signell [Sat, 28 Feb 2015 17:29:31 +0000 (19:29 +0200)]
Update Atmosphere to 2.2.4.vaadin4 (#16825, #16826, #16862)

Change-Id: Idd43e37ac7ba37710ffea7e01efc931e73defd90

9 years agoUse the existing communication error handler if one exists (#16938)
Artur Signell [Fri, 27 Feb 2015 08:22:22 +0000 (10:22 +0200)]
Use the existing communication error handler if one exists (#16938)

Change-Id: If3645dee1f4f3d5a7b1654a60db8734c8ec1ac01

9 years agoCall error handler even if critical notification write fails (#16951)
Artur Signell [Fri, 27 Feb 2015 16:52:27 +0000 (18:52 +0200)]
Call error handler even if critical notification write fails (#16951)

Change-Id: I4d18aa54c48487081a626749916e3342888eb71e

9 years agoEnsure that slider min is always smaller or equal to max. (#16776)
Sauli Tähkäpää [Wed, 25 Feb 2015 14:54:59 +0000 (16:54 +0200)]
Ensure that slider min is always smaller or equal to max. (#16776)

- Set slider min to max if max is being set to a smaller value than min,
and vice-versa.
- Set also an informative message to Slider.ValueOutOfBoundsException.

Change-Id: I06b6b05dd0ef2c1fb862cf4acc7df3e235db59ba

9 years agoHide button caption overflow in reindeer and valo. (#11864)
Sauli Tähkäpää [Fri, 6 Feb 2015 21:59:35 +0000 (23:59 +0200)]
Hide button caption overflow in reindeer and valo. (#11864)

Change-Id: Iaeb9cd571dd4b7a37cdc89f9d291365aef96c9e1

9 years agoRedesign ComboBox filtering, highlighting and selection behaviour.
Sauli Tähkäpää [Thu, 8 Jan 2015 07:48:49 +0000 (09:48 +0200)]
Redesign ComboBox filtering, highlighting and selection behaviour.
(#15502, #9369)

Changes:
- When opening the popup, the first suggestion is always highlighted by
default unless adding new items is allowed.
- When filter matches currently selected item, that item will be
highlighted instead of the first item.
- Hitting enter or tab will always select the highlighted item.
- Closing the suggestions list by clicking outside the list no longer
selects an item to prevent accidental selections.

Test changes:
- Extended ComboBoxElement to help test filtering.
- Updated and tweaked ComboBoxResetValueTest,
ComboBoxIdenticalItemsTest and ComboboxScrollableWindowTest.
- Added ComboBoxSelectingTest and
ComboBoxSelectingWithNewItemsAllowedTest.
- Updated some tests that were using keyboard navigation.

Change-Id: Ia7745b624bdb0b1a1bb498157ebcb37bee219d76

9 years agoAdd pluggable mechanism for loading classes for a design (#16583)
Leif Åstrand [Wed, 25 Feb 2015 14:24:29 +0000 (16:24 +0200)]
Add pluggable mechanism for loading classes for a design (#16583)

Change-Id: I2ac17e3c5a7c36492567238af8f4cf6723b0ec69

9 years agoPackage all widgets sources into sources.jar (#16805)
Artur Signell [Fri, 20 Feb 2015 20:48:05 +0000 (22:48 +0200)]
Package all widgets sources into sources.jar (#16805)

Change-Id: Ia1a3d8444d0b660a1f0141e872230758fbf5d95a

9 years agoMaintain Grid scroll position on detach and reattach (#16220)
Johannes Dahlström [Wed, 28 Jan 2015 13:50:54 +0000 (15:50 +0200)]
Maintain Grid scroll position on detach and reattach (#16220)

Change-Id: I6ac5c3304bcd22e23f298c4dbdd65358aa1c64f7

9 years agoAdd project, build and test name capabilities.
Sauli Tähkäpää [Wed, 25 Feb 2015 07:14:28 +0000 (09:14 +0200)]
Add project, build and test name capabilities.

- Helps identifiying problem points in test queue
- Enables grouping tests in BrowserStack and other services.

Change-Id: I444d0aa07900c39b4dafc2d6b6889975b3de3bec

9 years agoBreaks PushLargeDataLongPollingTest and also long polling in many ways. See http...
Artur Signell [Wed, 25 Feb 2015 08:06:28 +0000 (08:06 +0000)]
Breaks PushLargeDataLongPollingTest and also long polling in many ways. See http://dev.vaadin.com/ticket/16919

Revert "Fix handling of disconnection with push (#15330)"

This reverts commit 3c07368cbbc4d35534e90c769ea8ec975400c452.

Change-Id: I46631b1921fa1c5628952362a93a000df92c5a4a

9 years agoFix test url parameter concatenation.
Sauli Tähkäpää [Tue, 24 Feb 2015 08:11:39 +0000 (10:11 +0200)]
Fix test url parameter concatenation.

Change-Id: I7063aedc870330c1159e44b05ac3e729ad837ba1

9 years agoFix Escalator size changes when scrolled to bottom (#16382)
Teemu Suo-Anttila [Tue, 24 Feb 2015 11:43:01 +0000 (13:43 +0200)]
Fix Escalator size changes when scrolled to bottom (#16382)

Change-Id: Iaf8b21e9c6a09e51667eebae1fdd4b1f5ebabedd

9 years agoFix adding and modifying multiple rows in Grid (#16905)
Teemu Suo-Anttila [Tue, 24 Feb 2015 11:07:09 +0000 (13:07 +0200)]
Fix adding and modifying multiple rows in Grid (#16905)

Change-Id: Ib3ae8d305f44a78c9bd6f4539ca9cee2a487d269

9 years agoFix handling of disconnection with push (#15330)
Artur Signell [Mon, 23 Feb 2015 21:42:34 +0000 (23:42 +0200)]
Fix handling of disconnection with push (#15330)

* The resource should not be closed when the client disconnects
* Removed "automatic" disconnection which was needed when onresume was not handled
* Don't call disconnect twice for cancelled connections

Change-Id: Id5ad9924b56c8810f759d6f9dc1da6e83e53d75b

9 years agoUpdate release notes for 7.4
Artur Signell [Sun, 15 Feb 2015 15:53:55 +0000 (17:53 +0200)]
Update release notes for 7.4

* Match TOC headers with actual headers
* New browser versions

Change-Id: I1476d41ee66ffb1876aac89998d4ca03d47e1240

9 years agoDo not restart application if messages are received (#16868)
Artur Signell [Fri, 20 Feb 2015 20:48:50 +0000 (22:48 +0200)]
Do not restart application if messages are received (#16868)

Change-Id: I5ede5efb7ae9a171fac79f2ead98e2fb12c249c4

9 years agoDo not re-schedule an already scheduled lock breaker (#15317)
Artur Signell [Mon, 23 Feb 2015 21:14:34 +0000 (23:14 +0200)]
Do not re-schedule an already scheduled lock breaker (#15317)

Change-Id: I17dad660470283cd2d269a32d72d2f26ab86e7c4

9 years agoMigrate TB2 tests from package applicationservlet to TB4
Teemu Suo-Anttila [Fri, 20 Feb 2015 13:28:28 +0000 (15:28 +0200)]
Migrate TB2 tests from package applicationservlet to TB4

MultipleServeletConfigurationTest
SystemMessagesTest

Change-Id: I85f0bc2daed4d9ef2a4a341f4614c8a501256565

9 years agoCleanup UI even if detach fails (#16651)
Artur Signell [Fri, 20 Feb 2015 22:41:24 +0000 (00:41 +0200)]
Cleanup UI even if detach fails (#16651)

Change-Id: Iefc27b7047836243268970605ba2e946fac55e95

9 years agoMake Column.setLastFrozenColumn work (#16726)
Artur Signell [Fri, 20 Feb 2015 22:12:09 +0000 (00:12 +0200)]
Make Column.setLastFrozenColumn work (#16726)

Change-Id: I58fee1549459b24cb47e0d3321d16fb8b215959a

9 years agoFixes a graphical scrollbar glitch in Grid + some OSX configurations + Valo (#16565)
Henrik Paul [Mon, 23 Feb 2015 10:07:13 +0000 (12:07 +0200)]
Fixes a graphical scrollbar glitch in Grid + some OSX configurations + Valo (#16565)

Change-Id: I8eb8bb2d941fc88b9f896c8d351ada6286e8322d

9 years agoMakes Escalator show scrollbars on some OSX settings (#16852)
Henrik Paul [Mon, 23 Feb 2015 08:30:04 +0000 (10:30 +0200)]
Makes Escalator show scrollbars on some OSX settings (#16852)

If the OSX is configured to show scrollbars only while scrolling, Escalator
would previously have its scrollbars hidden underneath the DOM structure.

Change-Id: I6c1a05ba23f6555d9f7f4c484c066c5f7ae63ac3

9 years agoIgnore Chrome in ComboboxSelectedItemTextTest until regression is fixed. (#16636)
Sauli Tähkäpää [Mon, 9 Feb 2015 14:21:01 +0000 (16:21 +0200)]
Ignore Chrome in ComboboxSelectedItemTextTest until regression is fixed. (#16636)

Change-Id: Ib47c1a6031a988213be35bf4a7d449209194664d

9 years agoEnsure resource is valid before writing to it (#16862)
Artur Signell [Fri, 20 Feb 2015 13:56:30 +0000 (15:56 +0200)]
Ensure resource is valid before writing to it (#16862)

Change-Id: I61e0003a2301100a5f0bfc18581a279207c4e812

9 years agoUse TestBench-4.0.2
Teemu Suo-Anttila [Thu, 12 Feb 2015 12:57:13 +0000 (14:57 +0200)]
Use TestBench-4.0.2

- Based on TB4 Parallel testing.
- Browser setup no longer uses static capabilities.
- Some code cleanup here and there.

Change-Id: I5c419316cd36f4f5041eaa8da8fda3d8b46596c4

9 years agoClearing the sorted indicator if sorting was disabled (#16563)
Alexey Fansky [Tue, 10 Feb 2015 20:19:00 +0000 (12:19 -0800)]
Clearing the sorted indicator if sorting was disabled (#16563)

Change-Id: I03677e25d639264d5056c5b86b7be8277fe332a4

9 years agoAdd overload to openTestURL for giving UI class as a parameter.
Sauli Tähkäpää [Fri, 13 Feb 2015 13:57:03 +0000 (15:57 +0200)]
Add overload to openTestURL for giving UI class as a parameter.

Change-Id: Ia964bb1bd185f5b78af1581c58f3f9247fad281c

9 years agoJavadoc fix
Artur Signell [Wed, 18 Feb 2015 11:01:53 +0000 (13:01 +0200)]
Javadoc fix

Change-Id: Ie6393f60961852825817378fadb068a16a307bcc

9 years agoMake push path configurable (#14432).
Tapio Aali [Mon, 9 Feb 2015 13:37:41 +0000 (15:37 +0200)]
Make push path configurable (#14432).

In order to use websockets with Weblogic 12.1.2 or later, push path 'ws'
needs to be used instead of 'PUSH'.

Change-Id: Ia90d11c20a375cef9cf4a53986a70d616a83db06

9 years agoMigrated tb2 tests to tb4
Miki [Fri, 13 Feb 2015 12:16:39 +0000 (14:16 +0200)]
Migrated tb2 tests to tb4

DeploymentConfigurationTest
OldUIOnReloadTest
ErrorInUnloadEventTest
VaadinSessionAttributeTest

Change-Id: I2ccddf4d2bd01f4532dda79698e6be71b3b1a9f5

9 years agoAdd build parameter com.vaadin.testbench.hub.url.
Sauli Tähkäpää [Mon, 16 Feb 2015 09:28:07 +0000 (11:28 +0200)]
Add build parameter com.vaadin.testbench.hub.url.

Change-Id: I413c1dfffcba794aeaa33bbfef4b90b22f5f6fb7

9 years agoRefactor critical notifications handling. (#16592)
Sauli Tähkäpää [Tue, 17 Feb 2015 08:20:41 +0000 (10:20 +0200)]
Refactor critical notifications handling. (#16592)

Change-Id: I235804a80b1d70a564a54953b9255416a7386fe6

9 years agoResolve infinite loop when clearing and adding rows (#16747)
Teemu Suo-Anttila [Mon, 16 Feb 2015 14:12:50 +0000 (16:12 +0200)]
Resolve infinite loop when clearing and adding rows (#16747)

Change-Id: Ibc364502cb756c499eb170a6a0c509f31d7fccb9

9 years agoProperly handle null in critical notifications (#16592)
Artur Signell [Mon, 16 Feb 2015 20:10:15 +0000 (22:10 +0200)]
Properly handle null in critical notifications (#16592)

Change-Id: I85994e47f99e2ac5431e67c56f432380e84af23d

9 years agoFixes javadocs.
Henrik Paul [Mon, 16 Feb 2015 10:42:59 +0000 (12:42 +0200)]
Fixes javadocs.

Change-Id: I78b8d901f5714f0de1eb84c0aa923225ff472737

9 years agoFix the initial location of a Window (#16486).
Mika Murtojarvi [Fri, 13 Feb 2015 12:32:56 +0000 (14:32 +0200)]
Fix the initial location of a Window (#16486).

Change-Id: Ie34384a9683376dda8b78434e0db885591964aba

9 years agoTable should load widgets after container content refresh (#16611)
Mikael Grankvist [Wed, 11 Feb 2015 08:38:52 +0000 (10:38 +0200)]
Table should load widgets after container content refresh (#16611)

Change-Id: I887830f31f886743d1bd7167236e2f7b61349dd7

9 years agoRefactor ContextMenuSizeTest.
Sauli Tähkäpää [Tue, 10 Feb 2015 09:45:02 +0000 (11:45 +0200)]
Refactor ContextMenuSizeTest.

Change-Id: Ia32378bbac45d4e103d5af5643b74ac6bca9424d

9 years agoFix RpcDataProviderExtension value change listener setup (#16550)
Teemu Suo-Anttila [Mon, 9 Feb 2015 14:25:24 +0000 (16:25 +0200)]
Fix RpcDataProviderExtension value change listener setup (#16550)

This patch changes value change listener mapping from itemid based to
index based mapping. This makes removing rows much less error prone

Change-Id: I77e9078de4ae61ce5d752cc394aa47bccd505e70

9 years agoEncode filenames to UTF-8 in Content-Disposition header. (#16556)
Sauli Tähkäpää [Tue, 3 Feb 2015 13:02:45 +0000 (15:02 +0200)]
Encode filenames to UTF-8 in Content-Disposition header. (#16556)

Change-Id: Ie2cf41f2176d05105663cdb84934379efa826f03

9 years agoAdd spaces around operators (#16696).
Mika Murtojarvi [Fri, 9 Jan 2015 15:50:26 +0000 (17:50 +0200)]
Add spaces around operators (#16696).

This is needed for the Sass compiler to correctly parse an expression.

Change-Id: Ie39134e47f701015a9fc7180de5c033b80abe178

9 years agoFix NullPointerException when changing Grid container (#16559)
Johannes Dahlström [Tue, 10 Feb 2015 12:53:11 +0000 (14:53 +0200)]
Fix NullPointerException when changing Grid container (#16559)

Change-Id: I6e8ca4af7baf0b560e9f28dfd6b7dd437c1a4254

9 years agoUse TestBenchElements in GridElement API (#16600)
Teemu Suo-Anttila [Mon, 9 Feb 2015 13:26:15 +0000 (15:26 +0200)]
Use TestBenchElements in GridElement API (#16600)

Change-Id: Iad416ae1c8df1c1dddadadd107e8cc2817450ac9

9 years agoDeclarative support for Image, Flash, BrowserFrame (#15551,#16327,#15552,#16325)
Artur Signell [Mon, 9 Feb 2015 18:56:05 +0000 (20:56 +0200)]
Declarative support for Image, Flash, BrowserFrame (#15551,#16327,#15552,#16325)

Change-Id: Icef0b3c4e652421265714c4fd29dee150bcc8cd0

9 years agoFixes IE scrollbar issues (#16634)
Henrik Paul [Tue, 10 Feb 2015 09:06:52 +0000 (11:06 +0200)]
Fixes IE scrollbar issues (#16634)

Change-Id: Ic948fb801f3bca5101ba630c99bd321f3e4f24bb

9 years agoDon't click widget headers to set selection in test (#16567)
Leif Åstrand [Tue, 10 Feb 2015 08:41:46 +0000 (10:41 +0200)]
Don't click widget headers to set selection in test (#16567)

Change-Id: I627cb68e54204a7af9c2ad53b131c4928a19e9b0

9 years agoFix documentation typo
Jouni Koivuviita [Mon, 9 Feb 2015 19:40:53 +0000 (21:40 +0200)]
Fix documentation typo

Change-Id: I7ae157f0fa4a352f16adb0634cbc545c14cb34f3

9 years agoRemove grid.[set|get]EditorField(Object, Field) (#16538)
Leif Åstrand [Mon, 9 Feb 2015 12:11:01 +0000 (14:11 +0200)]
Remove grid.[set|get]EditorField(Object, Field) (#16538)

Change-Id: Ia5c09b80e32f9842fb4680f035b53cea755cb451

9 years agoMake TableNavigationPageDownTest not rely on page down/up scrolling amounts.
Sauli Tähkäpää [Mon, 9 Feb 2015 13:53:08 +0000 (15:53 +0200)]
Make TableNavigationPageDownTest not rely on page down/up scrolling amounts.

Change-Id: I31f4eafcc78b8734c9a0651526790f5e1623ec93

9 years agoAdjust ContextMenuSizeTest to work with Chrome 40.
Sauli Tähkäpää [Mon, 9 Feb 2015 10:59:18 +0000 (12:59 +0200)]
Adjust ContextMenuSizeTest to work with Chrome 40.

Change-Id: I8e2562e5833684e07dfc3ceb754fa043af69f5f1

9 years agoUpdate Chrome to 40.
Sauli Tähkäpää [Fri, 6 Feb 2015 08:13:35 +0000 (10:13 +0200)]
Update Chrome to 40.

Change-Id: I6f970babd7cf6d32d4cf816727d44e140a1018c0

9 years agoUnified archetype scripts and added multimodule test
Artur Signell [Thu, 29 Jan 2015 18:24:44 +0000 (20:24 +0200)]
Unified archetype scripts and added multimodule test

Change-Id: I6cd7d4ca4a1386920dbe657accd18836a009a11c

9 years agoFix @since for 7.4
Artur Signell [Mon, 9 Feb 2015 12:05:24 +0000 (14:05 +0200)]
Fix @since for 7.4

Change-Id: I71f3a7cd6b91174c306e5cd60e20dbf0150f4a53

9 years agoRename getCancelCaption to mention Editor (#16551)
Leif Åstrand [Mon, 9 Feb 2015 11:52:49 +0000 (13:52 +0200)]
Rename getCancelCaption to mention Editor (#16551)

Change-Id: If0e323fcdbac519cf204d8183d2d5f9f4465a907

9 years agoRename com.vaadin.ui.renderer to com.vaadin.ui.renderers (#16521)
Leif Åstrand [Fri, 6 Feb 2015 13:09:44 +0000 (15:09 +0200)]
Rename com.vaadin.ui.renderer to com.vaadin.ui.renderers (#16521)

Change-Id: I6fd0313aaba5619a55f03fb52d72c032ea18f409

9 years agoWorkaround for firefox miscalculating row widths (#16606)
Henrik Paul [Fri, 6 Feb 2015 08:20:39 +0000 (10:20 +0200)]
Workaround for firefox miscalculating row widths (#16606)

Change-Id: I7c6aeed36fe81a51feffe05e687527f08ac2bd65

9 years agoRemove broken TB2 test, replaced by WindowCaptionTest
Artur Signell [Thu, 29 Jan 2015 15:28:37 +0000 (17:28 +0200)]
Remove broken TB2 test, replaced by WindowCaptionTest

Change-Id: Ic33bd53eba7bc2e54c54c6a763272bd22230a356

9 years agoEnable navigation on a readonly Calendar. (#16523)
Sauli Tähkäpää [Fri, 30 Jan 2015 15:46:07 +0000 (17:46 +0200)]
Enable navigation on a readonly Calendar. (#16523)

- Month view: navigate to week and day views
- Week view: navigate to day view and to next and prev weeks
- Day view: navigate to next and prev days
- Month view: hidden events can be expanded to view.

Change-Id: I19c64ae64c55b8e07be7f73be64e18e700f849b5

9 years agoAdd API for controlling deselection for single select model (#16567)
Leif Åstrand [Thu, 5 Feb 2015 19:04:36 +0000 (21:04 +0200)]
Add API for controlling deselection for single select model (#16567)

Change-Id: Ieb245205b3a311a4563f39bc48baadc44e218b61

9 years agoShow editor save error (#16602)
Leif Åstrand [Fri, 6 Feb 2015 09:34:20 +0000 (11:34 +0200)]
Show editor save error (#16602)

Change-Id: I2727a9fabef4291798e97495c2df86b077387cbb

9 years agoHighlights erroneous cells in Grid editor (#16575)
Henrik Paul [Thu, 5 Feb 2015 21:50:31 +0000 (23:50 +0200)]
Highlights erroneous cells in Grid editor (#16575)

Change-Id: Ie1f9d738db7a03ddb01b968782ad5e4877af1d7e

9 years agoGrid editor theme redesign (#16593)
Jouni Koivuviita [Thu, 5 Feb 2015 22:05:21 +0000 (00:05 +0200)]
Grid editor theme redesign (#16593)

Editor theme is now more flexible with regards to CSS. There are now
separate elements for containing the edited cells and the “footer”
which contains an optional message area and the save and cancel buttons.

Change-Id: I9addcb6adca792a9251ffada99fbe9b77502c77a

9 years agoFix WidgetUtil BoundingClientRectDouble methods (#16599)
Jouni Koivuviita [Thu, 5 Feb 2015 23:01:07 +0000 (01:01 +0200)]
Fix WidgetUtil BoundingClientRectDouble methods (#16599)

Change-Id: I93ecc9f6b8d8e148256b2f60bd5088d36a6d2b04

9 years agoGrid: mousewheel should be evaluated the first (#16591)
Manolo Carrasco [Thu, 5 Feb 2015 16:56:01 +0000 (17:56 +0100)]
Grid: mousewheel should be evaluated the first (#16591)

Change-Id: I6d1380cf7a0eaf626cc8a4c65209887ab6bc4a90

9 years agoGrid columns can now be marked as non-editable (#16538)
Johannes Dahlström [Wed, 4 Feb 2015 16:33:30 +0000 (18:33 +0200)]
Grid columns can now be marked as non-editable (#16538)

Non-editable columns are not assigned editor fields. When the editor is active,
any non-editable content is not displayed (this should changein the future).
This is separate from setting the property or editor field read-only - in those
cases the field is still used to display the data which may not be desired and
will fail if there is no converter.

Also add Column.setEditorField(Field<?>) and the corresponding getter.

Change-Id: Ice17c357895cb63a8e1bfd6abaffc1d803399e98

9 years agoDeclarative support for ProgressBar (#16316)
Artur Signell [Wed, 4 Feb 2015 22:23:25 +0000 (00:23 +0200)]
Declarative support for ProgressBar (#16316)

Change-Id: I8c13b19218e0da936abdb0860d492a3d5a096aa7

9 years agoDeclarative support for Link (#16322)
Artur Signell [Wed, 4 Feb 2015 23:48:58 +0000 (01:48 +0200)]
Declarative support for Link (#16322)

Change-Id: I02f36b5e89bdf2673696de6dd8fd217835e759d1

9 years agoNew declarative tests
Artur Signell [Wed, 4 Feb 2015 21:33:18 +0000 (23:33 +0200)]
New declarative tests

* ListSelect (#15547)
* ComboBox (#15546)
* NativeSelect (#15548)
* Upload (#16323)
* Tree (#16317)
* TwinColSelect (#16317)

Change-Id: Ic3443ec94971dc5bf9f63c8c11e5023863f9588c

9 years agoRefactored and updated (Popup|Inline|)DateField declarative tests
Artur Signell [Wed, 4 Feb 2015 21:14:00 +0000 (23:14 +0200)]
Refactored and updated (Popup|Inline|)DateField declarative tests

Change-Id: I1dc27ed0a61aea0e9c263a88885e8d20c815bc92

9 years agoDeclarative support for RichTextArea (#16326)
Artur Signell [Wed, 4 Feb 2015 21:25:47 +0000 (23:25 +0200)]
Declarative support for RichTextArea (#16326)

Change-Id: I1e373124f371947eabbf330145fe507caf24fd62

9 years agoDeclarative support for AbstractSelect (#15545)
Artur Signell [Wed, 4 Feb 2015 23:35:09 +0000 (01:35 +0200)]
Declarative support for AbstractSelect (#15545)

Change-Id: Ie66ee3f2b02ce7b6aa2edb66176bfbf5bdcd6c33

9 years agoRender Object.toString() when no converter is set (#15417)
Artur Signell [Thu, 5 Feb 2015 09:20:38 +0000 (11:20 +0200)]
Render Object.toString() when no converter is set (#15417)

Change-Id: I8a00857d5829cd01ceb98c4264029f62e45e7073

9 years agoSimplified declarative converters
Artur Signell [Wed, 4 Feb 2015 13:52:42 +0000 (15:52 +0200)]
Simplified declarative converters

* Removed shortcut interface
* Moved TimeZone converter to a separate class
* Moved Enum converter to a separate class

Change-Id: I2b959e3a002e6319912212df4a62a3bd05677f80

9 years agoRevert "Grid now uses ObjectRenderer by default (#15417)"
Artur Signell [Wed, 4 Feb 2015 15:00:23 +0000 (17:00 +0200)]
Revert "Grid now uses ObjectRenderer by default (#15417)"

This reverts commit abaec0217b3351d6f1835d7095ed2a3958fbfcdb.

Change-Id: I7f8de3ee803b6de1957ad04b5b1b3bf210783826

9 years agoClose notification correctly in GridEditorTest
Teemu Suo-Anttila [Thu, 5 Feb 2015 11:20:38 +0000 (13:20 +0200)]
Close notification correctly in GridEditorTest

Change-Id: Ibe5f1cab99025fa4760ebd1e6b9d11d739e1a435

9 years agoReport ip of test machine containing wrong browser version
Artur Signell [Thu, 5 Feb 2015 11:33:49 +0000 (13:33 +0200)]
Report ip of test machine containing wrong browser version

Change-Id: Ib94fbf8a092e321612081672ae54b1170a05b358

9 years agoMake test work on all browsers (#13775)
Artur Signell [Thu, 5 Feb 2015 09:57:47 +0000 (11:57 +0200)]
Make test work on all browsers (#13775)

Change-Id: I282b3d5b14a5ec09060491bd9833c76f061bbf56

9 years agoPrevent AlwaysLockedVaadinSession from being GCed during test
Artur Signell [Thu, 5 Feb 2015 09:22:01 +0000 (11:22 +0200)]
Prevent AlwaysLockedVaadinSession from being GCed during test

Change-Id: Id6e2e6c7e013e8c667f658d5877c5db7d072106b

9 years agoAdd missing @since to VScrollTable and Table.
Sauli Tähkäpää [Wed, 21 Jan 2015 07:21:08 +0000 (09:21 +0200)]
Add missing @since to VScrollTable and Table.

Change-Id: I7f249c880464b38226856a00882a05af80991d48

9 years agoPrevent MockVaadinSession from becomming GCed
Leif Åstrand [Tue, 9 Dec 2014 18:57:16 +0000 (20:57 +0200)]
Prevent MockVaadinSession from becomming GCed

This fixes the issue discussed in #14595 for the framework's internal
tests (if they use MockVaadinSession).

Change-Id: I1956680ac065428be41b2ad43fbb80503351b366

9 years agoMakes it possible to change save/cancel captions in Grid editor (#16551)
Henrik Paul [Mon, 2 Feb 2015 14:51:49 +0000 (16:51 +0200)]
Makes it possible to change save/cancel captions in Grid editor (#16551)

Change-Id: I4e303613f66a13b3ad6a9b2284537e5548391a4a

9 years agoUse cache when reading declarative format (#16572)
Artur Signell [Wed, 4 Feb 2015 12:54:48 +0000 (14:54 +0200)]
Use cache when reading declarative format (#16572)

Change-Id: I313ff4e88e13a9c160a4717a40cb13352a30bd6b

9 years agoMake server unit tests pass in Eclipse (#16581)
Artur Signell [Wed, 4 Feb 2015 15:20:06 +0000 (17:20 +0200)]
Make server unit tests pass in Eclipse (#16581)

Change-Id: Ieb9d00fe8412ed6fb0921d07e0511eb922268375

9 years agoUse non-blocking Map implementation for caches (#16582)
Leif Åstrand [Wed, 4 Feb 2015 18:45:10 +0000 (20:45 +0200)]
Use non-blocking Map implementation for caches (#16582)

Change-Id: Id2d3bc317f6763480b2ef5ce71244f048c5cfc26

9 years agoBase classes for declarative tests
Artur Signell [Tue, 3 Feb 2015 19:48:35 +0000 (21:48 +0200)]
Base classes for declarative tests

Change-Id: Ia3a421b84eac0252a6e1b8238756eeaac2a35b6e

9 years agoSpeeds up column adding in Grid (#16474)
Henrik Paul [Wed, 28 Jan 2015 11:40:00 +0000 (13:40 +0200)]
Speeds up column adding in Grid (#16474)

Grid.onStateChange is now about 40% faster when adding columns,
and setting several column widths has now way less overhead.

Change-Id: I7bd900324207bfb2543a1a90390665b90206aefd

9 years agoEditor save/cancel buttons stay visually in place (#16562)
Henrik Paul [Tue, 3 Feb 2015 14:37:19 +0000 (16:37 +0200)]
Editor save/cancel buttons stay visually in place (#16562)

Change-Id: Ia63ffc36bee83e1bd20dc6e1a83616f94574a89b

9 years agoDefer RPC calls in RpcDataProvider to avoid cache issues (#16505)
Teemu Suo-Anttila [Tue, 27 Jan 2015 12:44:24 +0000 (14:44 +0200)]
Defer RPC calls in RpcDataProvider to avoid cache issues (#16505)

This patch defers cache refresh and row adding/removing. These calls are
omitted completely when making initial response to the client or
updating the size with bare ItemSetChangeEvents.

Change-Id: I6b350680b3e2381caf6a66c9a4ad283207d024dc

9 years agoCheck if event move is allowed also in month view. (#15174)
Sauli Tähkäpää [Sun, 9 Nov 2014 21:15:28 +0000 (23:15 +0200)]
Check if event move is allowed also in month view. (#15174)

Change-Id: Ie4f01a74d3f2a8e388aed0c2d8b1a99384cb042f