]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
7 years agoFixed drag and drop failure when message dragged from email client (#20451) pr7969/r3
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

7 years agoKeep expand ratio for last row/column when reducing grid layout size (#20297) pr7969/r2
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

7 years agoPrevent adding several scrollbar handlers (#19189). pr7969/r1
Denis Anisimov [Mon, 12 Dec 2016 15:06:48 +0000 (17:06 +0200)]
Prevent adding several scrollbar handlers (#19189).

7 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

7 years agoChange Upload to be in immediate mode by default (#111)
Pekka Hyvönen [Mon, 12 Dec 2016 14:32:59 +0000 (16:32 +0200)]
Change Upload to be in immediate mode by default (#111)

Fixes vaadin/framework8-issues#547

7 years agoReduce javadoc errors by adding missing dependencies
Pekka Hyvönen [Mon, 12 Dec 2016 13:44:01 +0000 (15:44 +0200)]
Reduce javadoc errors by adding missing dependencies

vaadin-all currently has +100 errors/warning when creating javadocs,
this reduces most of them related to missing resources to link to.

7 years agoUpdate liferay dependency to 6.2.5
Pekka Hyvönen [Mon, 12 Dec 2016 13:43:16 +0000 (15:43 +0200)]
Update liferay dependency to 6.2.5

Official Liferay support for FW 8 is 6.2.

7 years agoRemove unused removeListener method (#7958)
Leif Åstrand [Mon, 12 Dec 2016 12:16:41 +0000 (14:16 +0200)]
Remove unused removeListener method (#7958)

* Remove unused removeListener method

7 years agoAdd @FunctionalInterface annotation to interfaces where applicable (#7954)
Aleksi Hietanen [Mon, 12 Dec 2016 11:25:19 +0000 (13:25 +0200)]
Add @FunctionalInterface annotation to interfaces where applicable (#7954)

Closes vaadin/framework8-issues#548

7 years agoRemove unused EventListener interface (#7953)
Aleksi Hietanen [Mon, 12 Dec 2016 09:43:37 +0000 (11:43 +0200)]
Remove unused EventListener interface (#7953)

Closes vaadin/framework8-issues#550

7 years agoFix margin in declarative format is recognized as unsupported property gridlayout...
Tien Nguyen [Mon, 12 Dec 2016 06:25:31 +0000 (08:25 +0200)]
Fix margin in declarative format is recognized as unsupported property gridlayout (#103)

7 years agoErase type of BeanBinder#bindInstanceFields parameter in equality test 8.0.0.alpha9
Aleksi Hietanen [Fri, 9 Dec 2016 15:24:01 +0000 (17:24 +0200)]
Erase type of BeanBinder#bindInstanceFields parameter in equality test

Fixes vaadin/framework8-issues#466

7 years agoAdd list of breaking changes in FW8 to release notes (#102)
Pekka Hyvönen [Fri, 9 Dec 2016 07:57:14 +0000 (09:57 +0200)]
Add list of breaking changes in FW8 to release notes (#102)

* Add list of breaking changes in FW8 to release notes

Fixes vaadin/framework8-issues#226

7 years agoFix license header
Aleksi Hietanen [Fri, 9 Dec 2016 07:04:17 +0000 (09:04 +0200)]
Fix license header

Change-Id: I4f91be6d0e9d706c00ad5907c54c56e39292a95d

7 years agoRevert changes to ComboBoxSelectingWithNewItemsAllowedTest
Aleksi Hietanen [Thu, 8 Dec 2016 13:45:26 +0000 (15:45 +0200)]
Revert changes to ComboBoxSelectingWithNewItemsAllowedTest

Change-Id: I7fa2b3fd79b8fddbfbd7dcfec6d4263b233789c4

7 years agoFix UnknownComponentConnector and ComponentMissingFromDefaultWidgetSet tests
Aleksi Hietanen [Thu, 8 Dec 2016 09:34:28 +0000 (11:34 +0200)]
Fix UnknownComponentConnector and ComponentMissingFromDefaultWidgetSet tests

Change-Id: I050c9e07a80c73ff9cf301427e2f32e2d90ce3bb

7 years agoMigrate Escalator changes to compatibility escalator
Aleksi Hietanen [Tue, 29 Nov 2016 14:58:17 +0000 (16:58 +0200)]
Migrate Escalator changes to compatibility escalator

Change-Id: Ie19f0f2c2202dcdcaebc67dd5d16df91c18633be

7 years agoAdd missing import in FlashIsVisibleTest
Aleksi Hietanen [Tue, 29 Nov 2016 14:48:28 +0000 (16:48 +0200)]
Add missing import in FlashIsVisibleTest

Change-Id: I9587edcf6f3832d474b499638a5fb2abd5dc0356

7 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

7 years agoMake clicking outside a ComboBox add a pending new item (#18366)
Aleksi Hietanen [Tue, 29 Nov 2016 13:46:06 +0000 (15:46 +0200)]
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

7 years agoFix some modern browsers tests failures.
Aleksi Hietanen [Tue, 29 Nov 2016 13:37:56 +0000 (15:37 +0200)]
Fix some modern browsers tests failures.

Change-Id: I2a89d3493e2f98ab1b9a0666d9dc075a2457e432

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoAdd a generic selection listener to Grid & SelectionModels (#105)
Pekka Hyvönen [Fri, 9 Dec 2016 07:14:56 +0000 (09:14 +0200)]
Add a generic selection listener to Grid & SelectionModels (#105)

* Add a generic selection listener to Grid & SelectionModels

Fixes some inconsistent event naming and invalid javadocs.

Fixes vaadin/framework8-issues#541

7 years agoChange return type of Binder#getBean to BEAN
Aleksi Hietanen [Thu, 8 Dec 2016 16:44:32 +0000 (18:44 +0200)]
Change return type of Binder#getBean to BEAN

7 years agoChange default suggestion popup width in ComboBox (#91)
Aleksi Hietanen [Thu, 8 Dec 2016 09:04:58 +0000 (11:04 +0200)]
Change default suggestion popup width in ComboBox (#91)

Closes vaadin/framework8-issues#522

7 years agoDeprecate Button#setHtmlContentAllowed (#104)
Aleksi Hietanen [Thu, 8 Dec 2016 08:57:52 +0000 (10:57 +0200)]
Deprecate Button#setHtmlContentAllowed (#104)

Fixes vaadin/framework8-issues#525

7 years agoIntroduce dedicated shared states for every core vaadin component/ext. (#98) pr101/r2
Denis [Thu, 8 Dec 2016 08:57:38 +0000 (10:57 +0200)]
Introduce dedicated shared states for every core vaadin component/ext. (#98)

* Introduce dedicated shared states for every core vaadin component/ext.

Updated components are:
- PasswordField
- CustomField
- AbstractListing
- AbstractMultiSelect
- ColorPicker
- ColorPickerArea
- DataCommunicator
- Responsive
- AbstractListingExtension
- DetailsManager
- AbstractRenderer
- ClickableRenderer
- ButtonRenderer
- CheckBoxRenderer
- DateRenderer
- HtmlRenderer
- ImageRenderer
- NumberRenderer
- ProgressBarRenderer
- TextRenderer

Fixes vaadin/framework8-issues#480.

7 years agoImplement "afterViewChange()" as no-op by default. (#99)
Denis [Wed, 7 Dec 2016 15:16:45 +0000 (17:16 +0200)]
Implement "afterViewChange()" as no-op by default. (#99)

* Implement "afterViewChange()" as no-op by default.

ViewChangeListener is functional interface now and has empty
implementation for "afterViewChange()"

Fixes vaadin/framework8-issues#502

7 years agoDon't use V8 FieldEvents classes in v7 compatibility module. (#93)
Denis [Wed, 7 Dec 2016 11:27:43 +0000 (13:27 +0200)]
Don't use V8 FieldEvents classes in v7 compatibility module. (#93)

* Don't use V8 FieldEvents classes in v7 compatibility module.

Fixes vaadin/framework8-issues#363

7 years agoRemove internal method from application-facing API (#97)
Leif Åstrand [Wed, 7 Dec 2016 11:05:33 +0000 (13:05 +0200)]
Remove internal method from application-facing API (#97)

7 years agoReplace box-sizing @include with bare box-sizing (#92)
Artur [Wed, 7 Dec 2016 06:35:00 +0000 (08:35 +0200)]
Replace box-sizing @include with bare box-sizing (#92)

Browsers support unprefixed box-sizing since:
Chrome 10
Firefox 29
Opera 10
Safari 5.1
iOS 5.1
IE 8

7 years agoAdd read-only support for single and multi select views for Grid. (#84)
Denis [Tue, 6 Dec 2016 19:38:08 +0000 (21:38 +0200)]
Add read-only support for single and multi select views for Grid. (#84)

* Add read-only support for single and multi select views for Grid.

Fixes vaadin/framework8-issues#516

7 years agoProvide a shorthand for the HasValue::clear() method. (#94)
Denis [Tue, 6 Dec 2016 19:34:59 +0000 (21:34 +0200)]
Provide a shorthand for the HasValue::clear() method. (#94)

* Provide a shorthand for the HasValue::clear() method.

Fixes vaadin/framework8-issues#496

7 years agoFix classpath related tests under Windows
Ilia Motornyi [Tue, 6 Dec 2016 17:53:39 +0000 (19:53 +0200)]
Fix classpath related tests under Windows

7 years agoAdd Listing.setItems(Stream) (#90)
Pekka Hyvönen [Mon, 5 Dec 2016 13:17:30 +0000 (15:17 +0200)]
Add Listing.setItems(Stream) (#90)

* Add Listings.setItems(Stream)

Fixes vaadin/framework8-issues#447

Change-Id: I4d557d346117d308b80a20effbf5359bebe1e8bb

7 years agoAdd screenshot submodule to master branch (#88)
Teemu Suo-Anttila [Mon, 5 Dec 2016 11:53:53 +0000 (13:53 +0200)]
Add screenshot submodule to master branch (#88)

7 years agoSeparate Binding and BindingBuilder (#80)
Leif Åstrand [Mon, 5 Dec 2016 11:15:08 +0000 (13:15 +0200)]
Separate Binding and BindingBuilder (#80)

BindingBinder is API that is used before calling bind()

Binding is API that is used after calling bind()

7 years agoAdd a SelectionMode shorthand for Grid. (#83)
Pekka Hyvönen [Mon, 5 Dec 2016 11:11:59 +0000 (13:11 +0200)]
Add a SelectionMode shorthand for Grid. (#83)

* Add a SelectionMode shorthand for Grid.

Hides setSelectionModel(...) by making it protected.
Refactores the usage of constructor / extend method for Abstract-, Single- and MultiSelectionModelImpl.

Fixes vaadin/framework8-issues#519

Change-Id: I48c30886450506639be9ee6e21c45b0c06755c88

7 years agoExtends declarative tests for selection components for "data-" attribute (#85)
Denis [Mon, 5 Dec 2016 09:21:05 +0000 (12:21 +0300)]
Extends declarative tests for selection components for "data-" attribute (#85)

Fixes vaadin/framework8-issues#392

7 years agoIntroduce VaadinServiceInitListener (#18628) (#79)
Leif Åstrand [Fri, 2 Dec 2016 14:17:15 +0000 (16:17 +0200)]
Introduce VaadinServiceInitListener (#18628) (#79)

7 years agoFix root POM SCM entries to point to GitHub (#73)
Henri Sara [Fri, 2 Dec 2016 10:35:28 +0000 (12:35 +0200)]
Fix root POM SCM entries to point to GitHub (#73)

7 years agoReplace github.com/vaadin/vaadin with github.com/vaadin/framework (#75)
Artur [Fri, 2 Dec 2016 09:44:53 +0000 (11:44 +0200)]
Replace github.com/vaadin/vaadin with github.com/vaadin/framework (#75)

7 years agoRemove obsolete release scripts (#74)
Henri Sara [Fri, 2 Dec 2016 09:19:20 +0000 (11:19 +0200)]
Remove obsolete release scripts (#74)

7 years agoRemove Gerrit mentions from contribution guide
Artur [Fri, 2 Dec 2016 08:44:10 +0000 (10:44 +0200)]
Remove Gerrit mentions from contribution guide

7 years agoAdd comments clarifying the use of UUID for security tokens
Leif Åstrand [Thu, 1 Dec 2016 08:44:34 +0000 (10:44 +0200)]
Add comments clarifying the use of UUID for security tokens

Change-Id: I3f48f9bb42b36d0a46926ec753f30df95491720b

7 years agoFix focus and blur tests for CheckBoxGroup, NativeSelect and RatioButtonGroup
Aleksi Hietanen [Wed, 30 Nov 2016 12:24:23 +0000 (14:24 +0200)]
Fix focus and blur tests for CheckBoxGroup, NativeSelect and RatioButtonGroup

Change-Id: I8454ef0895708eaee0bb2771b28c0a0db2fc76a4

7 years agoAllow to set caption for the empty selection in a ComboBox.
Denis Anisimov [Tue, 29 Nov 2016 12:27:20 +0000 (15:27 +0300)]
Allow to set caption for the empty selection in a ComboBox.

Fixes vaadin/framework8-issues#163

Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb

7 years agoAdd test for NativeSelect caption generators 8.0.0.alpha8
Teemu Suo-Anttila [Wed, 30 Nov 2016 14:14:57 +0000 (16:14 +0200)]
Add test for NativeSelect caption generators

Change-Id: Id074c55b1c29dfb1cc499d918422bcf1c7bce0ba

7 years agoSmall fixes to javadocs
elmot [Wed, 30 Nov 2016 14:47:35 +0000 (16:47 +0200)]
Small fixes to javadocs

Change-Id: Ibbfe62395eb93f9349b65edba4425d9782ce15f9

7 years agoFix ListDataProvider and SortOrder javadoc
Henri Sara [Wed, 30 Nov 2016 13:44:10 +0000 (15:44 +0200)]
Fix ListDataProvider and SortOrder javadoc

Change-Id: I99895bd13ecbc34bc85409fcde02a65e9f9a2f13

7 years agoUse item caption generator in NativeSelect
Teemu Suo-Anttila [Wed, 30 Nov 2016 13:04:17 +0000 (15:04 +0200)]
Use item caption generator in NativeSelect

Change-Id: I9725ce727fe06ac5f911e6b68108ad610a615434

7 years agoNoSelectionModel for Grid
Pekka Hyvönen [Tue, 29 Nov 2016 14:29:39 +0000 (16:29 +0200)]
NoSelectionModel for Grid

Fixes vaadin/framework8-issues#518

Change-Id: Ice6bdef03c3b62dd2c74376f98cfb8004dfa0bbf

7 years agoAdd AbstractSelectionModel for Grid
Pekka Hyvönen [Tue, 29 Nov 2016 14:43:25 +0000 (16:43 +0200)]
Add AbstractSelectionModel for Grid

Also adds shared state for grid's selection models.
This is mostly for making it possible later to modify the selection models,
without breaking backwards API compatibility and having to duplicate code.

Change-Id: If93720df282bf5ca3aff17a20b455d60b33f764c

7 years agoEnable select all checkbox for MultiSelection Grid.
Pekka Hyvönen [Mon, 21 Nov 2016 10:54:17 +0000 (12:54 +0200)]
Enable select all checkbox for MultiSelection Grid.

It is by default shown only if used data provider is in-memory.
Can be configured to be explicitly shown or hidden.

Change-Id: I50569d915604c3722a22e14b7628663d5680ed83

7 years agoFix typo in README.md
Aleksi Hietanen [Tue, 29 Nov 2016 14:49:42 +0000 (16:49 +0200)]
Fix typo in README.md

Change-Id: I04a4bf8dbed15960682095ff78c45f38d75db37b

7 years agoFix sorted data provider data change event propagation
Teemu Suo-Anttila [Tue, 29 Nov 2016 12:16:23 +0000 (14:16 +0200)]
Fix sorted data provider data change event propagation

This patch adds a test set for BackEndDataProvider.

Change-Id: I32dfedb692ba71247d74a682f79afdfaf8751de3

7 years agoProvide access to window order position in windows stack (#14325).
Denis Anisimov [Wed, 23 Nov 2016 17:11:33 +0000 (20:11 +0300)]
Provide access to window order position in windows stack (#14325).

Change-Id: I259c659987b5b15b354e16d0be1523f4ede809f0

7 years agoRename FilteringDataProviderWrapper to DataProviderWrapper
Teemu Suo-Anttila [Tue, 29 Nov 2016 10:31:06 +0000 (12:31 +0200)]
Rename FilteringDataProviderWrapper to DataProviderWrapper

Change-Id: If4f0237f6116482b06fe7f2245433822f427e093

7 years agoGrid merging footer cells
elmot [Wed, 23 Nov 2016 10:30:54 +0000 (12:30 +0200)]
Grid merging footer cells

Change-Id: I24895c7ae602ffc9a7812dcc441e99ac670356e2

7 years agoRemove ItemFilter from ComboBox
Teemu Suo-Anttila [Tue, 29 Nov 2016 09:20:03 +0000 (11:20 +0200)]
Remove ItemFilter from ComboBox

Change-Id: I3564c3afc00b2fb8849e46688c99b418e76ba937

7 years agoCorrect all tests that introspect classpath for Vaadin classes.
Denis Anisimov [Mon, 28 Nov 2016 07:10:21 +0000 (10:10 +0300)]
Correct all tests that introspect classpath for Vaadin classes.

Fixes vaadin/framework8-issues#399
RemoveListenersDeprecatedTest test is fixed.
Corrections are made to make the test above passes.

Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac

7 years agoMake it possible to reset single select values
Leif Åstrand [Tue, 22 Nov 2016 07:33:11 +0000 (09:33 +0200)]
Make it possible to reset single select values

Change-Id: I60c5d9f183d1955fbbd3341e3ac9f93aae755f80

7 years agoAdd MultiSelect support for Grid
Pekka Hyvönen [Fri, 11 Nov 2016 07:41:43 +0000 (09:41 +0200)]
Add MultiSelect support for Grid

Still missing following things coming in next patches:
- select all checkbox
- firing an event when data provider is changed in grid
- read only selection models for grid

Part 1 for vaadin/framework8-issues#232

Change-Id: Ib2c7c81a838f43cb7c521a56d50139c91961f54a

7 years agoProvide in-memory sorting information in Query
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:53:26 +0000 (16:53 +0200)]
Provide in-memory sorting information in Query

Change-Id: Iebafff6079816c08e5a4d144f6891d1379751f12

7 years agoUnify usage of HandlerRegistration #19267
Denis Anisimov [Thu, 24 Nov 2016 10:54:55 +0000 (13:54 +0300)]
Unify usage of HandlerRegistration #19267

All Vaadin components use the old HandlerRegistration except Grid
renderers and ServerConnector. Since most Vaadin components extend GWT
components we can't change to the bindary version until GWT does, so the
only way we can unify the usage is using the old version.

Change-Id: I82a5b66df977fe0e7bcab7e981332d0cf7e0bdbf

7 years agoEnsure all BeanBinding chaining methods return BeanBinding
Leif Åstrand [Mon, 28 Nov 2016 10:44:58 +0000 (12:44 +0200)]
Ensure all BeanBinding chaining methods return BeanBinding

Change-Id: Ifbd5f278c83fcadbe6cf21d6c1f40914b35c4aba

7 years agoSimplify Binding API by removing the FIELDTYPE type parameter
Leif Åstrand [Mon, 28 Nov 2016 09:08:38 +0000 (11:08 +0200)]
Simplify Binding API by removing the FIELDTYPE type parameter

The type parameter is mainly used internally, the only externally facing
use is to define the exact type of Binding.getField. Code that has
access to a typed instance of Binding does typically also have direct
access to the field instance, so there's no real use for the type
parameter.

Change-Id: Idf2ab18a79ec5f0a7cef83705b8084fbf7014c10

7 years agoRemove unused field in ComboBox
Teemu Suo-Anttila [Mon, 28 Nov 2016 14:23:45 +0000 (16:23 +0200)]
Remove unused field in ComboBox

Change-Id: Ie4f0af1389a97ce18fb4a6c8f7ccdf5bbdc00d32

7 years agoAdd ComboBox custom filtering methods and tests
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:06:22 +0000 (16:06 +0200)]
Add ComboBox custom filtering methods and tests

Change-Id: I640c6a7b3b8b89eff4b007d1cb70a25bbe28167e

7 years agoAdd a fallback to Declarative*Generator
Teemu Suo-Anttila [Mon, 28 Nov 2016 14:03:22 +0000 (16:03 +0200)]
Add a fallback to Declarative*Generator

Change-Id: I7eca92ca6e2eb234000cb9c9533974fcd357d33f

7 years agoAdd filter type to DataCommunicator
Teemu Suo-Anttila [Fri, 25 Nov 2016 14:05:29 +0000 (16:05 +0200)]
Add filter type to DataCommunicator

Change-Id: Id7948e2f81b6a9c593ce8b71bb3a61b578344af9

7 years agoType Listing for DataProvider to allow custom filter types
Teemu Suo-Anttila [Fri, 25 Nov 2016 11:56:36 +0000 (13:56 +0200)]
Type Listing for DataProvider to allow custom filter types

Listing has been moved from AbstractListing to each individual Component.

ComboBox is now typed to String filter.

Fixes issues with declarative read of items.

Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50

7 years agoUse state classes for Embedded, InlineDateField and NativeButton
Henri Sara [Sat, 26 Nov 2016 06:47:28 +0000 (08:47 +0200)]
Use state classes for Embedded, InlineDateField and NativeButton

Make the components use pre-existing state classes..

Change-Id: Ieeb5232cf45682c64e6a0802732a8f2ea333a972

7 years agoAdd missing getState(boolean) methods
Henri Sara [Fri, 25 Nov 2016 16:38:07 +0000 (18:38 +0200)]
Add missing getState(boolean) methods

Change-Id: Icb43511234b9c2e56102976929e7382e0bbf0b5f

7 years agoAdd shared state for CustomComponent and DragAndDropWrapper
Henri Sara [Sat, 26 Nov 2016 07:02:53 +0000 (09:02 +0200)]
Add shared state for CustomComponent and DragAndDropWrapper

Change-Id: Ib640e5ea97bccffb889d3213a4f588b828fb07bf

7 years agoAdd state classes for Abstract(Single)ComponentContainer
Henri Sara [Fri, 25 Nov 2016 15:59:01 +0000 (17:59 +0200)]
Add state classes for Abstract(Single)ComponentContainer

Change-Id: I6939fbc6f7aed0897f50b19f85fb62d0b8368cc7

7 years agoChange addXXListener method in VaadinService to return Registration.
Denis Anisimov [Fri, 25 Nov 2016 13:56:59 +0000 (16:56 +0300)]
Change addXXListener method in VaadinService to return Registration.

Fixes vaadin/framework8-issues#492
Old removeXXXListener methods are deprecated. New style of
unregistration is used.

Change-Id: If986dc9f8813ee7a5efc374a3facd5a8d23bc6a9

7 years agoRevert Upload listener registration changes in compatibility package
Henri Sara [Sun, 27 Nov 2016 07:28:19 +0000 (09:28 +0200)]
Revert Upload listener registration changes in compatibility package

The compatibility version should behave like the Vaadin 7 version does.

Change-Id: Ia30407e886c7361c35ceaaae94c0dfcf44f133ad

7 years agoProvide tests for "required indicator" property for options groups.
Denis Anisimov [Thu, 24 Nov 2016 15:15:27 +0000 (18:15 +0300)]
Provide tests for "required indicator" property for options groups.

Fixes vaadin/framework8-issues#459
This is not a fix because the issue is about AL only and it's by design.
But this patch provides tests for CheckBoxGroup and RadioButtonGroup.

Change-Id: I8d43ab435327478c7199b8b0a7739d6d1064c822

7 years agoReintroduce Grid Editor using Binder
Teemu Suo-Anttila [Thu, 17 Nov 2016 15:05:28 +0000 (17:05 +0200)]
Reintroduce Grid Editor using Binder

This patch restores the bean type to BinderValidationStatusHandler

Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0

7 years agoUpgrade to TestBench 5 alpha1 and JUnit 4.12
Artur Signell [Thu, 24 Nov 2016 12:52:15 +0000 (14:52 +0200)]
Upgrade to TestBench 5 alpha1 and JUnit 4.12

Change-Id: Ib3f88b6aca37ebb1962b4692df0c4ba11fe92bc2