]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
8 years agoIntroduce root pom.xml to ease building with maven
Teemu Suo-Anttila [Tue, 15 Mar 2016 15:20:34 +0000 (17:20 +0200)]
Introduce root pom.xml to ease building with maven

Change-Id: Ib1252575da642074441818fda0f3946df300aa64

8 years agoMigrate vaadin-server build to maven
Teemu Suo-Anttila [Thu, 10 Mar 2016 20:40:51 +0000 (22:40 +0200)]
Migrate vaadin-server build to maven

Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e

8 years agoFix classpath and missing push ivy.xml to avoid workspace issues
Teemu Suo-Anttila [Thu, 10 Mar 2016 18:48:06 +0000 (20:48 +0200)]
Fix classpath and missing push ivy.xml to avoid workspace issues

Change-Id: I02880744637efc5703c08d0337b92afa96b4340d

8 years agoMigrate vaadin-shared build to maven
Teemu Suo-Anttila [Wed, 9 Mar 2016 15:19:39 +0000 (17:19 +0200)]
Migrate vaadin-shared build to maven

Change-Id: I4ddc5050874faeb091740ac5ab4f9cafecf5696b

8 years agoUse Maven to build vaadin-push
Henri Sara [Fri, 26 Feb 2016 13:10:26 +0000 (15:10 +0200)]
Use Maven to build vaadin-push

Change-Id: I244182abfe3b72c59786b520eafb663b5c1e5918

8 years agoFixed critically broken comment blocks, broken emphasis and escaping, and some other...
Marko Gronroos [Thu, 11 Feb 2016 17:48:45 +0000 (19:48 +0200)]
Fixed critically broken comment blocks, broken emphasis and escaping, and some other formatting, and moved book preface, chapter structure, and index to the docs repository.

Change-Id: If9299da4415f3181d59b8384e5ac96f940bd5229

8 years agoAdd missing @since for 7.6.3
elmot [Tue, 16 Feb 2016 14:31:49 +0000 (16:31 +0200)]
Add missing @since for 7.6.3

Change-Id: Iccd7f1e00a245a1ba5572f4086a55bdbe40218c9

8 years agoPrevent HTTP Response splitting in case the server doesn't (#19611)
Leif Åstrand [Wed, 10 Dec 2014 08:49:45 +0000 (10:49 +0200)]
Prevent HTTP Response splitting in case the server doesn't (#19611)

Prevent user-provided input used in the redirect from containing newline
characters as the user agent would interpret subsequent parts of the
input as additional headers or the actual HTTP payload.

At least modern versions of Tomcat and Jetty already protect against
this kind of attack by escaping received header values, but that is not
necessarily the case for older versions or other servlet engines.

See https://www.owasp.org/index.php/HTTP_Response_Splitting for details.

Change-Id: If4b9bf5fba953073de49c1ab1cba8e5e6bc8e546

8 years agoFix Editor trying to detach save and cancel buttons when unbuffered
Teemu Suo-Anttila [Tue, 16 Feb 2016 06:33:59 +0000 (08:33 +0200)]
Fix Editor trying to detach save and cancel buttons when unbuffered

This is a fix to an regression in some grid patch.

Change-Id: Ibd35d7a06f0e0b15e854bf036ccfb7f462e2d37f

