]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoMerge remote-tracking branch 'origin/grid-columnhiding' into grid-7.5
Pekka Hyvönen [Thu, 19 Mar 2015 06:29:00 +0000 (08:29 +0200)]
Merge remote-tracking branch 'origin/grid-columnhiding' into grid-7.5

Change-Id: Ice80ed9d5a96d9de824cc932873b4e6a736459a8

9 years agoGrid's columns hidable with toggles in the sidebar (#17023)
Pekka Hyvönen [Wed, 18 Mar 2015 12:37:56 +0000 (14:37 +0200)]
Grid's columns hidable with toggles in the sidebar (#17023)

There is know issue with hidden columns and reordering columns.

Change-Id: If308c84aed5dd23c2c00cb38ed6bba41c6f1a28e

9 years agoDisplay button for opening sidebar in Grid when hidable columns #17023
Pekka Hyvönen [Mon, 16 Mar 2015 13:26:56 +0000 (15:26 +0200)]
Display button for opening sidebar in Grid when hidable columns #17023

Change-Id: I9dc1d5d8ede4984c2dd6f5fcc932bb987ce95dcb

9 years agoMerge remote-tracking branches 'origin/grid-detailsrow' and 'origin/grid-columnhiding...
Henrik Paul [Mon, 16 Mar 2015 14:39:07 +0000 (16:39 +0200)]
Merge remote-tracking branches 'origin/grid-detailsrow' and 'origin/grid-columnhiding' into grid-7.5

Change-Id: Ib8913f8e1b1b92198d79f8920c615addf77a15ba

