]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoFlush the correct editor widget if there are hidden columns (#8276)
Artur [Fri, 20 Jan 2017 08:18:46 +0000 (10:18 +0200)]
Flush the correct editor widget if there are hidden columns (#8276)

Fixes #8266

7 years agoFix navigation using keyboard to frozen column when there are hidden columns (#8277)
Artur [Thu, 19 Jan 2017 20:43:25 +0000 (22:43 +0200)]
Fix navigation using keyboard to frozen column when there are hidden columns (#8277)

7 years agoFix closing of modal window curtains while dragging and resizing (#8281)
Aleksi Hietanen [Thu, 19 Jan 2017 14:02:15 +0000 (16:02 +0200)]
Fix closing of modal window curtains while dragging and resizing (#8281)

Fixes #7496

7 years agoRename variables to indicate whether they use DOM index or Grid index (#8275)
Artur [Thu, 19 Jan 2017 12:23:23 +0000 (14:23 +0200)]
Rename variables to indicate whether they use DOM index or Grid index (#8275)

7 years agoProperly end HTML5 drag operations when no drop is performed (#8242)
Artur [Thu, 19 Jan 2017 06:52:35 +0000 (08:52 +0200)]
Properly end HTML5 drag operations when no drop is performed (#8242)

* Properly end HTML5 drag operations when no drop is performed

No auto test because of https://github.com/SeleniumHQ/selenium/issues/1365

Fixes #4060

7 years agoRemoved broken/obsolete 'Setting up the Development Environment' link (#8251)
Alejandro [Tue, 17 Jan 2017 09:48:07 +0000 (11:48 +0200)]
Removed broken/obsolete 'Setting up the Development Environment' link (#8251)

* Removed broken/obsolete 'Setting up the Development Environment' link

7 years agoProperly report invalid arguments to StaticRow.join() (#8243)
Artur [Mon, 16 Jan 2017 07:29:33 +0000 (09:29 +0200)]
Properly report invalid arguments to StaticRow.join() (#8243)

* Properly report invalid arguments to StaticRow.join()

Closes #8234

7 years agoMake it possible to deselect what was selected on the server (#8235)
Artur [Fri, 13 Jan 2017 09:54:01 +0000 (11:54 +0200)]
Make it possible to deselect what was selected on the server (#8235)

* Make it possible to deselect what was selected on the server

Fixes #8221

7 years agoReset selected icon when blurring a ComboBox (#8082)
Artur [Thu, 12 Jan 2017 07:11:11 +0000 (09:11 +0200)]
Reset selected icon when blurring a ComboBox (#8082)

* Reset selected icon when blurring a ComboBox

Fixes #8073

* Merge branch '7.7' into _combobox-icon-reset-selection

* Merge branch '7.7' into _combobox-icon-reset-selection

7 years agoRemove tracking of unregistered connectors (#8153)
Aleksi Hietanen [Wed, 11 Jan 2017 14:12:56 +0000 (16:12 +0200)]
Remove tracking of unregistered connectors (#8153)

* Remove tracking of unregistered connectors

* Merge branch '7.7' into 8111-remove-unregistered-connector-tracking

* Merge branch '7.7' into 8111-remove-unregistered-connector-tracking

* Add tests that verify markAsDirty is called on old parent

* Merge branch '7.7' into 8111-remove-unregistered-connector-tracking

7 years agoFix exception when Grid is inside a PopupView (#8157)
Artur [Tue, 10 Jan 2017 13:22:31 +0000 (15:22 +0200)]
Fix exception when Grid is inside a PopupView (#8157)

Fixes #7695

7 years agoCorrectly detach components in merged cells when a static row is removed (#8142)
Artur [Mon, 9 Jan 2017 09:18:49 +0000 (11:18 +0200)]
Correctly detach components in merged cells when a static row is removed (#8142)

Fixes #8140

7 years agoreopen Grid details on attach, fixes #8015 (#8074)
Olli Tietäväinen [Mon, 9 Jan 2017 06:39:57 +0000 (08:39 +0200)]
reopen Grid details on attach, fixes #8015 (#8074)

Fixes #8015

7 years agoRender font icon correctly on the 'more' menu item (#8126)
Artur [Thu, 5 Jan 2017 07:03:15 +0000 (09:03 +0200)]
Render font icon correctly on the 'more' menu item (#8126)

* Render font icon correctly on the 'more' menu item

Fixes #8125

7 years agoCall error handler for exceptions in UI.init() (#8055)
Artur [Mon, 2 Jan 2017 09:10:33 +0000 (11:10 +0200)]
Call error handler for exceptions in UI.init() (#8055)

Fixes #4995

7 years agoFix chrome version (#8086)
Ilia Motornyi [Tue, 27 Dec 2016 06:59:49 +0000 (08:59 +0200)]
Fix chrome version (#8086)

* Fix chrome version

7 years agoFix removal of hidden Grid columns (#8071)
Artur [Fri, 23 Dec 2016 06:30:41 +0000 (08:30 +0200)]
Fix removal of hidden Grid columns (#8071)

Fixes #8018

7 years agoUse correct indexes in multiselect checkboxes after removing rows (#8072)
Artur [Thu, 22 Dec 2016 09:40:21 +0000 (11:40 +0200)]
Use correct indexes in multiselect checkboxes after removing rows (#8072)

Fixes #8011

7 years agoFix context menu missing box-shadow for Runo on Chrome (#7966)
Pekka Hyvönen [Wed, 14 Dec 2016 11:13:05 +0000 (13:13 +0200)]
Fix context menu missing box-shadow for Runo on Chrome (#7966)

Change-Id: I318761527a695c741f52b4c18e9f8ea943f89017

7 years agoMake AtmospherePushConnection methods public (#7973)
Artur [Wed, 14 Dec 2016 09:55:49 +0000 (11:55 +0200)]
Make AtmospherePushConnection methods public (#7973)

There is no sensible way to use a custom version of APC, so protected
access does not help in any way to access the underlying resource and/or
connected UI.

7 years agoReplace non-breaking spaces with space (#7957)
Artur [Wed, 14 Dec 2016 07:47:45 +0000 (09:47 +0200)]
Replace non-breaking spaces with space (#7957)

7 years agoEnable changing the backing bean for BeanItem (#4302) (#77)
Artur [Tue, 13 Dec 2016 11:56:54 +0000 (13:56 +0200)]
Enable changing the backing bean for BeanItem (#4302) (#77)

When storing a bean to the database, you typically get a new and updated
bean instance back. By allowing to change the bean instance, we make it
possible to just update the single BeanItem instance which can be used
in many places.

7 years agoUse proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607)
Leif Åstrand [Tue, 13 Dec 2016 09:28:55 +0000 (11:28 +0200)]
Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607)

7 years agoFix margin in declarative format is recognized as unsupported property gridlayout...
Pekka Hyvönen [Mon, 12 Dec 2016 09:35:32 +0000 (11:35 +0200)]
Fix margin in declarative format is recognized as unsupported property gridlayout (#103) (#7952)

Backported to 7.7 from master (8).

Fixes vaadin/framework8-issues#465

Change-Id: I9734341b747b8d16020443c71d72fcfd7e331af7

7 years agoFix java packaging order (#106)
Teemu Suo-Anttila [Fri, 9 Dec 2016 09:15:24 +0000 (11:15 +0200)]
Fix java packaging order (#106)

Closes vaadin/archetypes#113

7 years agoMove Grid event handlers to a list, add method to add custom handlers (#76) 7.7.6
Aleksi Hietanen [Mon, 5 Dec 2016 14:28:47 +0000 (16:28 +0200)]
Move Grid event handlers to a list, add method to add custom handlers (#76)

* Move Grid event handlers to a list, add method to add custom handlers

Change-Id: I2fe67ae961bfb0f7c44ba704346762a0faf6da2c

* Merge branch '7.7' into grid-event-refactoring

7 years agoAdd screenshots as a Git submodule (#86)
Teemu Suo-Anttila [Mon, 5 Dec 2016 12:25:46 +0000 (14:25 +0200)]
Add screenshots as a Git submodule (#86)

7 years agoRefactor Grid event handling methods to instances of a handler interface
Johannes Dahlström [Tue, 2 Aug 2016 09:46:50 +0000 (12:46 +0300)]
Refactor Grid event handling methods to instances of a handler interface

Change-Id: Icbed14cbef14c434f1909fa0350cb0364235c774

7 years agoStart client-side Grid DOM event handling refactor
Johannes Dahlström [Tue, 2 Aug 2016 09:07:22 +0000 (12:07 +0300)]
Start client-side Grid DOM event handling refactor

Change-Id: I67dad4cfbd6e9e355c48703253ff3d6da00e4eef

7 years agoFix wrong year in copyright header
Pekka Hyvönen [Fri, 25 Nov 2016 11:42:57 +0000 (13:42 +0200)]
Fix wrong year in copyright header

Change-Id: Idbf6c1f978b9b36ed82bf8b96a6a649ae4772ae6

7 years agoRe-add body rows when Escalator is reattached to DOM (#20477)
Artur Signell [Thu, 24 Nov 2016 09:31:23 +0000 (11:31 +0200)]
Re-add body rows when Escalator is reattached to DOM (#20477)

Change-Id: I0ae9144817db3bb730c80748d5e9190484b323e7

8 years agoUpdate @since tags for 7.7.5
Pekka Hyvönen [Fri, 25 Nov 2016 06:52:15 +0000 (08:52 +0200)]
Update @since tags for 7.7.5

Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f

8 years agoFixed touch scrolling issue in Surface and WP devices (#18737) 7.7.5
Johannes Tuikkala [Mon, 14 Nov 2016 07:46:32 +0000 (09:46 +0200)]
Fixed touch scrolling issue in Surface and WP devices (#18737)

Fixed by using pointerevents instead of touchevents when the browser is IE11,
or Edge. Also added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE11 and Edge. Does not affect IE8 to IE10 browsers,
behaviour on those will stay the same as before the fix.

No new unit tests since we do not have automatic touch testing possibilities yet.
Please test manually with Surface: IE11 and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasicsomponents.grid.basics.GridBasics

Change-Id: Iddbf1852e6ffafc855f749d6f4ebb235ed0f5703

8 years agoRemove CustomFieldState (#20468)
Pekka Hyvönen [Tue, 22 Nov 2016 07:08:45 +0000 (09:08 +0200)]
Remove CustomFieldState (#20468)

Moves FocusDelegate to AbstractFieldState.
This change is done to revert backwards compatibiity breaking API
change in 7.7.4 when CustomFieldState was introduced.

Change-Id: I76212a8700463140520d5482b740fe0edbfb082c

8 years agoMark TextField/TextArea as busy when a text change event is pending (#20469)
Artur Signell [Thu, 17 Nov 2016 13:49:49 +0000 (15:49 +0200)]
Mark TextField/TextArea as busy when a text change event is pending (#20469)

Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50

8 years agoAdd lazy/simple resize mode to Grid (#20108)
Patrik Lindström [Wed, 2 Nov 2016 09:54:49 +0000 (11:54 +0200)]
Add lazy/simple resize mode to Grid (#20108)

Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4

8 years agoChange expected pre-release version number pattern in publish report
Henri Sara [Wed, 16 Nov 2016 07:56:19 +0000 (09:56 +0200)]
Change expected pre-release version number pattern in publish report

Change-Id: Icdacecc490d2490ea9e262f5c5736c1dece2a89d

8 years agoFixed drag and drop failure when message dragged from email client (#20451)
adam [Sat, 12 Nov 2016 13:25:52 +0000 (15:25 +0200)]
Fixed drag and drop failure when message dragged from email client (#20451)

When dragging message form email client on Windows, item.webkitGetAsEntry()
might return null creating NPE on the client side. Added additional checks
for this situation.

Change-Id: I569f7e6d0d7b137f24be53d1fbce384695ae8c73

8 years agoKeep expand ratio for last row/column when reducing grid layout size (#20297)
Artur Signell [Fri, 14 Oct 2016 19:11:59 +0000 (22:11 +0300)]
Keep expand ratio for last row/column when reducing grid layout size (#20297)

Change-Id: Iff53a803596f4fc1eae8e4bfa307b9c1f4df961a

8 years agoFix NPE in case some items don't contain all properties of Grid.
adam [Tue, 18 Oct 2016 09:00:55 +0000 (12:00 +0300)]
Fix NPE in case some items don't contain all properties of Grid.
This could occur in when parent is a different entity than its children
in hierarchical data.

Change-Id: Icd53b5b5e5544a3680d0cd99702ab78224b2dc08

8 years agoPrevent adding several scrollbar handlers (#19189).
Denis Anisimov [Mon, 7 Nov 2016 07:41:01 +0000 (09:41 +0200)]
Prevent adding several scrollbar handlers (#19189).

Change-Id: Ib0cc6c6835aab6d263f153362a328bcf2be7bc5c

8 years agoFix links in build report 7.7.4
Henri Sara [Mon, 14 Nov 2016 07:00:31 +0000 (09:00 +0200)]
Fix links in build report

Change-Id: Id32467982207ac9a9ce45301097652715d9dfff8

8 years agoFix archetype list in build report script
Henri Sara [Sat, 12 Nov 2016 11:20:08 +0000 (13:20 +0200)]
Fix archetype list in build report script

Change-Id: Ie215346122ad6533176fd2a8d71660805eacb942

8 years agoFix python list syntax in BuildDemos
Henri Sara [Sat, 12 Nov 2016 06:47:02 +0000 (08:47 +0200)]
Fix python list syntax in BuildDemos

Change-Id: I42f2f3fa3597f67f259c3ff9f158560303ffb328

8 years agoMake clicking outside a ComboBox add a pending new item (#18366)
Artur Signell [Mon, 10 Oct 2016 19:58:04 +0000 (22:58 +0300)]
Make clicking outside a ComboBox add a pending new item (#18366)

It should not matter how you move from a field to the next. Tabbing
to the next field already previously caused the new item handler to
be invoked. This fixes the case when you click in the next field to
work the same way.

Change-Id: I3978d87cde8f05dce92edda2a4a116f4a15e0749

8 years agoRevert "Fixed touch scrolling issue in Surface and WP devices (#18737)"
Artur Signell [Fri, 11 Nov 2016 14:33:39 +0000 (14:33 +0000)]
Revert "Fixed touch scrolling issue in Surface and WP devices (#18737)"

The patch prevents Escalator and Grid from ever being rendered on IE8 because element.addEventListener does not exist there

This reverts commit eb2f5ac3a714aefce948d447a4004b94e35e44a9.

Change-Id: I58f6db7432a1cd10299891b2d8c55c855e87265f

8 years agoInitial versions of the new release report scripts
Henri Sara [Fri, 11 Nov 2016 11:44:08 +0000 (13:44 +0200)]
Initial versions of the new release report scripts

These have been backported from Vaadin 8 branch with minimal
modifications.

Change-Id: I292917aa0457c69b569313a3e56913b4a8d85316

8 years agoFix some modern browsers tests failures.
Denis Anisimov [Wed, 9 Nov 2016 15:25:41 +0000 (17:25 +0200)]
Fix some modern browsers tests failures.

Change-Id: I2a89d3493e2f98ab1b9a0666d9dc075a2457e432

8 years agoUpdate Vaadin Spring documentation for 1.1.0
Henri Sara [Thu, 10 Nov 2016 07:08:53 +0000 (09:08 +0200)]
Update Vaadin Spring documentation for 1.1.0

Change-Id: I8dcf5b7576a64b26419136ca6b8927f4c2731d60

8 years agoFix modern browsers test failures for 7.7.
Denis Anisimov [Tue, 8 Nov 2016 11:11:42 +0000 (13:11 +0200)]
Fix modern browsers test failures for 7.7.

Change-Id: Ibef57aa4f8838f3bbc5f5c5500f3f4f7fc6eb438

8 years agoUpdate @since tag for 7.7.4.
Denis Anisimov [Tue, 8 Nov 2016 12:47:36 +0000 (14:47 +0200)]
Update @since tag for 7.7.4.

Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7

8 years agoFixed touch scrolling issue in Surface and WP devices (#18737)
Johannes Tuikkala [Thu, 29 Sep 2016 08:03:29 +0000 (11:03 +0300)]
Fixed touch scrolling issue in Surface and WP devices (#18737)

Fixed by using mouse events instead of touchevents when the browser is
IE or Edge (added isIEOrEdge utility method in the BrowserInfo). Also
added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE and Edge
No new unit tests since we do not have automatic touch testing
possibilities yet.
Please test manually with Surface: IE and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasics

Change-Id: I5b37f1648e2051ea0ab4d56ab767186b532da07c

8 years agoCorrect addon init param widgetset IT test.
Denis Anisimov [Mon, 7 Nov 2016 14:31:59 +0000 (16:31 +0200)]
Correct addon init param widgetset IT test.

Change-Id: I413481a325ebad15aa16dd639c788cc72f18dc52

8 years agoAdd method to auto scale calendar time range (#17715)
Steven Spungin [Fri, 1 May 2015 15:44:42 +0000 (11:44 -0400)]
Add method to auto scale calendar time range (#17715)

Backported from master branch (Vaadin 8).

Change-Id: I363c9798de0d238a5a4aa4b4e839a31da460434f

8 years agoMake vaadin-server export the VAADIN package again (#20332)
Artur Signell [Mon, 10 Oct 2016 15:35:19 +0000 (18:35 +0300)]
Make vaadin-server export the VAADIN package again (#20332)

Change-Id: I7241ec11a9bfe7ebfa6a720b1abb3c4d0fabdb36

8 years agoShow a sensible message for missing extensions (#10799)
Artur Signell [Tue, 1 Nov 2016 20:52:48 +0000 (22:52 +0200)]
Show a sensible message for missing extensions (#10799)

Also remove ComponentMissingFromDefaultWidgetsetTest since it's
identical to UnknownComponentConnectorTest

Change-Id: I4b4b8f40c8376f4ea26b73d41191a3e7e811df01

8 years agoUse US english (license) in all places
Artur Signell [Thu, 27 Oct 2016 10:18:56 +0000 (13:18 +0300)]
Use US english (license) in all places

Change-Id: I5fa99627a1c3302dd905d78149e5f32c7315a5c7

8 years agoDate/time issues are fixed in the tests.
Denis Anisimov [Mon, 31 Oct 2016 07:10:02 +0000 (09:10 +0200)]
Date/time issues are fixed in the tests.

- legacy DateField declarative format tests are fixed (day light saving
time is taken into account).
- CalendarMonthViewDndEvent UI because you are not supposed to work on
Sundays (when the test is broken).

Backported from master branch (Vaadin 8).

Change-Id: I5e62c09da579e9f6eb2a58a87253618d3f30b2e9

8 years agoEnsure #cell[N] always scrolls row N into view (#20423)
Artur Signell [Tue, 25 Oct 2016 15:27:20 +0000 (18:27 +0300)]
Ensure #cell[N] always scrolls row N into view (#20423)

Change-Id: I99347ee1d0f2f13fcb8e110d2e7192590e4f9456

8 years agoPublish Escalator.getBodyRowCount to JS (#20344)
Artur Signell [Sat, 22 Oct 2016 16:45:40 +0000 (19:45 +0300)]
Publish Escalator.getBodyRowCount to JS (#20344)

This is needed to be able to get the information from e.g. TestBench

Change-Id: I95ec6064f602e6a8b24e35cc59d467e9c8b31c1e

8 years agoMention latest browser versions
Artur Signell [Thu, 27 Oct 2016 12:10:22 +0000 (15:10 +0300)]
Mention latest browser versions

Change-Id: I06477d7ee5252ec4a5e7fdbc05fe6e31e05782e6

8 years agoAllow defining a focus delegate component for CustomField (#20336)
Artur Signell [Fri, 30 Sep 2016 20:30:42 +0000 (23:30 +0300)]
Allow defining a focus delegate component for CustomField (#20336)

Change-Id: I1160e7a384b1816204eb7f4b0f52f83ed9e230c0

8 years agoAllow a resize listener to fire a resize listener (#20338)
Artur Signell [Sat, 15 Oct 2016 19:05:51 +0000 (22:05 +0300)]
Allow a resize listener to fire a resize listener (#20338)

Change-Id: I6b045c3a693e88b3cba182ae9ea68cfa98c914b0

8 years agoUpdate Hierarchical container JavaDocs to match code (#5864)
Teemu Suo-Anttila [Tue, 25 Oct 2016 08:02:42 +0000 (11:02 +0300)]
Update Hierarchical container JavaDocs to match code (#5864)

Change-Id: I7a8520ef61ddc4dff66c326d61acbf7ccf0e76cd

8 years agoMake modal window block shortcuts for underlying components (#20366)
Artur Signell [Mon, 10 Oct 2016 19:43:03 +0000 (22:43 +0300)]
Make modal window block shortcuts for underlying components (#20366)

Change-Id: Ibb3b52b652d77a1bfa786417b1c92fd0a578035f

8 years agoMake Grid isWorkPending wait for scroll events to complete (#20417)
Artur Signell [Wed, 19 Oct 2016 19:50:22 +0000 (22:50 +0300)]
Make Grid isWorkPending wait for scroll events to complete (#20417)

Change-Id: I3cfdac539111ff2e88c7ff81e6d6b9a579160423

8 years agoAdd valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)
Marc Englund [Mon, 28 Sep 2015 11:11:07 +0000 (14:11 +0300)]
Add valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)

Adding the optional "valo-menu-hover" style to the "valo-menu" element
will make the menu appear on hover - i.e when mousing over on desktop,
when tapping on touch devices (which also triggers hover).

Backported from master branch (vaadin 8).

Change-Id: I8344234a20aa93216b0116608d81e30e86d8b309

8 years agoUpdate client side selection state when changing selection model (#20370)
Artur Signell [Sat, 15 Oct 2016 20:02:15 +0000 (23:02 +0300)]
Update client side selection state when changing selection model (#20370)

Change-Id: I7fe8c160405a69140cac511c744d89a62c401cca

8 years agoSend selection change events when changing selection mode (#20391)
Artur Signell [Sat, 15 Oct 2016 19:44:27 +0000 (22:44 +0300)]
Send selection change events when changing selection mode (#20391)

Change-Id: Iaeb772981f3ac039bf0fe3cde595cfdb3691cddf

8 years agoMake UPPER_CASE_PROPERTY_IDS more human friendly by default (#20380)
Artur Signell [Wed, 12 Oct 2016 19:44:00 +0000 (22:44 +0300)]
Make UPPER_CASE_PROPERTY_IDS more human friendly by default (#20380)

Change-Id: I9bd845a08fa3c440f05d102ccf8920dfc1c95b6b

8 years agoAdd Grid.refreshRows to allow refreshing individual rows (#16765)
Artur Signell [Mon, 10 Oct 2016 19:15:16 +0000 (22:15 +0300)]
Add Grid.refreshRows to allow refreshing individual rows (#16765)

Change-Id: I554d7b6ca60840bab3a032daa4847e7271086e27

8 years agoCheck for duplicate property ids when setting Grid columns or column order (#20386)
Artur Signell [Wed, 12 Oct 2016 18:59:08 +0000 (21:59 +0300)]
Check for duplicate property ids when setting Grid columns or column order (#20386)

Change-Id: I76be83642f0e56e55b0c0e502ac6769de1ee8af0

8 years agoNever check the selectAll checkbox in an empty grid (#20301)
Artur Signell [Thu, 13 Oct 2016 19:40:03 +0000 (22:40 +0300)]
Never check the selectAll checkbox in an empty grid (#20301)

Change-Id: Ia15edb5a10de9bff047044161ffe83dd09f51098

8 years agoWorkaround for deadlock issue (#18436)
Artur Signell [Thu, 6 Oct 2016 20:07:20 +0000 (23:07 +0300)]
Workaround for deadlock issue (#18436)

Change-Id: I4e32550e3d3095c2c914bb93d260819414d2e6e6

8 years agoFixes VTree so that you can click sub elements when setHtmlContentAllowed is true...
Sebastian Nyholm [Mon, 26 Sep 2016 11:24:12 +0000 (14:24 +0300)]
Fixes VTree so that you can click sub elements when setHtmlContentAllowed is true. (#20097)

Change-Id: Ic453aaf16ea1d44792db868e04faaba069aab3b7

8 years agoUse versions-maven-plugin 2.3 to avoid NPE while setting project version 7.7.3
Artur Signell [Sun, 25 Sep 2016 19:23:04 +0000 (22:23 +0300)]
Use versions-maven-plugin 2.3 to avoid NPE while setting project version

Change-Id: I9080a9f46193c1dea4a9ef6856d2899fe960b7e9
(cherry picked from commit e7b9db54a5aa172509b33746d270ac375009b4a6)

8 years agoAdd tests for widgetset compilation in different modes
Artur Signell [Sat, 24 Sep 2016 07:20:21 +0000 (10:20 +0300)]
Add tests for widgetset compilation in different modes

* Using the default widget set
* Using no add-ons but a custom widget set
* Using add-ons with a defined widget set
* Using add-ons with no defined widget set
* Using directories with special characters (space)

Change-Id: I85450de359f410003bed94b120915b4736bc2d4f

8 years agoFormat project pom files using correct settings (4 spaces)
Artur Signell [Fri, 23 Sep 2016 19:15:19 +0000 (22:15 +0300)]
Format project pom files using correct settings (4 spaces)

Change-Id: Ib8ae22a56334046effe721bb4d3769ef7b92d61d

8 years agoFix widget set builder to create widget set in correct location (#20320)
Artur Signell [Fri, 23 Sep 2016 19:08:39 +0000 (22:08 +0300)]
Fix widget set builder to create widget set in correct location (#20320)

The fix for #20285 generates URLs so that the end in a slash, where the old
version generated URLs without the trailing slash. The trailing slash was not
taken into account by the code which updates a widget set.

Change-Id: Iabe716ed1632da7b2a6b1f4ffdc987c745d9452d

8 years agoUse widget set specified by init parameter (#20276)
Artur Signell [Thu, 15 Sep 2016 07:43:27 +0000 (10:43 +0300)]
Use widget set specified by init parameter (#20276)

1. If a UI has @Widgetset, use that
2. If a "widgetset" init parameter has been specified, use that
3. If there is an AppWidgetset, use that
4. Use DefaultWidgetSet

This changes the default value of the @VaadinServletConfiguration widgetset
parameter to "", to avoid always setting the "widgetset" init parameter when
@VaadinServletConfiguration is used.

Change-Id: I87f9aa294d31e62bb94b7e831dd7b25ca1ce483b

8 years agoRevert "Use widget set specified by init parameter (#20276)" 7.7.2
Leif Åstrand [Thu, 22 Sep 2016 05:52:20 +0000 (05:52 +0000)]
Revert "Use widget set specified by init parameter (#20276)"

Breaks all use of AppWidgetset together with
@VaadinServletConfiguration

This reverts commit 516c428ca127e3c31b7b4d74220e4b7eed4571be.

Change-Id: I9e9bd792479ee1f4dde08c5d2a4d87e06b77f519

8 years agoUpdated link to new step 1 video in tutorial (the new video uses Vaadin 7.7 series)
Alejandro Duarte [Wed, 21 Sep 2016 11:42:24 +0000 (14:42 +0300)]
Updated link to new step 1 video in tutorial (the new video uses Vaadin 7.7 series)

Change-Id: Ic40b70e692e686d638e163a224816aabeb6de100
(cherry picked from commit e92a737fe8b0655bbf0c3ce1881777d418147b41)

8 years agoUpdate to Chrome 53
Artur Signell [Wed, 21 Sep 2016 06:35:46 +0000 (09:35 +0300)]
Update to Chrome 53

Change-Id: I518b3f261adb633bb09a2597c9e7ee3cb6d63e6a

8 years agoSpecify branch also for Sampler
Artur Signell [Tue, 20 Sep 2016 19:40:49 +0000 (22:40 +0300)]
Specify branch also for Sampler

Although sampler is pre cloned, the script still tries to
mess with the defined branch (master is not found in the cloned
repo)

Change-Id: I91f31fe0a276221cc357cf0678759ad4125c518e

8 years agoUse requestAnimationFrame when scrolling in Grid (#20294)
Artur Signell [Sun, 18 Sep 2016 20:00:58 +0000 (23:00 +0300)]
Use requestAnimationFrame when scrolling in Grid (#20294)

Chrome no longer (since version 5x) always fire deferred commands
immediately during scrolling but can delay them with several hundred
milliseconds, making grid really unresponsive.

So far, nobody has been able to provide a reliable test case.

Change-Id: Ide80aef2d661c9e27b67c8e62e85734af7a38cab

8 years agoMake initially disabled grid work when enabled (#20240)
Artur Signell [Sun, 18 Sep 2016 14:35:34 +0000 (17:35 +0300)]
Make initially disabled grid work when enabled (#20240)

Adds API to allow grid to ask its data source if it is waiting for data.
The previous tracking inside grid was not always correct as it relied
on dataAvailable being called.

Change-Id: I0bdb448d9b720155940b0834e118f0eca27a3bfc

8 years agoChange javadoc to a style Eclipse formatter can handle
Artur Signell [Sun, 18 Sep 2016 14:48:43 +0000 (17:48 +0300)]
Change javadoc to a style Eclipse formatter can handle

Change-Id: I2ad135c72821b6e194fd77bd141b638c36e138a7

8 years agoFormat Java files using Eclipse Neon and Vaadin settings
Artur Signell [Sun, 18 Sep 2016 14:38:12 +0000 (17:38 +0300)]
Format Java files using Eclipse Neon and Vaadin settings

Using the same formatting in the 7.7 branch and the master branch
eases porting of fixes

Change-Id: I51b4693f2f120447702cf322ce4505608ad92987

8 years agoFix assertion error when column widths are calculated
Artur Signell [Fri, 16 Sep 2016 19:21:11 +0000 (22:21 +0300)]
Fix assertion error when column widths are calculated

Change-Id: I042a5bfb548b52911100e01e5a74901a1abfbf33

8 years agoEnsure temporary layout manager state is cleared at the end of a layout phase
Artur Signell [Fri, 16 Sep 2016 11:11:26 +0000 (14:11 +0300)]
Ensure temporary layout manager state is cleared at the end of a layout phase

Change-Id: I28f3d20e6db999a033429338535719f14e495d4f

8 years agoFix regression that broke widget set compilation in 7.7.1 (#20285)
Ingo Kegel [Fri, 16 Sep 2016 09:27:21 +0000 (11:27 +0200)]
Fix regression that broke widget set compilation in 7.7.1 (#20285)

The fix for

https://dev.vaadin.com/ticket/20262

broke widget set compilation on Windows, possibly only under certain circumstances

Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2

8 years agoUse correct column index when calculating min width during resize (#19833)
Artur Signell [Thu, 15 Sep 2016 19:46:23 +0000 (22:46 +0300)]
Use correct column index when calculating min width during resize (#19833)

Change-Id: If7a7a5c1e5eff4bdac0f6e5943a9fac2ce98784a

8 years agoUse widget set specified by init parameter (#20276)
Artur Signell [Thu, 15 Sep 2016 07:43:27 +0000 (10:43 +0300)]
Use widget set specified by init parameter (#20276)

1. If a UI has @Widgetset, use that
2. If a "widgetset" init parameter has been specified, use that
3. If there is an AppWidgetset, use that
4. Use DefaultWidgetSet

Change-Id: I522210220bb9e3eb339e9d226833d0fa8eb65839

8 years agoMake test pass on all browsers
Artur Signell [Wed, 14 Sep 2016 11:44:01 +0000 (14:44 +0300)]
Make test pass on all browsers

Change-Id: I8226ce8983eb72e0afb4948fc644cb587bc01708

8 years agoBuild demos from 7.7 branch
Artur Signell [Wed, 14 Sep 2016 12:34:37 +0000 (15:34 +0300)]
Build demos from 7.7 branch

Change-Id: Ic2a0396ad451adfd2c75b3dbd54155d28fb16be7

8 years agoSkip Maven enforcer plugin during demo validation 7.7.1
Artur Signell [Wed, 14 Sep 2016 10:19:27 +0000 (13:19 +0300)]
Skip Maven enforcer plugin during demo validation

Change-Id: Ic4b7dc9f9b646d88fe6b323d2c051f86edeeaa70

8 years agoCalculate column widths immediately if there is data (#20269)
Artur Signell [Fri, 9 Sep 2016 19:28:15 +0000 (22:28 +0300)]
Calculate column widths immediately if there is data (#20269)

Deferring the column width calculations, like done before,
causes flickering as each column is first rendered with its
minimum required width.

Change-Id: I02e6951a99dcb0cb9ad78a95915076d064fa9642

8 years agoEnsure Firefox always updates the grid scrollbar (#19802)
Artur Signell [Thu, 8 Sep 2016 19:22:53 +0000 (22:22 +0300)]
Ensure Firefox always updates the grid scrollbar (#19802)

When the scrollbar is scrolled a bit down and the number of items
in the grid is reduced so that no scrollbar is needed anymore, it seems
that Firefox refuses to send a scroll event even though the scroll position
is updated before the scrollbar is hidden.

Change-Id: I626536a9efd036bc826b1e6be3363332a56774f6

8 years agoChange snapshot version 7.7-SNAPSHOT
Artur Signell [Mon, 12 Sep 2016 20:39:19 +0000 (23:39 +0300)]
Change snapshot version 7.7-SNAPSHOT

Change-Id: I7929f6fbe9a83f63fcb7c1f3b174dd84d4add185

8 years agoHandle encoded URL characters correctly when constructing widget set name (#20262)
Artur Signell [Mon, 12 Sep 2016 20:39:19 +0000 (23:39 +0300)]
Handle encoded URL characters correctly when constructing widget set name (#20262)

Change-Id: Idfdd5e6021444af5b08d48ddf90745b47ff4643d