8 years agoLock session during deserialization (#19310)
Leif Åstrand [Sun, 14 Feb 2016 10:17:10 +0000 (12:17 +0200)]
Lock session during deserialization (#19310)

Change-Id: I0f0c029d6de88b74bae1c7253b7665d5570e3767

8 years agoFix AbstractRemoteDataSource cache clean up on remove (#19482)
Teemu Suo-Anttila [Thu, 4 Feb 2016 11:11:36 +0000 (13:11 +0200)]
Fix AbstractRemoteDataSource cache clean up on remove (#19482)

Change-Id: Ib9fc54ef018afe7f571204aba41182333b77c47f

8 years agoFix Components cleanup on Header/FooterRow remove in Grid (#19497)
Teemu Suo-Anttila [Fri, 22 Jan 2016 12:23:55 +0000 (14:23 +0200)]
Fix Components cleanup on Header/FooterRow remove in Grid (#19497)

Change-Id: I596d0cc13b782398b4c5c8338b8370e69862ea88

8 years agoFix NPE if stopping navigation in onBeforeUnload (#19541)
Artur Signell [Sun, 7 Feb 2016 17:23:29 +0000 (19:23 +0200)]
Fix NPE if stopping navigation in onBeforeUnload (#19541)

Change-Id: Idcba5ceeff9df88a4ea7fe6b34e2e2537b7ee58c

8 years agoTest using Wildfly 10 (#19565)
Artur Signell [Sun, 7 Feb 2016 15:05:01 +0000 (17:05 +0200)]
Test using Wildfly 10 (#19565)

Change-Id: Ife0d04d197c10a609c90e257c106a581b2be4c42

8 years agoFix Grid DetailsGenerator being removed on Container change (#19593)
Teemu Suo-Anttila [Fri, 12 Feb 2016 07:35:41 +0000 (09:35 +0200)]
Fix Grid DetailsGenerator being removed on Container change (#19593)

Change-Id: Ied328804260b1a7bb35093fca1d972735559cf41

8 years agoFix NPE on column width detection in TreeTable and RowGenerator (#19437)
Teemu Suo-Anttila [Mon, 18 Jan 2016 11:52:14 +0000 (13:52 +0200)]
Fix NPE on column width detection in TreeTable and RowGenerator (#19437)

Change-Id: I7ed03d34124dda839bddc2507274a63b1e22f05f

8 years agoUpdate themes-compiling.asciidoc.
Matti Tahvonen [Sun, 24 Jan 2016 20:35:30 +0000 (22:35 +0200)]
Update themes-compiling.asciidoc.

Adding tip about non-compiling theme, re-phrased other on-the-fly compilation
instructions.

Change-Id: I196235823ba95723e3a7436c075cb7e9ee9951be

8 years agoFix removing extension from a connector that is not its parent (#19569)
Teemu Suo-Anttila [Mon, 8 Feb 2016 14:42:00 +0000 (16:42 +0200)]
Fix removing extension from a connector that is not its parent (#19569)

Change-Id: I0201c2dc94cd50d09931d54bb9e18893e6737d9c

8 years agoOpen editor deferred to allow column size calculations on init (#19488)
Teemu Suo-Anttila [Tue, 19 Jan 2016 21:43:07 +0000 (23:43 +0200)]
Open editor deferred to allow column size calculations on init (#19488)

Change-Id: I6c7e8ba462345bad8d6d185b0a3160ae82726f46

8 years agoFix Editor overlay position when footer is displayed on top (#19491)
Teemu Suo-Anttila [Tue, 19 Jan 2016 18:46:05 +0000 (20:46 +0200)]
Fix Editor overlay position when footer is displayed on top (#19491)

Change-Id: Ifffe66c8a872fe3625cf8c60115b172610b6e9b5

8 years agoMake project Java 8 compatible
Artur Signell [Wed, 20 Jan 2016 14:29:18 +0000 (16:29 +0200)]
Make project Java 8 compatible

Change-Id: I875e152b8851d7b962be47f369c1f6b483193260

8 years agoSpecify the license of the documentation in the LICENSE file.
Jonatan Kronqvist [Tue, 19 Jan 2016 12:22:36 +0000 (14:22 +0200)]
Specify the license of the documentation in the LICENSE file.

Added a mention that the license of the documentation is CC-BY-ND
and not Apache 2.0, as the other contents of the repository.

Change-Id: If74ac2abbff2d6eea10d0f1f17ef1f1cc60e98d9

8 years agoFix a broken link to cdi-tutorial
Grzegorz Solecki [Tue, 2 Feb 2016 16:00:14 +0000 (16:00 +0000)]
Fix a broken link to cdi-tutorial

Change-Id: I49c0566a40f0c58a37435ff7b12d0a349849712b

8 years agoAdded JavaDoc for PropertyId
Matti Tahvonen [Sun, 24 Jan 2016 19:19:08 +0000 (21:19 +0200)]
Added JavaDoc for PropertyId

Change-Id: I78d14f3936b4a01f1decd079eb4ac4010a5635d2

8 years agoChrome version updated
elmot [Mon, 1 Feb 2016 13:35:41 +0000 (15:35 +0200)]
Chrome version updated

Change-Id: I5d8167cb1126858764b9108d31ac4be4cdae98cb

8 years agoMake hiding/showing components in grid header/footer work (#19297)
Artur Signell [Sat, 16 Jan 2016 17:44:26 +0000 (19:44 +0200)]
Make hiding/showing components in grid header/footer work (#19297)

Change-Id: Iebe1135e26f2f6fae98befb7c42e3c0fdb18c13b

8 years agoAdd missing @since for 7.6.2
elmot [Thu, 28 Jan 2016 17:26:42 +0000 (19:26 +0200)]
Add missing @since for 7.6.2

Change-Id: I6f33dcdc4785b8e73f768abfe955fba178bd9c76

8 years agoFix GeneratedPropertyContainer with non-Sortable Containers (#19511)
Artur Signell [Mon, 25 Jan 2016 13:02:32 +0000 (15:02 +0200)]
Fix GeneratedPropertyContainer with non-Sortable Containers (#19511)

Adds a missing throw to sort method and fixes
getSortableContainerPropertyIds to return an empty collection if not
sortable.

Change-Id: I5df34234867762ce88e181a10ec015cd0336cd39

8 years agoAdded source code types to code listings
Marko Grönroos [Mon, 25 Jan 2016 12:49:37 +0000 (14:49 +0200)]
Added source code types to code listings

Change-Id: I2f94f2f1602fe252524016930c7c64ac970b545a

8 years agoFixed formatting in built-in filter types list
Marko Grönroos [Mon, 25 Jan 2016 09:30:02 +0000 (11:30 +0200)]
Fixed formatting in built-in filter types list

Change-Id: If69c5a9822a8b07526ffb9e52c2161af4c1093a3

8 years agoadded sampler links to layout components in documentaition
berndhopp [Fri, 22 Jan 2016 16:29:30 +0000 (17:29 +0100)]
added sampler links to layout components in documentaition

Change-Id: I736bfeb7e3d8bf10e08a6058768ea73ff83553bb

8 years agoUse the Live Demo icon from under the relative image path.
Marko Gronroos [Thu, 21 Jan 2016 16:47:32 +0000 (18:47 +0200)]
Use the Live Demo icon from under the relative image path.

Change-Id: I3b17adc5477cbc74e07ac92ec39692c3a0599ad1

8 years agofix links in to sampler
berndhopp [Fri, 22 Jan 2016 14:36:47 +0000 (15:36 +0100)]
fix links in to sampler

Change-Id: I9ec68675b211b6ed8b11d44f4857980c1d7643e8

8 years agoAdd documentation to master branch
Markus Koivisto [Fri, 22 Jan 2016 12:55:18 +0000 (14:55 +0200)]
Add documentation to master branch

Change-Id: I2504bb10f1ae73ec0cbc08b7ba5a88925caa1674

8 years agoMake Checkbox label send context click events also (#19456)
Artur Signell [Sun, 17 Jan 2016 14:56:33 +0000 (16:56 +0200)]
Make Checkbox label send context click events also (#19456)

Change-Id: Ic23a84357e1d0d333905ce6b3931c41ee90148f6

8 years agoFix IE8 DateField and ComboBox buttons in Grid editor cell (#19431)
Marlon Richert [Fri, 8 Jan 2016 09:51:35 +0000 (11:51 +0200)]
Fix IE8 DateField and ComboBox buttons in Grid editor cell (#19431)

Change-Id: I163dc33fd092077f2ec1dc36a33e118f91f5c306

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: I8bfa83bd0a26c585e1614d821ac3b598294db09d

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: I9a01528910c5f9ec830e236fd8acd78dda763f24

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: I4b5366420e11915236eff447e3eeedc458cf8cea

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: I04ba09bd8396ac46f5df160d982c613961fd43bf

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: If5461521aec2fd2faef0f51d6e0fe724ce3a899e

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: I2cb5ddd8d2d8421793c258994f3bb930f4488273

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: Ie0044341725b858e5cbae150da757aba878fc9ed

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: I5ddf43d0c895404abf2139c847ac805ef08452c8

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: I9e6668b1fbc0a956bf34b48b75df59279005d097

8 years agoAdd missing @since for 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: Ic28598e561f0fc325b6f74ace3398d46ba996fb5

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: I430e55db8a3e2860f68f5351e06d8d069a657d6e

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: I37a398e60c247920fd56fc05b747e0f93f3f2dd2

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: I5474fe653ad4ece38e9bc3cb2331a1d2190ea898

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: Id12fbf5b052c9b08aaf834f5bbdfbc9d24f287a7

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: I7445f4ff1a25d83ab9dbb0633caefcea56d50acc

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: I939fe7e5c5b57c007a543f5f7c491c8c9f11e773

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: I510617c5cd728a3bf0b27d706e11c6c3f12ee19e

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: I228fd7dd48d4506e5b2b7bb799291c9a122ea3fe

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: Ice7b77ab1bcb1cdecd50fc8e480c1ca2f8dae26c

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: I94099919f68d3ffeb340bed30d9066e0911d53cf

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: I329bc5ae8138be731770211e995225cb3ca4fc76

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: Ib3eaf0b35cfe88391c8ab3b5fcbe668d67c2dd3c

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: I8d0240fb76b9841e7290bf13588975da20c78b62

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: Ifd2151a76ff77127170f2d95a800dfb7d601a7d3

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: I8ff11e98bb4ec999d369ff5bcde0cb95290ed037

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: Ibc4d35a8f729b670d8712743c9da8d608a0ba952

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: If3628bc655d6cd58ab51b7400af808bdbca3dc91

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: I08f05bee9bf0c82f5767c63654046285c85f233a

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: I574caf3499ab0681a7c829f89164062eb725013f

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: I48cc4884fce984354dafa2096e488c3c6dec141c

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: I7f257fcf89cb78d14d9632aa1be548e92f3010c3

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: Ic08bfa69bc0c4cb42ecbb1d53ab712e75075ee10

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: Ieccb53a402dd6669fb684b0ef8e18e4c8778c58e

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: I41e40b87b64aec046428c1294aa1d488b6daf693

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: I1f8afb25e40c4c963092730b479303e345a732a2

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: I892896e953637d793d0c0a788f28f3b61494d441

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: Ied7437e43dee81671c6b36dd7f860cf9bdf7fb68

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: I4f542d166e15a63f12f8033aec4ef7b95578df71

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: I4c49cf6d744fdc7792a5448f94df58eab3847343

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: I67330e5d07c95047cb69040e8355a17dc8a96f08

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