]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoMake GeneratedPropertyItem addItem return null when appropriate (#18685)
Artur Signell [Wed, 30 Dec 2015 06:13:26 +0000 (08:13 +0200)]
Make GeneratedPropertyItem addItem return null when appropriate (#18685)

Change-Id: Ia4bace28a1aae2c8e9599a4688273d911cc20594

8 years agoEnsure no unknown attribute warnings are logged in design tests (#19429)
Artur Signell [Sat, 2 Jan 2016 12:48:55 +0000 (14:48 +0200)]
Ensure no unknown attribute warnings are logged in design tests (#19429)

* Adds missing custom attributes to Slider/AbstractEmbedded

Change-Id: Iad6c963bdc4334630c613995b9c0f0555d5d19a8

8 years agoListen to body for shortcut actions for standalone apps (#19392)
Artur Signell [Fri, 1 Jan 2016 09:53:42 +0000 (11:53 +0200)]
Listen to body for shortcut actions for standalone apps (#19392)

Change-Id: I2e9d5e95c7b0ba3907c9772aee9fbfadb6baabde

8 years agoFix custom attributes of Link component (#19107)
maxschuster [Sun, 11 Oct 2015 18:48:52 +0000 (20:48 +0200)]
Fix custom attributes of Link component (#19107)

Added the custom attributes href and target to the Link component to
match the attribute names used by Link.readDesign() and
Link.writeDesign()

Change-Id: I9417034572c66e54034b816a15d7a1ec29030fbf

8 years agoInclude correct type and parameter info in exception (#19064)
Artur Signell [Sat, 10 Oct 2015 16:48:42 +0000 (19:48 +0300)]
Include correct type and parameter info in exception (#19064)

Change-Id: I26baf26dae6d1ad8b93529191cc69ffc0445aa40

8 years agoMake GeneratedPropertyItem equals self (#19426)
Artur Signell [Wed, 30 Dec 2015 05:56:33 +0000 (07:56 +0200)]
Make GeneratedPropertyItem equals self (#19426)

Change-Id: Ia9a8d56a3702d182b7fb79e3676844c9a10093a6

8 years agoMake GeneratedPropertyContainer.getItem(nonExistant) return null (#19425)
Artur Signell [Wed, 30 Dec 2015 05:49:10 +0000 (07:49 +0200)]
Make GeneratedPropertyContainer.getItem(nonExistant) return null (#19425)

Change-Id: I46e715ac35c7a311b8ca3c09165e8c5c69243a79

8 years agoMake test succeed in Eclipse
Artur Signell [Sat, 2 Jan 2016 12:54:33 +0000 (14:54 +0200)]
Make test succeed in Eclipse

Change-Id: I60485d3a42050ea0eba2ba967d0ea58f28f62233

8 years agoRevert changes which were previously reverted from only 7.5 (#19424)
Teemu Suo-Anttila [Tue, 21 Jul 2015 11:00:03 +0000 (14:00 +0300)]
Revert changes which were previously reverted from only 7.5 (#19424)

Revert "Take Window special case into account for invalid layouts (#17598)"

This reverts commit abc1c5dff6438d65e53473b69ae9a3ca2b8e60e1.

Revert "Render nested invalid layouts correctly (#17598)"

This reverts commit ac4e85f4e35a57d1ba6e6f3448744cbb0c2df60f.

Added test to ensure a similar problem is not reintroduced later

Change-Id: I680c20384e62c7c00b4ac0e2dc91f65f1585d37c

8 years agoUpdate to Font Awesome 4.5.0
Artur Signell [Thu, 3 Dec 2015 11:55:23 +0000 (13:55 +0200)]
Update to Font Awesome 4.5.0

Change-Id: I1ac1f1ba4695f4a7738f3c613f87658d5ec3456e

8 years agoAdd keyboard shortcut to save grid editor in buffered mode (#16842)
Teemu Suo-Anttila [Mon, 28 Dec 2015 12:15:50 +0000 (14:15 +0200)]
Add keyboard shortcut to save grid editor in buffered mode (#16842)

Change-Id: I8e5d6b12a88598830a9592065ce2ac2b1b886dd2

8 years agoFix typo in release notes
Henri Sara [Wed, 23 Dec 2015 11:22:43 +0000 (13:22 +0200)]
Fix typo in release notes

Change-Id: I166afb0ebc449b57ed262e4c76e8cbb71df2c88a

8 years agoFix WidgetRenderer column cells not correctly init on change (#19086)
Teemu Suo-Anttila [Tue, 1 Dec 2015 11:54:29 +0000 (13:54 +0200)]
Fix WidgetRenderer column cells not correctly init on change (#19086)

When changing to a widget renderer with an existing column, the widget
renderer expects that the cells would be initialized to have a correct
widget for it. Because of original design where you could not change
renderers, this was not taken into account and cells did not get
reinitialized when changing the renderer.

This patch showed another underlying detach problem from removing a
widget renderer and destroying complex renderers. These both are also
addressed to make this bug possible to test correctly.

Patch includes a client-side test that verifies the integrity of the
renderer state in different stages of its lifecycle.

Change-Id: Id11da80719f5ae7687a2279bf20e467ea57ccbbc

8 years agoUpdate ticket list link in release notes 7.6.0 7.6.0.rc1
Henri Sara [Tue, 22 Dec 2015 09:01:14 +0000 (11:01 +0200)]
Update ticket list link in release notes

Change-Id: I662276679c5c0f96b23a014ecc2a8faeaf114e1d

8 years agoChange release notes for a non-prerelease
Henri Sara [Tue, 22 Dec 2015 08:38:05 +0000 (10:38 +0200)]
Change release notes for a non-prerelease

Change-Id: I6b8f1ad4f8beea31f6735e6743656936bce5dbb3

8 years agoUpdate supported versions in release notes
Henri Sara [Tue, 22 Dec 2015 08:30:42 +0000 (10:30 +0200)]
Update supported versions in release notes

Change-Id: I9376019c353f511ea799866587512ccbf1a7a584

8 years agoFix Grid sorting tests (#16838)
Henri Sara [Mon, 21 Dec 2015 14:33:44 +0000 (16:33 +0200)]
Fix Grid sorting tests (#16838)

Increase click X offset to account for wider resize handle.

Change-Id: Id638214f4a98d2476f298014c1bae0bbca6dea16

8 years agoFix GridColumnReorderTest for IE8 (#16838)
Henri Sara [Mon, 21 Dec 2015 14:24:20 +0000 (16:24 +0200)]
Fix GridColumnReorderTest for IE8 (#16838)

Use a different X offset not to hit a resize handle.

Change-Id: I6e7d4cb0ae0e9c941cb3dd2ba3e29256d6643fde

8 years agoFix GridEditorBufferedTest for (#16838)
Henri Sara [Sun, 20 Dec 2015 10:20:28 +0000 (12:20 +0200)]
Fix GridEditorBufferedTest for (#16838)

Changed cell padding affected the location of the cursor after
a click.

Change-Id: I950496eb43b8c9be1fc37f558ddd80511eb1c0c3

8 years agoDisable long tap support on iOS (#19367)
Henri Sara [Mon, 21 Dec 2015 07:48:35 +0000 (09:48 +0200)]
Disable long tap support on iOS (#19367)

Long tap causes problems in embedded browsers on iOS (text
selection is performed and/or the OS native context menu is shown).

The support should be re-enabled in the future (see #19406).

Change-Id: I842df12675482c8e529e8bb061958414cc8c0b90

8 years agoIgnore context click on resize handle (#19408)
Henri Sara [Mon, 21 Dec 2015 09:44:23 +0000 (11:44 +0200)]
Ignore context click on resize handle (#19408)

Otherwise, context clicks in the left edge of a header cell get
handled by the wrong cell.

Change-Id: I08e0c6bb62c90cc871fde7ec1d0f0a8602e5631f

8 years agoFix left padding for ComboBox inside Grid editor (#16838)
Marlon Richert [Mon, 21 Dec 2015 09:41:00 +0000 (11:41 +0200)]
Fix left padding for ComboBox inside Grid editor (#16838)

This fix applies especially to the themes Base, Chameleon and Runo.
Reindeer and Valo were already covered by earlier changes.

Filed #19407 for fixing incorrect positioning of DateField button in
Base theme.

Change-Id: Iefda0d23b93c74274ad83c60907c0198e5c2f237

8 years agoFix javadoc typo in ItemClickEvent
Henri Sara [Mon, 21 Dec 2015 09:46:37 +0000 (11:46 +0200)]
Fix javadoc typo in ItemClickEvent

Change-Id: I759999ab2e39202b4dda7eafa2cc30a64524939d

8 years agoAdd a UI for reviewing new reference screenshots
Leif Åstrand [Tue, 22 Sep 2015 11:24:58 +0000 (14:24 +0300)]
Add a UI for reviewing new reference screenshots

Change-Id: I79b953cd4620331e3892a8bd070db8f9bd076e0f

8 years agoIncrease grid column resize handle width (#16838)
Marlon Richert [Wed, 9 Dec 2015 12:33:43 +0000 (14:33 +0200)]
Increase grid column resize handle width (#16838)

Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6

8 years agoFix IE8 focus handling in Grid editor in unbuffered state (#19389)
Teemu Suo-Anttila [Wed, 16 Dec 2015 12:57:58 +0000 (14:57 +0200)]
Fix IE8 focus handling in Grid editor in unbuffered state (#19389)

Change-Id: Ia77c246239cae7b0add3c4975dfa5ffaa42d08b6

8 years agoFix empty @since tags
Henri Sara [Fri, 18 Dec 2015 11:40:38 +0000 (13:40 +0200)]
Fix empty @since tags

Change-Id: I68dd71f65091a6c5979b67c2faea9050feac2b02

8 years agoVerify Column width after all sort related cell changes (#16597)
Teemu Suo-Anttila [Thu, 17 Dec 2015 13:56:43 +0000 (15:56 +0200)]
Verify Column width after all sort related cell changes (#16597)

This fixes an IE8 issue where multisorting is not shown correctly.

Change-Id: Id68103f06baf9e3ae20cb2714407b467829ef1a0

8 years agoDisable Atmosphere online/offline handling (#19391)
Artur Signell [Thu, 17 Dec 2015 06:25:10 +0000 (08:25 +0200)]
Disable Atmosphere online/offline handling (#19391)

Atmosphere will disconnect the push connection when going offline and reconnect it
when going online again. There are no events sent when this happens, which means the
reconnect logic cannot take this into account.

Having it enabled leads to something like:

1. Browser goes offline, push is disconnected
2. Framework sees it as a normal close and does not show the reconnect dialog
3. The user does something, the framework tries to send a websocket request
4. A new Atmosphere request is created and enters a try-to-reconnect loop as expected
5. The browser goes online, and the online event re-initializes the old connection
although a try-to-reconnect loop is already running

Change-Id: I5dcef768783142e2c7b4e7c821353addb0ec3d28

8 years agoUpdate to Atmosphere 2.2.13.vaadin3 (#19391)
Artur Signell [Thu, 17 Dec 2015 06:07:09 +0000 (08:07 +0200)]
Update to Atmosphere 2.2.13.vaadin3 (#19391)

Change-Id: I80a594092d5f662120b83148cb992a9457859248

8 years agoParse true/false as boolean values for push configuration (#19394)
Artur Signell [Thu, 17 Dec 2015 06:24:22 +0000 (08:24 +0200)]
Parse true/false as boolean values for push configuration (#19394)

Change-Id: I89e99ebd552b00a1bdc79801a8236aff72b6a290

8 years agoFix Grid column resize to take account min width for cells (#16597)
Johannes Dahlström [Tue, 15 Dec 2015 13:59:55 +0000 (15:59 +0200)]
Fix Grid column resize to take account min width for cells (#16597)

Use Escalator cell size calculation without content to determine the
absolute minimum size for cells. This is used in Grid when drag resizing
or sorting columns to prevent cells from overflowing to the next row.

Change-Id: I2d598232d7d2b8729b11fe190b68ca3e42ee3652

8 years agoUpdate to Atmosphere 2.2.13.vaadin2 (#19388)
Artur Signell [Wed, 16 Dec 2015 12:35:21 +0000 (14:35 +0200)]
Update to Atmosphere 2.2.13.vaadin2 (#19388)

The new Atmosphere fixes a JS typo in "ononline" handling

Change-Id: If0a9a1b6756212d5a0232f6aaa2f4314ba1dc052

8 years agoMake it possible to only show collapsible columns in menu (#9811)
Leif Åstrand [Fri, 18 Sep 2015 11:26:50 +0000 (14:26 +0300)]
Make it possible to only show collapsible columns in menu (#9811)

Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b

8 years agoFix LegacyComponentThemeChangeTest on Chrome 47
Henri Sara [Tue, 15 Dec 2015 13:41:53 +0000 (15:41 +0200)]
Fix LegacyComponentThemeChangeTest on Chrome 47

The test uses an Embedded component with non-existent Flash content.
This does not work on Chrome 47 so this change disables that part
of the test on Chrome like it was already disabled on IE8.

Change-Id: Ie60123247ec45b2138202fccd73d794bf98e533e

8 years agoFix text selection and context click events for Android devices (#19367)
Teemu Suo-Anttila [Tue, 15 Dec 2015 11:39:12 +0000 (13:39 +0200)]
Fix text selection and context click events for Android devices (#19367)

Text and element selection needs to be disabled on touch start for
Android as well. Other touch event handling used by iOS devices is not
used on Android.

Change-Id: I7f17af437ddf4f7b747232fbd19b2cd5c825c0e2

8 years agoIgnore empty style names from Grid Row and CellStyleGenerators (#19364)
Teemu Suo-Anttila [Mon, 14 Dec 2015 12:14:18 +0000 (14:14 +0200)]
Ignore empty style names from Grid Row and CellStyleGenerators (#19364)

Change-Id: I07b241f40bcb20b92f9eea48036724dd91ecc985

8 years agoPrevent text selection on iOS devices with long tap (#19367)
Teemu Suo-Anttila [Tue, 15 Dec 2015 11:19:16 +0000 (13:19 +0200)]
Prevent text selection on iOS devices with long tap (#19367)

Text or elements should not get selected when there's a context click
listener. Pre-emptively prevent text selection for the whole widget when
that happens.

Change-Id: I3c09d8b2c25d383d6abe079f0fee3809cf5838c7

8 years agoAdd a method to clear selected text on context click (#19367)
Teemu Suo-Anttila [Fri, 11 Dec 2015 12:39:56 +0000 (14:39 +0200)]
Add a method to clear selected text on context click (#19367)

Change-Id: Id7ec7013bcff446cdf3ce0f2088cb20b0708a56b

8 years agoFix mouse wheel scrolling of ComboBox in IE11 (#16918)
Anna Koskinen [Wed, 25 Feb 2015 11:43:39 +0000 (13:43 +0200)]
Fix mouse wheel scrolling of ComboBox in IE11 (#16918)

IE11 is broken so that the simple implementation always moves up on any
mouse wheel event. Therefore, this change borrows the approach taken by
Escalator for low-level handling of mouse wheel events in a way compatible
with all supported browsers.

Change-Id: I98c89d3ccfeea38d6a454ef708f0eb7d1d3f480c

8 years agoFix RpcDataProvider listener handling on ItemSetChange (#19371)
Teemu Suo-Anttila [Mon, 14 Dec 2015 08:40:06 +0000 (10:40 +0200)]
Fix RpcDataProvider listener handling on ItemSetChange (#19371)

Old ValueChangeListeners are discarded and new ones created when an
ItemSetChange occurs. This is done to reapply the listeners to possibly
recreated Items.

Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7

8 years agoFix and extend Javadoc for setFirstDayOfWeek (#19227)
Leonid Rozenblyum [Sat, 5 Dec 2015 17:30:41 +0000 (19:30 +0200)]
Fix and extend Javadoc for setFirstDayOfWeek (#19227)

The Javadoc was incorrect saying the method goal was to set the first
day of week depending on locale. Actual main goal - to set it in
independent way.
Also extended the doc to look more complete.
Change-Id: I2c82c774f4e245437b03c0bd0246a0361584d949

8 years agoFix selecting a row that was deselected on the server (#19360)
Teemu Suo-Anttila [Fri, 11 Dec 2015 09:39:16 +0000 (11:39 +0200)]
Fix selecting a row that was deselected on the server (#19360)

Client-side connector of the SingleSelectionModel attempts to keep track
of currently selected row. This tracking gets lost when the row get
deselected on the server-side. Special case is now correctly handled.

Change-Id: I1c45548bd11536bc85cddbc2ba8b6225965c1194

8 years agoReapply DataGenerators when container changes (#19357, #19359)
Teemu Suo-Anttila [Fri, 11 Dec 2015 08:58:06 +0000 (10:58 +0200)]
Reapply DataGenerators when container changes (#19357, #19359)

Previously on container change Grid applied only its internal
DataGenerators to the new RpcDataProviderExtension. Now it goes through
all existing Extensions and adds all DataGenerators to the data
provider.

Change-Id: Idbd48e5152867b1d2b7a770741e3ea08aa4299b6

8 years agoEnable using custom overlay in VMenuBar (#19368)
Henri Sara [Fri, 11 Dec 2015 13:22:10 +0000 (15:22 +0200)]
Enable using custom overlay in VMenuBar (#19368)

This helps resolve context menu add-on issue #3 and reduce code
duplication.

Change-Id: I2a9b583d045e1654577f5a6ee3f55d8c4ab30582

8 years agoUpdate to Chrome 47
elmot [Tue, 8 Dec 2015 20:53:25 +0000 (22:53 +0200)]
Update to Chrome 47

Change-Id: Id06cb7317c107f3714336e7b2c7ba791f41e51bf

8 years agoFormat recommended git settings as code
Leif Åstrand [Thu, 3 Dec 2015 12:44:32 +0000 (14:44 +0200)]
Format recommended git settings as code

Change-Id: If392ebe303573aa74334923824e3566d943cda94

8 years agoRevert "Merge branch 'documentation'" 7.6.0.beta2
Ilia Motornyi [Thu, 3 Dec 2015 14:59:05 +0000 (14:59 +0000)]
Revert "Merge branch 'documentation'"

This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00.

Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf

8 years agoRevert "BoV 7.6 update - Grid (#19317)"
Ilia Motornyi [Thu, 3 Dec 2015 14:58:15 +0000 (14:58 +0000)]
Revert "BoV 7.6 update - Grid (#19317)"

This reverts commit a20e5be94fc13058a61ff27c1398052828c00d7b.

Change-Id: I0a7d02b9b13d1eabf3b0360a7b86def8fa974009

8 years agoBoV 7.6 update - Grid (#19317)
elmot [Fri, 27 Nov 2015 16:26:21 +0000 (18:26 +0200)]
BoV 7.6 update - Grid (#19317)

Change-Id: I7bd41d656a5ed39e24beea4111d9a48de4ef37b5

8 years agoMerge "Merge branch 'documentation'"
elmot [Thu, 3 Dec 2015 14:36:51 +0000 (14:36 +0000)]
Merge "Merge branch 'documentation'"

8 years agoCheck for optimizations when looking for missing updates (#18317)
Leif Åstrand [Thu, 3 Dec 2015 11:10:25 +0000 (13:10 +0200)]
Check for optimizations when looking for missing updates (#18317)

A recently merged patch leaves out information from hierarchyInfo for
empty connectors with state changes. This must be taken into account
when looking for disappeared connectors that do not cause any hierarchy
change to be sent.

Change-Id: I9ae7150341a83798141d0a2806ee81cafe7c2f9a

8 years agoRemove VOverlay dependency and use PopupPanel instead in Grid (#18698)
Teemu Suo-Anttila [Tue, 24 Nov 2015 09:35:35 +0000 (11:35 +0200)]
Remove VOverlay dependency and use PopupPanel instead in Grid (#18698)

Change-Id: Id28a9fa8a204c1e2a12160e2e1dba1823f3726a5

8 years agoAdd missing @since values
Henri Sara [Wed, 2 Dec 2015 13:26:29 +0000 (15:26 +0200)]
Add missing @since values

Change-Id: I602b9fc4c87a19a78f949a23519c412aba789baa

8 years agoDetect hierarchy changes not sent to the client (#18317)
Leif Åstrand [Fri, 19 Jun 2015 12:34:29 +0000 (15:34 +0300)]
Detect hierarchy changes not sent to the client (#18317)

Change-Id: I77b420738738a42ff50e2a509e4ac4072b1b6e1f

8 years agoUpgrade Sass compiler to 0.9.13
Henri Sara [Wed, 2 Dec 2015 08:41:59 +0000 (10:41 +0200)]
Upgrade Sass compiler to 0.9.13

Change-Id: I7caefc58a1b41f726b039b1e230fd3d2e931a2c3

8 years agoImprove BuildDemos exception handling
Teemu Suo-Anttila [Wed, 2 Dec 2015 10:50:06 +0000 (12:50 +0200)]
Improve BuildDemos exception handling

Change-Id: Iee29e3686a60c889e6bffa7ffe0a447f14d7afa2

8 years agoGet revision numbers for tagging from TeamCity
Henri Sara [Wed, 2 Dec 2015 10:32:47 +0000 (12:32 +0200)]
Get revision numbers for tagging from TeamCity

Optionally get revision numbers to tag from TeamCity.

If no revision numbers are given, a placeholder is used in the
generated script.

Change-Id: Ic266a22e06fd470e2c2e0647b8d83870ffc650ab

8 years agoFail during compile if required methods are missing (#18924)
Leif Åstrand [Fri, 18 Sep 2015 08:27:18 +0000 (11:27 +0300)]
Fail during compile if required methods are missing (#18924)

A ComponentConnector must override either getWidget or createWidget for
the framework to know the type of the component's widget. Similarly
either getRenderer och createRenderer must be overridden for
AbstractRendererConnector.

Prior to this patch, the compilation succeeded when critical methods
were missing - the user just got various hard-to-debug issues when the
broken connector was used.

Change-Id: I6ec07e2f1c1b15047802e64208485b1d999c0aee

8 years agoPrevent column drag resize from setting selection column width (#19324)
Teemu Suo-Anttila [Mon, 30 Nov 2015 12:28:58 +0000 (14:28 +0200)]
Prevent column drag resize from setting selection column width (#19324)

Change-Id: Ifd7a225ac8037a86e4a15603bf47ca93009fa302

8 years agoFix select all checkbox state update with low row count (#19322)
Teemu Suo-Anttila [Mon, 30 Nov 2015 11:39:28 +0000 (13:39 +0200)]
Fix select all checkbox state update with low row count (#19322)

Change-Id: Ifbaeb2db18ecb6657ae839fec90dbfcaa99be4ac

8 years agoUnify select all behavior with single row selection. (#17742)
Sauli Tähkäpää [Sat, 29 Aug 2015 20:00:21 +0000 (23:00 +0300)]
Unify select all behavior with single row selection. (#17742)

Change-Id: I6481bf6f429046166dd0502a62b22aea51f5a0bd

8 years agoUpgrade to Atmosphere-js 2.2.13-vaadin1 (#19323)
Johannes Dahlström [Thu, 26 Nov 2015 12:35:29 +0000 (14:35 +0200)]
Upgrade to Atmosphere-js 2.2.13-vaadin1 (#19323)

Fixes at least #19201.

Change-Id: I284c93e6b47ea916a991c8c2b495823cb86ebfce

8 years agoRemove bogus comment
Leif Åstrand [Mon, 30 Nov 2015 07:52:39 +0000 (09:52 +0200)]
Remove bogus comment

The comment was introuced in commit da29f74 for a constant named
CLICK_EVENT_ID, but it was accidentally left in the code when that
constant was removed.

Change-Id: I69697f517585cafb30cc223497bc8db4a919e884

9 years agoAdd stylename to sortable Table header cells (#8219)
Leif Åstrand [Thu, 19 Nov 2015 12:31:46 +0000 (14:31 +0200)]
Add stylename to sortable Table header cells (#8219)

Change-Id: I4774b4079f5c564fdc67e8cabf89278ad7cf2f6f

9 years agoRepackage spinner.gif to reduce size
Teemu Suo-Anttila [Thu, 26 Nov 2015 13:31:02 +0000 (15:31 +0200)]
Repackage spinner.gif to reduce size

Change-Id: I44c38cdcf33de7b08e1e1d038b81ec9e68fe465a

9 years agoUse wider age column in GridThemeUI
Teemu Suo-Anttila [Thu, 26 Nov 2015 08:41:12 +0000 (10:41 +0200)]
Use wider age column in GridThemeUI

This patch is to test the theme, and not testing a defect (#16597).
Testing with defective screenshots causes problems if the defect is at a
later point fixed.

Change-Id: I3a20d0c6ab79c812752ee5d2765d91a2304e6d0e

9 years agoFix GridMultiSortingTest click coordinates to avoid column resize
Teemu Suo-Anttila [Wed, 25 Nov 2015 14:16:36 +0000 (16:16 +0200)]
Fix GridMultiSortingTest click coordinates to avoid column resize

Change-Id: I79da24a71576fb91db5366afe1dfc17edc7c86f9

9 years agoFix setSelected in MultiSelectionModel to update row data (#19302)
Teemu Suo-Anttila [Wed, 25 Nov 2015 10:20:24 +0000 (12:20 +0200)]
Fix setSelected in MultiSelectionModel to update row data (#19302)

Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa

9 years agoAdd stylename to sortable Grid header cells (#16991)
Leif Åstrand [Thu, 19 Nov 2015 13:10:56 +0000 (15:10 +0200)]
Add stylename to sortable Grid header cells (#16991)

Change-Id: I6c151829236928129c258a99177431d0b972f146

9 years agoSet session as current while deserializing (#9953)
Leif Åstrand [Mon, 26 Oct 2015 15:44:44 +0000 (15:44 +0000)]
Set session as current while deserializing (#9953)

Change-Id: Ib420f99c621b7d508659907615a7e8a1ae47b4d9

9 years agoIgnore log file created in some cases
Leif Åstrand [Mon, 14 Sep 2015 18:17:51 +0000 (21:17 +0300)]
Ignore log file created in some cases

Change-Id: I74e1a52d138c9fdfaf15b227261f2977b13289d9

9 years agoFix javadoc copied from CellStyleGenerator
Leif Åstrand [Wed, 9 Sep 2015 10:22:05 +0000 (13:22 +0300)]
Fix javadoc copied from CellStyleGenerator

Change-Id: I305c0aaeba04c4c1416ecebd708f377f8f28f4a1

9 years agoOmit empty hierarchy data from the response (#18510)
Leif Åstrand [Sat, 25 Jul 2015 09:14:30 +0000 (12:14 +0300)]
Omit empty hierarchy data from the response (#18510)

Reduces the payload size for the "Update all labels" action with 40
layouts in BasicPerformanceTest by 16% (from 11087 to 9270 bytes). The
reduction is improved to 22% (1855 to 1455) if the response is gzipped
since the omited data doesn't compress very well.

Change-Id: I1d2837c93222fffa59b14836f162e3e87349e086

9 years agoAdd comment explaining the dummy read in setStyleTemporarily
Leif Åstrand [Tue, 24 Nov 2015 13:32:49 +0000 (15:32 +0200)]
Add comment explaining the dummy read in setStyleTemporarily

Change-Id: I763f3c68a3c9e471f9e5df21bbfbce41be17117c

9 years agoMove capability handling from MultiBrowserTest to super class
Teemu Suo-Anttila [Thu, 5 Nov 2015 14:12:00 +0000 (16:12 +0200)]
Move capability handling from MultiBrowserTest to super class

Capabilities should be set the same way in SingleBrowserTests as well,
not just MultiBrowserTests.

Change-Id: Ifed8534b87bbe45fd90fe0e7110e26a5344c5540

9 years agoFix some TB2 tests for Calendar (#19227)
Henri Sara [Mon, 16 Nov 2015 12:13:32 +0000 (14:13 +0200)]
Fix some TB2 tests for Calendar (#19227)

Fix the commands in some TB2 tests broken by the test change
from #19227.
Screenshots of several calendar tests including these also
need to be updated.

Change-Id: I3bb000fccb9772ffe5be4ceebb599cc7c1f9697f

9 years agoMerge branch 'documentation'
elmot [Mon, 23 Nov 2015 12:56:59 +0000 (14:56 +0200)]
Merge branch 'documentation'

Change-Id: I6ef85a35077e6278831b968595c068898cee2770

9 years agoAdd javadoc in ServerConnector
Henri Sara [Mon, 23 Nov 2015 10:23:12 +0000 (12:23 +0200)]
Add javadoc in ServerConnector

Add missing javadoc for ServerConnector.get/setChildren().

Change-Id: I7ba143d41602a5f2a069635911a0ea61a92806e6

9 years agoTypo in setCompositionRoot description
cbmeeks [Thu, 20 Aug 2015 17:24:54 +0000 (13:24 -0400)]
Typo in setCompositionRoot description

Change-Id: I26bbf29742ab42e2c9c4025a3cf92029a4c191e3

9 years agofixed missing image in datamodel/datamodel-overview.asciidoc
Jens Jansson [Tue, 13 Oct 2015 07:14:01 +0000 (10:14 +0300)]
fixed missing image in datamodel/datamodel-overview.asciidoc

Change-Id: I376fc5ebe1a9ef65fa6c84bb5d84d41cbc785183

9 years agoAdd space before section links
Leif Åstrand [Wed, 7 Oct 2015 06:12:38 +0000 (09:12 +0300)]
Add space before section links

Change-Id: I59a3d756a26270119d40940d3e61bbab61f0db14

9 years agoIsolate text selection blocking to Grid instead of body element (#16838)
Teemu Suo-Anttila [Fri, 20 Nov 2015 10:26:21 +0000 (11:26 +0100)]
Isolate text selection blocking to Grid instead of body element (#16838)

Some themes are more explicit with user-select rules, and doing this on
the level of body element does not work with said themes. To make all
the themes behave the same way, we only block selection inside of Grid.

Change-Id: Iaf24fede88e4bc683e065c214e7baf3f545c99c9

9 years agoPrevent text selection while DnD resizing columns (#16838)
Teemu Suo-Anttila [Wed, 18 Nov 2015 10:46:23 +0000 (11:46 +0100)]
Prevent text selection while DnD resizing columns (#16838)

This patch uses a JavaScript workaround to prevent text selection in IE8
and IE9 and Safari.

The selection is prevented everywhere in the DOM while a column is
resizing.

Change-Id: I1e7b9cdc675c83a9666493d8545337d601e40077

9 years agoRemove border on immediate child cells only on Valo. (#18787)
Sauli Tähkäpää [Sun, 6 Sep 2015 10:48:57 +0000 (13:48 +0300)]
Remove border on immediate child cells only on Valo. (#18787)

Change-Id: I87825ea46fbcea98b054d3dc2eb3fe80781a9d48

9 years agoSupport on-the-fly compiled CSS hot reload from classpath (#16949)
Vladimir Kulev [Mon, 16 Nov 2015 22:40:27 +0000 (00:40 +0200)]
Support on-the-fly compiled CSS hot reload from classpath (#16949)

Change-Id: Iadb9b23697c162705d99a7b9b7fd992766d39b19

9 years agoAdd missing export declaration to the manifest of vaadin-push.jar (#18190)
Markus Koivisto [Mon, 16 Nov 2015 13:35:42 +0000 (15:35 +0200)]
Add missing export declaration to the manifest of vaadin-push.jar (#18190)

Change-Id: I2874d3a065ad825e40e71c0167fc9ffb48ee1f5d

9 years agoUse TabState.id for Accordion tab items as well (#18456)
pag [Fri, 13 Nov 2015 16:10:45 +0000 (17:10 +0100)]
Use TabState.id for Accordion tab items as well (#18456)

Change-Id: I17206081109b2ec356d175915a16b0002a858bb4

9 years agoAdd some performance guidance to renderer javadocs.
Leif Åstrand [Fri, 13 Nov 2015 08:58:35 +0000 (10:58 +0200)]
Add some performance guidance to renderer javadocs.

Change-Id: I5171c6eb6360a9c85b8afbc3096d9b6c5c8f4064

9 years agoMention cell being a flyweight in WidgetRenderer javadocs
Leif Åstrand [Fri, 13 Nov 2015 07:22:34 +0000 (09:22 +0200)]
Mention cell being a flyweight in WidgetRenderer javadocs

Change-Id: I41de3d75e1141856bb6132aeca11abff4bc7e08f

9 years agoDo not modify state while serializing (#19090)
Artur Signell [Fri, 9 Oct 2015 20:44:47 +0000 (23:44 +0300)]
Do not modify state while serializing (#19090)

Serializing an object should never modify its internal state.
It should be possible to serialize an object multiple times and get
the same result

Change-Id: I983e2eec1b3fb374bf40f150bdb9918ac5791d62

9 years agoFix outdated javadoc reference
Leif Åstrand [Wed, 11 Nov 2015 12:16:42 +0000 (12:16 +0000)]
Fix outdated javadoc reference

Change-Id: I0bfae621ca71df02e5e19c33d4c21498fa86616c

9 years agoSpecify custom first day of week for Calendar #19227
Leonid Rozenblyum [Wed, 4 Nov 2015 10:18:46 +0000 (12:18 +0200)]
Specify custom first day of week for Calendar #19227

Added possibility to provide first day of week independent of Locale.
(the Calendar code has been reformatted according to Eclipse 'Save
action'). Unit-tests added. UI test extended.

Change-Id: I3e3531228c139ce2014a1227e47c12e7896a6f87

9 years agoAdd destroy method for Navigator (#10213).
Denis Anisimov [Sun, 5 Oct 2014 10:29:25 +0000 (13:29 +0300)]
Add destroy method for Navigator (#10213).

Change-Id: Icb2676bd603bbe36a8d7d005128036234a5a0c62

9 years agoOptimize layout performance of Table (#17947)
jotatu [Fri, 7 Aug 2015 11:45:50 +0000 (14:45 +0300)]
Optimize layout performance of Table (#17947)

Adds functions for skipping child component layout measuring.
Removes unnecessary code from VScrollTable.

1. case: no components

- render time without the fix: ~105ms
- render time with fix: ~105ms

2. case: 2 button and 2 textfield cols

- render time without the fix: ~279ms
- render time with fix: ~240ms (~17% faster)

3. case: 3 button and 3 textfield cols

- render time without the fix: ~350ms
- render time with fix: ~281ms (~20% faster)

Change-Id: I6025f8ee2fd438d228ff3b65f43535961cf12c0b

9 years agoTest for table column hiding and sizes (#12303)
Ilya Ermakov [Fri, 5 Dec 2014 10:14:32 +0000 (13:14 +0300)]
Test for table column hiding and sizes (#12303)

Test to verify that the column width is not changed when toggling
its visibility.

Change-Id: I48c62b72bf7e66740ec516d43bc9b5995c1fefb4

9 years agoRender null header caption as empty (#18553)
Artur Signell [Wed, 2 Sep 2015 17:45:30 +0000 (20:45 +0300)]
Render null header caption as empty (#18553)

Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d

9 years agoChanged grid sidebar to overlay (#18698)
mtzukanov [Thu, 15 Oct 2015 10:47:23 +0000 (13:47 +0300)]
Changed grid sidebar to overlay (#18698)

Previously grid sidebar could be partially hidden by
"overflow: hidden" of an ancestor component.
Now it's in an overlay and the hierarchy doesn't affect it.
Grid tests were also updated for new DOM structure.

Change-Id: Ic5fb125d9c097be0f0141c121dfe74d30e650dd0

9 years agoForce FormLayout children to shrink with the layout (#11154)
Leif Åstrand [Fri, 28 Aug 2015 18:47:26 +0000 (21:47 +0300)]
Force FormLayout children to shrink with the layout (#11154)

The <table> used by the FormLayout doesn't reduce its size if any child
component has locked its own size (which is the case with e.g. Table and
some other components doing explicit pixel calculations). To work around
this, we need to detect the situation, force the <table> to reduce its
width by temporarily assigning explicit widths to the cells and then
remove the forced size after all children have adjusted.

Change-Id: Iacef62979acf24c869a5cbeb82efb0c1e537ec95

9 years agoMention quirks with JavaScript "this" in AbstractJavaScript* javadocs
Leif Åstrand [Mon, 26 Oct 2015 16:13:54 +0000 (16:13 +0000)]
Mention quirks with JavaScript "this" in AbstractJavaScript* javadocs

Change-Id: I512b861c65f8c0f6c6e8f684cb933cbcc20cdb99