]>
source.dussan.org Git - vaadin-framework.git/log
Henri Sara [Fri, 10 Feb 2017 11:42:08 +0000 (13:42 +0200)]
Fix Firefox 45 tests (click issues, screenshots) (#8533)
Henri Sara [Fri, 10 Feb 2017 09:40:41 +0000 (11:40 +0200)]
Make Eclipse add vaadin-icons source folder (#8531)
Leif Åstrand [Fri, 10 Feb 2017 07:47:50 +0000 (09:47 +0200)]
Use column id as the default sort order property (#8529)
Pekka Hyvönen [Thu, 9 Feb 2017 14:03:20 +0000 (16:03 +0200)]
Fix invalid docs navigation title (#8527)
Fixes #8522
Leif Åstrand [Thu, 9 Feb 2017 12:10:48 +0000 (14:10 +0200)]
Add Payara as an officially supported server (#8520)
Ilia Motornyi [Thu, 9 Feb 2017 09:17:35 +0000 (11:17 +0200)]
Include Vaadin-Icons into the project, (#8485)
Include Vaadin-Icons into the valo theme in the project,
make vaadin-icons dependency 'provided'
Fixes #8471
Teemu Suo-Anttila [Thu, 9 Feb 2017 09:03:29 +0000 (11:03 +0200)]
Add shorthands for creating lazy DataProviders (#8511)
Henri Sara [Thu, 9 Feb 2017 09:03:06 +0000 (11:03 +0200)]
Remove BOM from release profile (#8518)
caalador [Thu, 9 Feb 2017 08:18:41 +0000 (10:18 +0200)]
Fix click selection for automatic testing. (#8513)
Don't implement handlers on widget level.
Henri Sara [Thu, 9 Feb 2017 08:07:54 +0000 (10:07 +0200)]
Update Firefox/Chrome screenshots and Chrome version (#8515)
Leif Åstrand [Thu, 9 Feb 2017 07:53:52 +0000 (09:53 +0200)]
Clarify addComponentsAndExpand javadocs (#8516)
caalador [Thu, 9 Feb 2017 07:32:57 +0000 (09:32 +0200)]
Binding a null bean should clear the bound field values (#8288)
* Add clear field values #8287
Added functionality to make it possible to clear bound field values manually
or when setting a null bean to binder.
Binder will now clear bound fields for setBean(null) or if using readBean() functionality
when calling the clear() method. Binder.clear() will throw a IllegalStateException if
we have a bound bean.
* MultiSelectionModel MultiSelect should implement emptyValue
* Removing public clear() method and clearing field values only through
setBean(null) and readBean(null) to be consistent and not have
confusing functionality.
* Simplified clearFields() as we don't need to check if field is readOnly
* Document in removeBean JavaDoc that it will also clear the bound fields
if we have a bean the is removed.
* Binder should not have changes after clearing fields.
* Add getEmptyValue as default to MultiSelect.
Multiselect default for empty value should be an empty set.
* Revert "Add getEmptyValue as default to MultiSelect."
This reverts commit
45de8f45c4a1e3e45ab8a0353ab2a48bb4f1be6f .
* Merge branch 'master' into issue/8287_Clear_bound_fields
* Remove override for default implementation.
* Fire status change event on clearFields if we had changes before clearing.
* Formatting.
Ilia Motornyi [Thu, 9 Feb 2017 07:26:19 +0000 (09:26 +0200)]
Server integration fix 3 (#8442)
* Fix JBoss 6 integration test
* Fixes for Karaf (build self-contained WAB)
Leif Åstrand [Wed, 8 Feb 2017 17:05:31 +0000 (19:05 +0200)]
Add addComponentsAndExpand to horizontal and vertical layout (#8480)
Leif Åstrand [Wed, 8 Feb 2017 14:34:29 +0000 (16:34 +0200)]
Clarify javadocs for query values not used for counting (#8509)
Fixes #8489
Leif Åstrand [Wed, 8 Feb 2017 13:55:57 +0000 (15:55 +0200)]
Allow configuring how string to number converters handle empty strings (#8506)
Denis [Wed, 8 Feb 2017 13:45:20 +0000 (15:45 +0200)]
Provide a convenience method to get items set via setItems().
Fixes #8357
Leif Åstrand [Wed, 8 Feb 2017 13:27:37 +0000 (15:27 +0200)]
Extract data provider callbacks to named and documented interfaces (#8508)
Fixes #8488
Denis [Wed, 8 Feb 2017 12:55:11 +0000 (14:55 +0200)]
Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)
Fixes #8422
caalador [Wed, 8 Feb 2017 12:54:57 +0000 (14:54 +0200)]
Fix removing and adding a column in grid (#8437)
* Added column should also be added to footer (#590)
When adding (readding) a column the column should also be
added to footer as it will be removed and iterator will request footer for it.
* Add test for re-add column (#590)
* To lowerCase using Locale
* Fixed compilation problem.
Too little sleep for a friday evening...
Denis [Wed, 8 Feb 2017 12:32:50 +0000 (14:32 +0200)]
Document BeanValidationBinder and RequiredFieldConfigurator. (#8504)
This patch also provides a documentation for #8382.
Fixes #8390
Denis [Wed, 8 Feb 2017 12:32:09 +0000 (14:32 +0200)]
Provide a way to configure bean binder to auto set required fields (#8460)
@NotNull, @Size(min>1), @NotEmpty annotations are handled via default
configuration which marks fields as required.
Fixes #8382
Leif Åstrand [Wed, 8 Feb 2017 12:14:00 +0000 (14:14 +0200)]
Add javadoc explanation about how to create serializable comparators (#8505)
Also removes the confusing SerializableComparator.asInstance method that
was mainly introduced for internal use.
Fixes #8367
Teemu Suo-Anttila [Wed, 8 Feb 2017 11:46:29 +0000 (13:46 +0200)]
Fix profiles in vaadin-root pom.xml (#8484)
caalador [Wed, 8 Feb 2017 11:04:12 +0000 (13:04 +0200)]
Fix keyboard navigation for ListSelect (#8503)
Fixes vaadin/framework8-issues#463
Denis [Wed, 8 Feb 2017 07:43:34 +0000 (09:43 +0200)]
Throw if there are no automatically bound fields via bindInstanceFields. (#8481)
* Throw if there are no automatically bound fields via bindInstanceFields.
Fixes #8362
Leif Åstrand [Tue, 7 Feb 2017 13:33:20 +0000 (15:33 +0200)]
Add Grid.addColumn(String, Renderer) (#8470)
* Add Grid.addColumn(String, Renderer)
caalador [Tue, 7 Feb 2017 13:31:05 +0000 (15:31 +0200)]
Fix toggling of WeekNumbers for DateTimeField. (#8468)
Fixes #8405
SomeoneToIgnore [Tue, 7 Feb 2017 10:32:56 +0000 (13:32 +0300)]
Added missing parametrisation onto the column field of the GridContextClickEvent. (#8473)
* Added missing parametrisation onto the column field of the GridContextClickEvent.
Leif Åstrand [Tue, 7 Feb 2017 08:22:44 +0000 (10:22 +0200)]
Mention removed ThreadLocal.setInheritable in release notes (#8466)
Fixes vaadin/framework8-issues#594
Leif Åstrand [Tue, 7 Feb 2017 08:07:07 +0000 (10:07 +0200)]
Use thread-safe collections for VaadinService listeners (#7037)
Fixes #7250
Leif Åstrand [Tue, 7 Feb 2017 07:48:33 +0000 (09:48 +0200)]
Make one-arg addColumn use natural sort for mutually comparable values (#8458)
Fixes #8371
Fixes #8128
Teemu Suo-Anttila [Mon, 6 Feb 2017 14:20:46 +0000 (16:20 +0200)]
Add missing ScreenshotRule to Spring integration test (#8455)
caalador [Mon, 6 Feb 2017 12:55:14 +0000 (14:55 +0200)]
Fix problem with re-opening the popup (#8446) (#8451)
* Fix problem with re-opening the popup (#8446)
Fixed problem that disables opening of popup
after closing it by clicking the datefield-button.
* Fix issue #8446 in compatibility version PopupDateField also.
Henri Sara [Mon, 6 Feb 2017 10:36:14 +0000 (12:36 +0200)]
Add screenshots and workaround for Firefox 45 (#8450)
Henri Sara [Mon, 6 Feb 2017 10:06:35 +0000 (12:06 +0200)]
Add Firefox 45 workaround in ComboBoxElement (#8449)
Henri Sara [Sat, 4 Feb 2017 18:23:10 +0000 (20:23 +0200)]
Disable test method on which build got stuck. (#8445)
Ilia Motornyi [Fri, 3 Feb 2017 15:28:07 +0000 (17:28 +0200)]
Fix JBoss 6 integration tests
Henri Sara [Fri, 3 Feb 2017 13:54:45 +0000 (15:54 +0200)]
Add Firefox 45 screenshots (#8438)
caalador [Fri, 3 Feb 2017 11:59:24 +0000 (13:59 +0200)]
Fix exception on remove column. (#8432)
Schedule column ordering so that possible onUnregister methods get run first.
Henri Sara [Fri, 3 Feb 2017 11:43:08 +0000 (13:43 +0200)]
Update ValoThemeTest screenshots (#8431)
Aleksi Hietanen [Fri, 3 Feb 2017 11:40:54 +0000 (13:40 +0200)]
Add isValid to Binder (#8274)
* Add isValid to Binder
isValid enables you to check the current validation
status of a given Binder, without firing events or invoking
handlers.
This patch also clarifies the javadocs of StatusChangeEvents'
hasValidationErrors.
* Throw in Binder.isValid if no bean is set and bean validators exist
* Add test cases to BinderTest
Aleksi Hietanen [Fri, 3 Feb 2017 11:27:51 +0000 (13:27 +0200)]
Add selection methods to grid that delegate to its selection model (#8315)
* Add selection methods to grid that delegate to the selection model
* Merge remote-tracking branch 'github/master' into 577-alt
* Remove getFirstSelected, isSelected
caalador [Fri, 3 Feb 2017 11:18:54 +0000 (13:18 +0200)]
Fix absolute layout component resize test (#8429)
Fix test checking for left:auto by testing the actual wrapper width
that should change.
Henri Sara [Fri, 3 Feb 2017 11:15:13 +0000 (13:15 +0200)]
Fix some broken tests and ComboBoxElement (#8430)
Artur [Fri, 3 Feb 2017 07:41:35 +0000 (09:41 +0200)]
Run tests on Firefox 45 (#8428)
* Run tests on Firefox 45
Denis [Thu, 2 Feb 2017 20:07:21 +0000 (22:07 +0200)]
Add Grid editor events. (#8365)
* Migrate v7 Grid tests. Next round.
Fixes #8419
* Add Grid editor events.
Fixes #8202.
caalador [Thu, 2 Feb 2017 12:39:52 +0000 (14:39 +0200)]
Add default getEmptyValue for MultiSelect interface (#8420) (#8421)
* Add deafult getEmptyValue for MultiSelect interface (#8420)
Added an default implementation for getEmptyValue to the
MultiSelect interface.
Ilia Motornyi [Thu, 2 Feb 2017 12:23:26 +0000 (14:23 +0200)]
Typo fix; screenshots update.
Artur [Thu, 2 Feb 2017 12:02:09 +0000 (14:02 +0200)]
Add header required by docs site (#8425)
* Add header required by docs site
caalador [Thu, 2 Feb 2017 12:01:19 +0000 (14:01 +0200)]
Add scrollTo methods to Grid (#8203) (#8410)
* Add scroll methods to serverside grid (#8203)
Added scrollToTop(), scrollToEnd() and scrollTo(int row)
* Fix scrolling to view of opened details (#8203)
Removed dependency for DetailsManagerConnector from GridConnector.
GridConnector now handles one off listeners.
* Rename detailsRefresh to better show that it's one-off.
Add missing copyright header.
Denis [Thu, 2 Feb 2017 10:50:09 +0000 (12:50 +0200)]
Grid tests migration. Next round. (#8412)
* Grid tests migration. Next round.
Fixes #8373
Teemu Suo-Anttila [Thu, 2 Feb 2017 10:48:02 +0000 (12:48 +0200)]
Handle system properties for failsafe plugin (#8414)
* Handle system properties for failsafe plugin
Leif Åstrand [Thu, 2 Feb 2017 10:33:57 +0000 (12:33 +0200)]
Add helpers for dealing with columns based on its id (#8411)
* Add helpers for dealing with columns based on its id
setColumns(Column...) is removed since it's not possible to re-add a
removed column instance.
Fixes #8361
Artur [Thu, 2 Feb 2017 07:28:33 +0000 (09:28 +0200)]
Make it easy to invoke ServerRpc methods as part of unit tests (#8346)
Executing RPC methods is useful when testing component interaction with
the server. Not only inside the framework but also when creating add-ons
and applications.
Pekka Hyvönen [Thu, 2 Feb 2017 07:22:41 +0000 (09:22 +0200)]
Require Maven 3.1 or newer for uitest (#8418)
Pekka Hyvönen [Wed, 1 Feb 2017 17:13:08 +0000 (19:13 +0200)]
Replace FontAwesome with Vaadin Icons (#8208)
* Include FontAwesome by default for easier migration
* Fix JSComponentLoadingIndicatorTest
Fixes #7979
Addresses part of #8219
Teemu Suo-Anttila [Wed, 1 Feb 2017 15:17:15 +0000 (17:17 +0200)]
Refactor testing of the framework (#8393)
* Integration tests moved from uitest to separate test modules
* Run TB4 tests with maven profile
* Remove old ant/ivy build scripts from uitest
* Add 'needs-ssh' test category for reconnection test
* Add default values for testing and validation builds
* Add placeholder build.xml with instructions to run Maven
Pekka Hyvönen [Wed, 1 Feb 2017 14:49:36 +0000 (16:49 +0200)]
Update release notes for 8.0.0.beta2 (#8402)
* Update release notes for 8.0.0.beta2
Leif Åstrand [Wed, 1 Feb 2017 13:30:57 +0000 (15:30 +0200)]
Make Grid add columns based on bean properties (#8392)
* Make Grid add columns based on bean properties
The property set concept used for Binder is slightly generalized and
used by Grid as well to support similar functionality.
Fixes vaadin/framework8-issues#250
Denis [Wed, 1 Feb 2017 13:28:40 +0000 (15:28 +0200)]
Introduce Binder.addFialdValueChangeListener (#8273)
Fixes #8273
Leif Åstrand [Wed, 1 Feb 2017 09:09:04 +0000 (11:09 +0200)]
Add a maven plugin for formatting according to Eclipse settings
Running formatter:format will format all files in a submodule using an
embedded Eclipse compiler (based on Neon SR1)
according to the regular formatting settings file.
Teemu Suo-Anttila [Tue, 31 Jan 2017 20:04:07 +0000 (22:04 +0200)]
Revert widget-set-testutil parent change (#8404)
* Revert widget-set-testutil parent change
Teemu Suo-Anttila [Tue, 31 Jan 2017 20:03:59 +0000 (22:03 +0200)]
Add test for compiling a widgetset that inherits Vaadin7WidgetSet (#8403)
* Add test for compiling a widgetset that inherits Vaadin7WidgetSet
* Remove unnecessary dependency management block
* Minor style fixes
Ilia Motornyi [Tue, 31 Jan 2017 11:49:15 +0000 (13:49 +0200)]
Fix documentation examples
caalador [Tue, 31 Jan 2017 11:25:44 +0000 (13:25 +0200)]
Add styling to the unsupported browser page (#570) (#8354)
caalador [Tue, 31 Jan 2017 07:16:19 +0000 (09:16 +0200)]
Patameterize the ValueChangeListeners for rebuilt fields (#8369) (#8388)
* Patameterize the ValueChangeListeners for rebuilt fields (#8369)
Listeners are now defined with the correct type parameter for
each field type so the event.getValue() is what one would expect.
Leif Åstrand [Tue, 31 Jan 2017 07:15:50 +0000 (09:15 +0200)]
Refactor editor API to use Binding instead of a component generator (#8368)
Fixes #8366
Artur [Mon, 30 Jan 2017 21:34:06 +0000 (23:34 +0200)]
Fix userOriginated state for CheckBox ValueChangeEvent from the user (#8383)
* Fix userOriginated state for CheckBox ValueChangeEvent from the user
Denis [Mon, 30 Jan 2017 18:44:18 +0000 (20:44 +0200)]
Make compatibility aliases for isRequiredIndicatorVisible() (#8372)
* Make compatibility aliases for isRequiredIndicatorVisible()
Fixes #8337
Henri Sara [Mon, 30 Jan 2017 14:29:15 +0000 (16:29 +0200)]
Increase threshold in server side performance test for stability (#8370)
Leif Åstrand [Mon, 30 Jan 2017 13:25:38 +0000 (15:25 +0200)]
Add reference to Column.setId in javadocs of methods accepting col ids (#8360)
Ilia Motornyi [Mon, 30 Jan 2017 12:03:43 +0000 (14:03 +0200)]
Fix NPE when grid is sorted by column with null values
Fixes #8282
caalador [Mon, 30 Jan 2017 06:16:44 +0000 (08:16 +0200)]
Add convenience constructors to new components (#598) (#8351)
Add convenience constructors (#598)
Added convenience constructors to ui components that have
been reimplemented for Vaadin 8
Leif Åstrand [Sat, 28 Jan 2017 13:06:40 +0000 (15:06 +0200)]
Add regression tests for HasValue.getOptionalValue (#8352)
Denis [Fri, 27 Jan 2017 13:44:03 +0000 (15:44 +0200)]
Introduce empty selection functionality for NativeSelect. (#8336)
* Introduce empty selection functionality for NativeSelect.
Fixes vaadin/framework8-issues#545
Denis [Fri, 27 Jan 2017 11:13:58 +0000 (13:13 +0200)]
Allow to disable user selection in the grid model. (#8345)
* Allow to disable user selection in the grid model.
Fixes vaadin/framework8-issues#546
Giovanni Lovato [Fri, 27 Jan 2017 10:35:17 +0000 (11:35 +0100)]
Add a default getOptionalValue() to HasValue (#8324)
Fixes #8323
caalador [Fri, 27 Jan 2017 07:12:03 +0000 (09:12 +0200)]
Add convenience constructors for TextField (#597) (#8341)
Add convenience constructors for TextField (#597)
Added TextField convenience constructors similar to the
ones found in Vaadin framework 7
Aleksi Hietanen [Fri, 27 Jan 2017 07:07:29 +0000 (09:07 +0200)]
Implement GridSortOrder and SortOrderBuilders (#8338)
Ilia Motornyi [Thu, 26 Jan 2017 14:27:54 +0000 (16:27 +0200)]
JspIntegrationTest as a separate module (#8228)
Part of vaadin/framework8-issues#539
caalador [Thu, 26 Jan 2017 07:43:41 +0000 (09:43 +0200)]
Fix some faulty javaDoc names
Denis [Wed, 25 Jan 2017 14:34:02 +0000 (16:34 +0200)]
Extract Bean validation logic from Binder to BeanValidationBinder
Fixes #8253
Artur [Wed, 25 Jan 2017 13:52:11 +0000 (15:52 +0200)]
Update @HtmlImport javadoc to match implementation (#8331)
Denis [Wed, 25 Jan 2017 12:34:38 +0000 (14:34 +0200)]
Show unsupported browser page for FF version less than 45. (#8328)
Fixes vaadin/framework8-issues#569
Teemu Suo-Anttila [Wed, 25 Jan 2017 10:27:44 +0000 (12:27 +0200)]
Add APIs to inform components of stale objects in DataProvider (#8271)
* Add DataProvider refreshItem for single item update
* Add 'id' concept for DataProviders
This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.
* Add refresh logic to Grid SelectionModels
* Remove broken equals and hashCode
* Refresh KeyMapper, clean up some methods
* Fix UI.access in test
* Fix tests and Grid single selection model
* Do clean up before replacing data provider
* Check correct variable for null value
* Fix other selects, add generic tests
* Code style fixes, removed assert
* Merge remote-tracking branch 'origin/master' into 286_refresh_items
* Fix documentation for refreshing an item
* Improve introduction chapter, minor clarifications
* Merge remote-tracking branch 'origin/master' into 287_refresh_items
* Add missing parameters in unit tests
Artur [Wed, 25 Jan 2017 09:27:49 +0000 (11:27 +0200)]
Support loading of HTML imports using @HtmlImport (#8301)
Note that not all browsers yet support HTML imports. If a polyfill
is needed to load HTML imports, it must be loaded before HTML Imports
can be loaded. There is no automatic loading of any polyfills.
Leif Åstrand [Wed, 25 Jan 2017 07:44:16 +0000 (09:44 +0200)]
Refactor how DataCommunicator passes filters to its DataProvider (#8309)
The immediate benefit of this change is that ComboBox doesn't have to do
any wrapping when a ListDataProvider is set. A secondary benefit is that
a bunch of redundant type parameters and unsafe casts can be removed.
This is one of many steps towards #8245
Denis [Wed, 25 Jan 2017 07:36:29 +0000 (09:36 +0200)]
Use non-Generic SortOrder in Query. (#8239)
* Use non-Generic SortOrder in Query.
Fixes #8215
Leif Åstrand [Wed, 25 Jan 2017 07:23:09 +0000 (09:23 +0200)]
Allow distinct configurable filter and wrapped filter types (#8322)
* Allow distinct configurable filter and wrapped filter types
This enables implementing the use case that was already described
towards the end of datamodel-providers.asciidoc.
Also swaps the order of the callback type parameters to make all three
match the order of the ConfigurableFilterDataProvider type parameters.
Artur [Wed, 25 Jan 2017 07:09:02 +0000 (09:09 +0200)]
Serve VAADIN files also from META-INF/resources (#8286) (#8320)
* Serve VAADIN files also from META-INF/resources (#8286)
Fixes #8206
Leif Åstrand [Wed, 25 Jan 2017 06:36:25 +0000 (08:36 +0200)]
Add static helpers for creating callback data providers (#8314)
Cannot overload the same create method for this purpose since it
conflicts with T... overload. Each case is instead given its own
descriptive but still discoverable method name.
Leif Åstrand [Tue, 24 Jan 2017 16:22:14 +0000 (18:22 +0200)]
Update data provider documentation to describe the new design (#8317)
Artur [Tue, 24 Jan 2017 13:41:15 +0000 (15:41 +0200)]
Support using multiple @JavaScript and @StyleSheet annotations on a class (#8293)
Leif Åstrand [Tue, 24 Jan 2017 10:03:17 +0000 (12:03 +0200)]
Make BeanBinderPropertySet exclude Object properties (#8306)
* Make BeanBinderPropertySet exclude Object properties
Leif Åstrand [Tue, 24 Jan 2017 08:38:57 +0000 (10:38 +0200)]
Unify container wrapping (#8312)
* Method names unified to withXyzFilter
* withConfigurableFilter moved to DataProvider
* Remove DataProviderWrapper.convert since it does the same as
DataProvider.withConvertedFilter
* Make javadocs slightly more consistent
* Make type parameters consistent
Denis [Tue, 24 Jan 2017 07:26:03 +0000 (09:26 +0200)]
Use getFirstSelectedItem() instead of getFirstSelected(). (#8308)
* Use getFirstSelectedItem() instead of getFirstSelected().
Fixes vaadin/framework8-issues#596
caalador [Mon, 23 Jan 2017 15:11:47 +0000 (17:11 +0200)]
Fix absolute layout component sizing on size change (#8269)
* Fix absolute layout component sizing on size change (#8255, #8256, #8257)
Changing from relative to defined size leaves the component positioned wrong,
also changing from defined size to relative size leaves the component in the
wrong position with the wrong size.
Change makes the wrapper rerun setChildWidgetPosition() that adds/removes
necessary css definitions to/from the cssPosition String.
* Clean test sources according to review.
Artur [Mon, 23 Jan 2017 15:05:01 +0000 (17:05 +0200)]
Remove custom preloading support and load scripts using async=false (#8291)
When using async='false' for scripts created by scripts
the execution order is guaranteed to be the same as the order the
script tags are created
Fixes #5339, #3631
Leif Åstrand [Mon, 23 Jan 2017 13:52:54 +0000 (15:52 +0200)]
Fix BeanBinderPropertySet to not deserialize into multiple instances (#8305)
* Fix BeanBinderPropertySet to not deserialize into multiple instances