]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoDo not process click events for disabled optiongroups (#19433)
Artur Signell [Sat, 16 Jan 2016 11:02:45 +0000 (13:02 +0200)]
Do not process click events for disabled optiongroups (#19433)

This removes the warning logged on the server side when the RPC reaches it
for the disabled component. As this is more of a cosmetic change, there is
no automatic test.

Change-Id: Ia010c07fe277411a6ea3edcacb7a016d66b6807f

8 years agoPropertly handle null in StringToCollectionConverter (#19481)
Artur Signell [Sun, 17 Jan 2016 12:03:53 +0000 (14:03 +0200)]
Propertly handle null in StringToCollectionConverter (#19481)

Change-Id: Ief6f899d6c0fec103213c5f679a178555740c553

8 years agoAllow legacy components to paint infinity double values again (#19447)
Artur Signell [Sat, 16 Jan 2016 11:11:22 +0000 (13:11 +0200)]
Allow legacy components to paint infinity double values again (#19447)

JsonPaintTarget.addAttribute(String,double) converts infinity values to
{ "name": Infinity }. This is not valid JSON but has "always worked" and
at least NumberField relies on being able to send infinity values.

For state and RPC it's not possible to send 'infinity' as JsonNumber
converts those to null.

It is not possible to send 'infinity' back to the server using a legacy
variable either as also in this case JsonNumber is used and the value becomes
null.

This fix should be reverted when legacy variable support is removed.

Change-Id: I19d17368f9da97a81fc9f780749dc4f0a8d3ee9b

8 years agoTest for selection after container reset (#19469, #19465)
Artur Signell [Sun, 17 Jan 2016 17:15:48 +0000 (19:15 +0200)]
Test for selection after container reset (#19469, #19465)

Change-Id: I1a0ea4bb05a2cb1c1fea90722bf416381da4f4b9

8 years agoRemove out of date javadoc (#19454)
Artur Signell [Thu, 14 Jan 2016 07:21:12 +0000 (09:21 +0200)]
Remove out of date javadoc (#19454)

Change-Id: I594c865fb3906ff87f372a89188c80209025a119

8 years agoCorrectly include base theme for font support (#19470)
Artur Signell [Thu, 14 Jan 2016 18:47:45 +0000 (20:47 +0200)]
Correctly include base theme for font support (#19470)

Change-Id: Icc8c3c2c1acfeb9b968085a28d087eb62ae6d467

8 years agoClean up SingleSelectionModel client-side on data source change (#19469)
Teemu Suo-Anttila [Wed, 13 Jan 2016 15:26:50 +0000 (17:26 +0200)]
Clean up SingleSelectionModel client-side on data source change (#19469)

Change-Id: Ida6a093121663731853404598e8b382969101850

8 years agoFix demo and archetype build scripts to deploy all wars at once
Teemu Suo-Anttila [Wed, 13 Jan 2016 10:01:40 +0000 (12:01 +0200)]
Fix demo and archetype build scripts to deploy all wars at once

Change-Id: I52c75ae901142c18b634707f180c102ea4091016

8 years agoAdd clarifying comment to CustomDetailsGenerator
Teemu Suo-Anttila [Tue, 12 Jan 2016 15:29:44 +0000 (17:29 +0200)]
Add clarifying comment to CustomDetailsGenerator

Change-Id: I05cb9723c8fb896f2ea6d306e12ef862ce940778

8 years agoUse LayoutManager for details rows (#18821, #18619)
Leif Åstrand [Mon, 30 Nov 2015 12:38:25 +0000 (14:38 +0200)]
Use LayoutManager for details rows (#18821, #18619)

Change-Id: I444b0f3ad76703ec64a4bb998cfd19b79c1d0a15

8 years agoAdd missing @since for 7.6.1 7.6.1
Teemu Suo-Anttila [Tue, 12 Jan 2016 15:27:49 +0000 (17:27 +0200)]
Add missing @since for 7.6.1

Change-Id: I3a52dbf2138894b19e79b18fa4da04ed6c922c39

8 years agoAdd a simple waitForApplication for servlet integration tests
Teemu Suo-Anttila [Tue, 12 Jan 2016 11:36:02 +0000 (13:36 +0200)]
Add a simple waitForApplication for servlet integration tests

This waitForApplication checks if an UI element exists on the page. If
not, then it will wait 10 seconds in order for it to appear. This should
reduce the amount of false negatives in server tests.

Change-Id: I9409f5a9ebcaa5511e7a250f49070f38cad2ff5e

8 years agoSplit VOverlay functionality to a new base class (#19347)
Teemu Suo-Anttila [Thu, 7 Jan 2016 15:20:13 +0000 (17:20 +0200)]
Split VOverlay functionality to a new base class (#19347)

This fixes the missing z-index for the Grid popup.

Change-Id: I775d7b60c4035bc2cada0f59f1d01cba2e7b98eb

8 years agocheckstyle configuration contains invalid module RedundantThrows (#18941)
Andreas Höhmann [Sun, 20 Sep 2015 15:39:53 +0000 (17:39 +0200)]
checkstyle configuration contains invalid module RedundantThrows (#18941)

just removed module "RedundantThrows" from vaadin-checkstyle.xml

Change-Id: I591838041967cd10f782ea037e9ba6388e4fe665

8 years agoUse simple date format for BasicCrudGridEditorRow test UI
Teemu Suo-Anttila [Fri, 8 Jan 2016 14:23:32 +0000 (16:23 +0200)]
Use simple date format for BasicCrudGridEditorRow test UI

This patch also forces locales to US for all the date formats to avoid
issues on different default locales.

Change-Id: I6f59e3c7d8ef175304d1f3e0fff7fab04ca14c8c

8 years agoConvert ComboBoxItemIcon test to TB4
Henri Sara [Fri, 8 Jan 2016 12:03:37 +0000 (14:03 +0200)]
Convert ComboBoxItemIcon test to TB4

Change-Id: I2bf81afbbd710b81ce8c907777b8baa873ccf758

8 years agoConvert TableContextMenuAndIcons test to TB4
Henri Sara [Fri, 8 Jan 2016 12:48:03 +0000 (14:48 +0200)]
Convert TableContextMenuAndIcons test to TB4

Change-Id: If30cff49c2ad81be95c0551139c58d598959ced5

8 years agoFix ScrollbarBundle to not round down pixel values (#19421)
Teemu Suo-Anttila [Thu, 7 Jan 2016 13:45:26 +0000 (15:45 +0200)]
Fix ScrollbarBundle to not round down pixel values (#19421)

Since Escalator now uses subpixels in most cases, scrollbar calculation
fails when ScrollbarBundle calls Math.floor for the offset size. Removed
rounding, added a pixel epsilon check that we don't make a scrollbar
when it's not really needed.

Change-Id: I779e678a7f7a22b367e8329aa17e5980fde42fba

8 years agoFix DateFormat for Editor tests as well
Teemu Suo-Anttila [Thu, 7 Jan 2016 15:46:56 +0000 (17:46 +0200)]
Fix DateFormat for Editor tests as well

Change-Id: I35925bb542a8991184b7ae91b4a7d9c8d5bf5ee2

8 years agoFix GridThemeUI to use more stable date format
Teemu Suo-Anttila [Thu, 7 Jan 2016 12:47:56 +0000 (14:47 +0200)]
Fix GridThemeUI to use more stable date format

Change-Id: Ia7b3e5bab5c1fd12da1c72f78af9e79001a9e450

8 years agoAlways stick Grid column resize handle to the right edge (#19409)
Johannes Dahlström [Mon, 4 Jan 2016 13:05:59 +0000 (15:05 +0200)]
Always stick Grid column resize handle to the right edge (#19409)

Change-Id: Id9d667257e10d989dd7bda8032a69720f08174ac

8 years agoSupport non-AbstractFieldConnector fields with Grid Editor (#19440)
Teemu Suo-Anttila [Tue, 5 Jan 2016 14:26:22 +0000 (16:26 +0200)]
Support non-AbstractFieldConnector fields with Grid Editor (#19440)

Change-Id: I401b04a2722f6659530e3d91e396993c11bc54ce

8 years agoAlways set header/footer style name to TH (#19209)
Artur Signell [Wed, 30 Dec 2015 08:51:38 +0000 (10:51 +0200)]
Always set header/footer style name to TH (#19209)

Change-Id: I0031941b032534902e6591320fa2ae340ec67b73

8 years agoConnectorHierarchyChangeEvent.getParent() should return the connector (#18525)
Artur Signell [Mon, 3 Aug 2015 11:09:24 +0000 (14:09 +0300)]
ConnectorHierarchyChangeEvent.getParent() should return the connector (#18525)

Change-Id: If51326a5d7c80bfa2f1edfdd266ddae396de3e4c

8 years agoFixes exception when enter is pressed and there is nothing to select (#19149)
Artur Signell [Fri, 1 Jan 2016 10:02:06 +0000 (12:02 +0200)]
Fixes exception when enter is pressed and there is nothing to select (#19149)

Change-Id: Ib6fd1d02b15f738a34b91adbb50c8d70844e5bad

8 years agoAdd a client-side connector for DetailsComponentManager (#19412)
Teemu Suo-Anttila [Tue, 22 Dec 2015 12:30:11 +0000 (14:30 +0200)]
Add a client-side connector for DetailsComponentManager (#19412)

Change-Id: Ieaa6589f93c01cf4ff9e036171fe1dc33c902b20

8 years agoFix NPE in Label.writeDesign with NULL values #19434
John Ahlroos [Mon, 4 Jan 2016 12:42:05 +0000 (14:42 +0200)]
Fix NPE in Label.writeDesign with NULL values #19434

Change-Id: I2ada7a68177ef053ac22682bc17e90dc6ec0515a

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