9 years agoFix Grid CellFocusHandler position on DataSource size reset (#16607)
Teemu Suo-Anttila [Mon, 16 Mar 2015 09:18:25 +0000 (11:18 +0200)]
Fix Grid CellFocusHandler position on DataSource size reset (#16607)

Change-Id: Id02ff612a3f152af5341445bec769a74cfd79cfb

9 years agoOptimise RpcDataProvider calls to container (#16642)
Teemu Suo-Anttila [Tue, 10 Feb 2015 08:13:08 +0000 (10:13 +0200)]
Optimise RpcDataProvider calls to container (#16642)

Change-Id: I8abaa4c1bd8eface98e42e0882cf09c92fbbf386

9 years agoFix invalid assumptions about empty Grid (#16734, #16684)
Leif Åstrand [Sun, 15 Mar 2015 19:08:21 +0000 (21:08 +0200)]
Fix invalid assumptions about empty Grid (#16734, #16684)

* Don't reset to default column sizes when adding row to emtpy escalator
* Don't wait for data after size is explicilty reset to 0
* Don't assume there were previous rows when adjusting focus on add

Change-Id: I59e8c0ef0c5633cf3678db63a660e3f1d1ca7d2a

9 years agoClient side API for setting a grid column hideable (#17023)
Pekka Hyvönen [Fri, 13 Mar 2015 12:39:23 +0000 (14:39 +0200)]
Client side API for setting a grid column hideable (#17023)

Change-Id: I389d603210744ea02846a00ab893188b7953145f

9 years agoClient side event for grid's columns visibility change (#17023)
Pekka Hyvönen [Fri, 13 Mar 2015 10:20:30 +0000 (12:20 +0200)]
Client side event for grid's columns visibility change (#17023)

Change-Id: I1965ca6c298366d89b1940a992788d042cf7a4aa

9 years agoHide columns with client side API in Grid (#17023)
Pekka Hyvönen [Thu, 12 Mar 2015 09:19:43 +0000 (11:19 +0200)]
Hide columns with client side API in Grid (#17023)

For now, the width for spanned header/footer cells is broken after hiding their columns.

Change-Id: I0833fb570fcad731776a88a183b3df45cbc19557

9 years agoConvert browserframe, flash and requesthandler tests to TB4
Teemu Suo-Anttila [Fri, 6 Mar 2015 12:55:37 +0000 (14:55 +0200)]
Convert browserframe, flash and requesthandler tests to TB4

Change-Id: Ic2089570fcfc9ec81f3d95722adc75ff75e8293f

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

ChangeSessionIdTest
CloseSessionTest
RpcForClosedUITest

Change-Id: I539d7194e67a839ac8d7bd4dbb81c1e4ddc3c1b7

9 years agoMigrate TB2 test from application package to TB4
Teemu Suo-Anttila [Fri, 20 Feb 2015 09:57:22 +0000 (11:57 +0200)]
Migrate TB2 test from application package to TB4

RefreshFragmentChangeTest
RefreshStatePreserveTest
RefreshStatePreserveTitleTest
TerminalErrorNotificationTest
ThreadLocalInstancesTest
WebBrowserSizeTest
WebBrowserTest

Change-Id: I5c95905b4999ebefc7b170057952b09780174627

9 years agoMerge branch 'master' into detailsrow
Henrik Paul [Thu, 12 Mar 2015 14:03:15 +0000 (16:03 +0200)]
Merge branch 'master' into detailsrow

Change-Id: Ie0556ae8d56596d5e1894b3a62d39b0afe13b5a3

9 years agoMakes Connectors into DeferredWorker candidates (#17127)
Henrik Paul [Thu, 12 Mar 2015 12:22:29 +0000 (14:22 +0200)]
Makes Connectors into DeferredWorker candidates (#17127)

Change-Id: Ie24a85a2c4abc5e68af0bec2af4dcbcabee77c91

9 years agoDouble-opening Grid details row doesn't change height (#16644)
Henrik Paul [Thu, 5 Mar 2015 09:09:26 +0000 (11:09 +0200)]
Double-opening Grid details row doesn't change height (#16644)

The bug caused an arbitrary height to be set for the details row
if an already-open details was reopened.

Change-Id: I1d764511d2829416491eb92abf8565288252f953

9 years agoImprove performance of setNeedsMeasure (#16972).
Fabian Lange [Mon, 2 Mar 2015 12:08:02 +0000 (13:08 +0100)]
Improve performance of setNeedsMeasure (#16972).

This change removes the method LayoutDependenyTree.setNeedsMeasure which
takes a connectorId as first param.
In all places where it is used, the ComponentConnector is actually known,
so this change avoids looking it up over and over again.
Also The lookup would need to lookup the ConnectorMap every time.

Change-Id: I2593b0bede05cd69889ba68aac854cfba43f70b1

9 years agoLayoutManager uses shortcut when delaying overflow fixes (#16963).
Fabian Lange [Mon, 2 Mar 2015 09:45:28 +0000 (10:45 +0100)]
LayoutManager uses shortcut when delaying overflow fixes (#16963).

This change introduces an extracted method which will quick return if
a component needs a delayedOverflowFix.

Change-Id: I0d6ab100964a59e2f445a81271863a8212538d4d

9 years agoImprove performance of getMeasureTargetsJsArray (#16973).
Fabian Lange [Mon, 2 Mar 2015 12:28:15 +0000 (13:28 +0100)]
Improve performance of getMeasureTargetsJsArray (#16973).

This change optimizes the method
LayoutDependenyTree.getMeasureTargetsJsArray.

The previous code dumps both MeasureQueues and then iterates over the
vertical one and then checks if it is present in the horizontal one.
If it is not present it pushes the element to the array (which usually
invokes an arraycopy in js).

The new code adds both Queues to a new FastStringSet which does deal
with duplicates nicely.
While this is not much faster than the dumps, it avoids the array
allocations and the separate iteration for duplicate checking.

Change-Id: I2f643a2d0b32e4c2517efff16c196387f38f0d8a

9 years agoUse Math.floor instead of casting to int when trimming decimals. (#16926)
Sauli Tähkäpää [Wed, 25 Feb 2015 21:19:30 +0000 (23:19 +0200)]
Use Math.floor instead of casting to int when trimming decimals. (#16926)

Change-Id: I02802b910d0dc90221483fedbf05be48958d8dcc

9 years agoUpdate Atmosphere to 2.2.4.vaadin5 (#17074)
Artur Signell [Tue, 10 Mar 2015 13:19:27 +0000 (15:19 +0200)]
Update Atmosphere to 2.2.4.vaadin5 (#17074)

Change-Id: I85618f66effbf647856d9c152b3e66a6454001d9

9 years agoScript for updating push version
Artur Signell [Fri, 2 Jan 2015 14:20:26 +0000 (16:20 +0200)]
Script for updating push version

Supports both Vaadin atmosphere versions and upstream versions

Change-Id: I4d4965354a19c071dbd0bfb295e311e7cd55a63f

9 years agoUsing ComponentFactory in DesignContext.getDefaultInstance() (#16990)
Alexey Fansky [Wed, 4 Mar 2015 21:23:42 +0000 (13:23 -0800)]
Using ComponentFactory in DesignContext.getDefaultInstance() (#16990)

Change-Id: I0bb3e7975f2b48cdc589de740cb07ac893b13461

9 years agoDisable auto-testing of TB2 tests on Chrome
Artur Signell [Mon, 9 Mar 2015 11:03:02 +0000 (13:03 +0200)]
Disable auto-testing of TB2 tests on Chrome

Chrome has started auto-updating even though auto updates are
disabled on the test machines. TestBench 2 works with Chrome 41 (latest)
but opens the test in a new tab instead of in a new window and therefore
is unable to resize the browser to the correct size for screenshots.

Change-Id: Ib7f05a9115a9c82f5b3b384d73c47d6becbfbe79

9 years agoFix regression for Table selection and checkbox issue (#17064)
Teemu Suo-Anttila [Fri, 6 Mar 2015 13:51:56 +0000 (15:51 +0200)]
Fix regression for Table selection and checkbox issue (#17064)

Converts the old TB2 test for the issue to TB4 as well.

Change-Id: I76a37d836a55102221aa63e75f7ab605769bc0b9

9 years agoAdd OSGi integration tests (#9583)
Miki [Wed, 4 Mar 2015 09:26:23 +0000 (11:26 +0200)]
Add OSGi integration tests (#9583)

Change-Id: Ibea856ab7bbde663d9a1762050902f1740f6d73f

9 years agoEnsure refresh message is sent on invalid CSRF (#17042)
Artur Signell [Fri, 6 Mar 2015 12:24:00 +0000 (14:24 +0200)]
Ensure refresh message is sent on invalid CSRF (#17042)

If we create an AtmospherePushConnection and a broadcaster like before we would
need to suspend the connection to ensure the AtmosphereResource is actually
added to the broadcaster

Change-Id: I7265ac0594b7a4da2c7a49fa34ebfbb27e1abdff

9 years agoConverted ValidationOfRequiredEmptyFields to TB4
Artur Signell [Thu, 29 Jan 2015 16:54:35 +0000 (18:54 +0200)]
Converted ValidationOfRequiredEmptyFields to TB4

Change-Id: Ifab3d891115b30ef2d3f7542cd57ac7215653fe5

9 years agoMerge branch 'master' into grid-columnreorder
Pekka Hyvönen [Fri, 6 Mar 2015 09:56:53 +0000 (11:56 +0200)]
Merge branch 'master' into grid-columnreorder

Conflicts:
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java

Change-Id: Ic77c717b9bbdcc38585382d4944ee4491aba3f7d

9 years agoRemove eXo test which is unreliable and tests an old version
Artur Signell [Thu, 19 Feb 2015 21:37:41 +0000 (23:37 +0200)]
Remove eXo test which is unreliable and tests an old version

Change-Id: I00e1bb23bb312ecf3303b23f22dc07b58e2b8e0e

9 years agoRevert "Encode filenames to UTF-8 in Content-Disposition header. (#16556)"
Leif Åstrand [Fri, 6 Mar 2015 09:09:27 +0000 (09:09 +0000)]
Revert "Encode filenames to UTF-8 in Content-Disposition header. (#16556)"

Breaks AppResource404, BrowserFrameIsVisible and FlashIsVisible

This reverts commit af6dd56e89db8ea8c88f607c4214abcde50dfc94.

Change-Id: I82fc9ef4c9d08dc8aa48e0fa137fae5782701389

9 years agoDnd-reorder of spanned cells in grid header. (#16643)
Pekka Hyvönen [Thu, 5 Mar 2015 09:10:06 +0000 (11:10 +0200)]
Dnd-reorder of spanned cells in grid header. (#16643)

Change-Id: I6f2decbbfb393922c4852f5b05ac0d10589ee512

9 years agoFixes a bug with escalator.scrollToRow and spacers (#16644)
Henrik Paul [Wed, 4 Mar 2015 10:42:38 +0000 (12:42 +0200)]
Fixes a bug with escalator.scrollToRow and spacers (#16644)

Change-Id: I9e148cf81d393cc489c20bf0265f4a3bc6fed069

9 years agoUpdate @since for 7.4.1
Leif Åstrand [Thu, 5 Mar 2015 09:35:19 +0000 (11:35 +0200)]
Update @since for 7.4.1

Change-Id: I61233d704eae50447d3ccb5a5c485fe3ef98c436

9 years agoSupport both DefaultWidgetSet and TestingWidgetSet
Artur Signell [Tue, 13 Jan 2015 12:19:15 +0000 (14:19 +0200)]
Support both DefaultWidgetSet and TestingWidgetSet

Change-Id: Icdf5f3cdca60aa7e40d698b51df52ccbac1aee35

9 years agoMerge branch 'master' into HEAD
Henrik Paul [Thu, 5 Mar 2015 08:00:33 +0000 (10:00 +0200)]
Merge branch 'master' into HEAD

Change-Id: I85867836aba8bd2cb51729fecdb1c449c439d3e7

9 years agoMerge branch 'master' into HEAD
Henrik Paul [Wed, 4 Mar 2015 08:01:31 +0000 (10:01 +0200)]
Merge branch 'master' into HEAD

Change-Id: Id48abba25a16fe7f8e679e5ce2ab3ab536951676

9 years agoFixes subpixel allocation accuracy and speed (#16614, #16750)
Henrik Paul [Fri, 6 Feb 2015 14:35:16 +0000 (16:35 +0200)]
Fixes subpixel allocation accuracy and speed (#16614, #16750)

This reverts workarounds used in subpixel quick fix commit
6133b2cffd0c0b0e0e360ae30330a8adbe7662f4. New logic uses Escalator's
more optimised multiple column width setting method.

Change-Id: I0863f9774e6efc26f01ebdb736b4847e4ef5354c

9 years agoTake footer into account in column dnd-reorder (#16643)
Pekka Hyvönen [Tue, 3 Mar 2015 12:26:44 +0000 (14:26 +0200)]
Take footer into account in column dnd-reorder (#16643)

Change-Id: I0358d1b18f65d40325b6c1bc3f3e4d3b9249fb5f

9 years agoLimit dnd-reorder of columns inside spanned headers. (#16643)
Pekka Hyvönen [Tue, 3 Mar 2015 09:15:06 +0000 (11:15 +0200)]
Limit dnd-reorder of columns inside spanned headers. (#16643)

Doesn't take footers into account, yet.

Change-Id: I9c62ca97bcbdb852f2fe7ad7ea2e7de0f0ed02f8

9 years agoAdd missing osgi import to guava (#16739)
Miki [Fri, 27 Feb 2015 11:37:35 +0000 (13:37 +0200)]
Add missing osgi import to guava (#16739)

Change-Id: I889b918600db98b70a7c02e86fbbeca31f083f80

9 years agoAdds support for -1 row index Escalator spacers (#16644)
Henrik Paul [Tue, 3 Mar 2015 14:49:19 +0000 (16:49 +0200)]
Adds support for -1 row index Escalator spacers (#16644)

Change-Id: Iced2f089785983ce2ef1d2225517156cec4a7db4

9 years agoEscalator spacers are sized and placed like "fixed" (#16644)
Henrik Paul [Tue, 3 Mar 2015 11:19:33 +0000 (13:19 +0200)]
Escalator spacers are sized and placed like "fixed" (#16644)

The width of a spacer is now 100% of the viewport (width of escalator
minus possible scrollbars), and and are always horizontally frozen
with the viewport.

Change-Id: I6616747784cdb61551e144d941526dee815a7ef9

9 years agoAlways include default widget set files in OSGi manifest (#16993)
Artur Signell [Tue, 3 Mar 2015 13:11:23 +0000 (15:11 +0200)]
Always include default widget set files in OSGi manifest (#16993)

Change-Id: Ib1fc01ced602d3434a0ad63725601237a0def4d1

9 years agoMake Grid recalculate columns on resize (#16539)
Teemu Suo-Anttila [Thu, 26 Feb 2015 09:29:02 +0000 (11:29 +0200)]
Make Grid recalculate columns on resize (#16539)

Change-Id: Ib2b9ecc995ec6fe2627c545efc2a312a59df6b9c

9 years agoReapplying column width on Grid actually reapplies the width (#16900)
Pekka Hyvönen [Tue, 24 Feb 2015 21:51:31 +0000 (23:51 +0200)]
Reapplying column width on Grid actually reapplies the width (#16900)

Change-Id: I8a0bc92294004411782c6ee5b0e460b892570aa3

9 years agoRestoring overflow-x and overflow-y in runWebkitOverflowAutoFix (#16650)
Alexey Fansky [Sat, 21 Feb 2015 01:13:55 +0000 (17:13 -0800)]
Restoring overflow-x and overflow-y in runWebkitOverflowAutoFix (#16650)

Change-Id: I7be1c1571ee5ede0ce481faf823f5f271a280a8a

9 years agoFix text input of PopupCalendar in Internet Explorer (#16677).
Mika Murtojarvi [Mon, 16 Feb 2015 15:33:15 +0000 (17:33 +0200)]
Fix text input of PopupCalendar in Internet Explorer (#16677).

Similarly to VTextField, VTextualDate now uses KeyDownHandler with IE to
process the pressing of the return key.

Change-Id: I139134fc38678ad46f0c46f30e3de25547b9a3c6

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 agoAdds tests and JavaDoc regarding Escalator's spacers (#16644)
Henrik Paul [Mon, 2 Mar 2015 13:56:17 +0000 (15:56 +0200)]
Adds tests and JavaDoc regarding Escalator's spacers (#16644)

Change-Id: I9b35a48df8b4e9801c26a25eb1ccce5351c61ddd

9 years agoAdds support for spacers near the bottom of Escalator (#16644)
Henrik Paul [Mon, 2 Mar 2015 09:55:35 +0000 (11:55 +0200)]
Adds support for spacers near the bottom of Escalator (#16644)

Change-Id: Idca22ecbe9a2db4dbfb26481694255c3a8791b67

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 agoEscalator can now remove rows while spacers are open (#16644)
Henrik Paul [Fri, 27 Feb 2015 09:31:17 +0000 (11:31 +0200)]
Escalator can now remove rows while spacers are open (#16644)

Change-Id: I1fad1d14727d706bcc36021b77ec33dc8e76b632

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 agoHandle selection column oddity when dnd reordering columns (#16443)
Pekka Hyvönen [Fri, 27 Feb 2015 14:13:41 +0000 (16:13 +0200)]
Handle selection column oddity when dnd reordering columns (#16443)

Change-Id: I7bb20fb98a79e77acc9073bc9c2210d1dc3fd49e

9 years agoHandle spanned header cells when dnd reordering columns in grid. (#16643)
Pekka Hyvönen [Thu, 26 Feb 2015 14:23:32 +0000 (16:23 +0200)]
Handle spanned header cells when dnd reordering columns in grid. (#16643)

Prevents dragging columns from outside spanned cells to inside them, on any row.
Currently prevents dragging columns inside spanned cells. Will change this later.

Change-Id: Ie832b3c404a3afbcce0374f8b5088dc8cb124fb8

9 years agoFixes two bugs when inserting escalator rows with spacers open (#16644)
Henrik Paul [Thu, 26 Feb 2015 07:32:43 +0000 (09:32 +0200)]
Fixes two bugs when inserting escalator rows with spacers open (#16644)

If the viewport is not yet filled with escalator rows, it didn't account for
spacers. Also, the scrollbar was updated incorrectly after adding
new rows.

Change-Id: Id9cab71c2c4b82331771d1243143eb9db0883a6c

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 agoAdds support for inserting rows to Escalator while spacers are open (#16644)
Henrik Paul [Wed, 25 Feb 2015 08:24:01 +0000 (10:24 +0200)]
Adds support for inserting rows to Escalator while spacers are open (#16644)

Change-Id: Id8689ed308926debee385e158d045f014fae21e0

9 years agoSupport column reordering from all header rows. (#16643)
Pekka Hyvönen [Thu, 26 Feb 2015 07:44:23 +0000 (09:44 +0200)]
Support column reordering from all header rows. (#16643)

Change-Id: I78a4a50b011576a026518a58c36822a383979986

9 years agoDon't reference private class in javadoc (#16644)
Leif Åstrand [Tue, 24 Feb 2015 12:51:58 +0000 (14:51 +0200)]
Don't reference private class in javadoc (#16644)

Change-Id: I27e6ab90790fc2f4c39679a1e7f69c6ecf13a276

9 years agoColumn reordering in Grid restricted to non-frozen columns. (#16643)
Pekka Hyvönen [Wed, 25 Feb 2015 14:16:10 +0000 (16:16 +0200)]
Column reordering in Grid restricted to non-frozen columns. (#16643)

Can't drag frozen columns. Dragging no top of frozen column will keep drag element and drop marker on "right".
Dropping on frozen column will drop the column to the right of the frozen columns.

Change-Id: Ib04af96b21072e9f19dc7640a67bc68d49a9ae54

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 agoAdjust column reorder drop marker when auto scrolling grid. (#16643)
Pekka Hyvönen [Wed, 25 Feb 2015 07:22:06 +0000 (09:22 +0200)]
Adjust column reorder drop marker when auto scrolling grid. (#16643)

Change-Id: I11377fb8b007c3c50c3e3bd1c29afcf8485431f0

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 agoFixes a bug with scrolling the Escalator with a spacer open (#16644)
Henrik Paul [Wed, 25 Feb 2015 07:34:36 +0000 (09:34 +0200)]
Fixes a bug with scrolling the Escalator with a spacer open (#16644)

Mostly cleanup/clarity enhancements, the actual bug fix is in
getSpacerHeightsSumUntilPx

Change-Id: Ie9aafc0398e4ed293067c9aeac6281abc0c1df82

9 years agoAuto scroll when dnd reorder columns and cursor close to Grid edge. (#16643)
Pekka Hyvönen [Tue, 24 Feb 2015 08:56:00 +0000 (10:56 +0200)]
Auto scroll when dnd reorder columns and cursor close to Grid edge. (#16643)

Change-Id: I38c18d44afb6666677c1593541021d36c8cb2afc

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 agoSpacers affect Escalator's scrollbars (#16644)
Henrik Paul [Mon, 23 Feb 2015 15:31:13 +0000 (17:31 +0200)]
Spacers affect Escalator's scrollbars (#16644)

Change-Id: I73a7a6db4d25c09d4a3eb04c4aea18f06428d320

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 agoFixes fast Escalator scrolling with spacers (#16644).
Henrik Paul [Mon, 23 Feb 2015 11:45:44 +0000 (13:45 +0200)]
Fixes fast Escalator scrolling with spacers (#16644).

Change-Id: I2c79cc972e35ffe37a6fb3cc97b6fc937c3d32f7

9 years agoFixes Escalator row offsets with spacers open (#16644)
Henrik Paul [Thu, 19 Feb 2015 12:53:35 +0000 (14:53 +0200)]
Fixes Escalator row offsets with spacers open (#16644)

Caveat: Scrolling works, as long as it is done slowly, one-by-one.
When moving several rows in a batch, spacers are ignored and
rows end up underneath them.

Change-Id: I07d0135e4ac559f5553cd8dc85bca39061de69b7

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 agoTheming and UX for Grid column reordering. (#16643)
Pekka Hyvönen [Thu, 19 Feb 2015 15:21:22 +0000 (17:21 +0200)]
Theming and UX for Grid column reordering. (#16643)

- Show sorting and focus on the dragged header.
- Keep the focused header/cell the same after drag.
- Make the drop marker get the same color as the grid selection.
- Make dragged header and the drag element theme customizable
- Valo related theming: little opacity, proper positioning

Change-Id: Ia1c6f72ef2c7b4333e64ac410e50ef3688461749

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