]>
source.dussan.org Git - vaadin-framework.git/log
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
Artur [Mon, 23 Jan 2017 13:05:52 +0000 (15:05 +0200)]
Code cleanup: Move dependency loading logic to a separate class (#8290)
Leif Åstrand [Mon, 23 Jan 2017 12:59:11 +0000 (14:59 +0200)]
Add shorthands to ComboBox for setting a ListDataProvider
Leif Åstrand [Mon, 23 Jan 2017 12:11:39 +0000 (14:11 +0200)]
Remove outdated filtering concepts (#8289)
* Remove outdated filtering concepts
withFilter is removed since filters are supposed to be set as state in
the data provider instead of by wrapping.
AppendabileFilterDataProvider is removed since the data provider is
supposed to do any appending when updating its own state instead of
through wrapping.
This is one of many steps towards #8245
Aleksi Hietanen [Mon, 23 Jan 2017 11:26:09 +0000 (13:26 +0200)]
Add migration guide to documentation (#8283)
* Migration guide 1st draft
* Restructure and improve migration guide
* Update migrating-to-vaadin8.asciidoc
Leif Åstrand [Sun, 22 Jan 2017 19:50:46 +0000 (21:50 +0200)]
Add ListDataProvider shorthands for filter conversion (#8279)
Also updates ComboBox.setItems to use these new shorthands
This is one of many steps towards #8245
Alejandro [Sat, 21 Jan 2017 07:50:59 +0000 (09:50 +0200)]
Updated tutorial to v.8.0.0.beta1 (#8298)
Leif Åstrand [Fri, 20 Jan 2017 08:34:33 +0000 (10:34 +0200)]
Add a data provider wrapper with a configurable filter (#8280)
* Add a data provider wrapper with a configurable filter
This is one of many steps towards #8245
Denis [Fri, 20 Jan 2017 08:13:25 +0000 (10:13 +0200)]
Overload AbstarctComponent.setDescription() with content mode parameter (#8252)
* Overload AbstarctComponent.setDescription() with content mode parameter
Fixes #8185
Denis [Thu, 19 Jan 2017 08:01:03 +0000 (10:01 +0200)]
Introduce DateTimeFile and InlineDateTimeField. (#8218)
* Introduce DateTimeFile and InlineDateTimeField.
Fixes #8132
* Correct and provide declarative tests.
* Provide a date converter and UI tests.
Leif Åstrand [Thu, 19 Jan 2017 07:12:24 +0000 (09:12 +0200)]
Change BackEndDataProvider into an interface (#8268)
* Change BackEndDataProvider into an interface
BackEndDataProvider is now an interface with methods for setting
sorting options based on SortOrder instances.
AbstractBackEndDataProvider stores sorting options, combines them with
the sorting provided in the query and invokes its own abstract fetch and
size methods.
CallbackDataProvider implements a BackEndDataProvider based on two
lambdas.
This is one of many steps towards #8245
Leif Åstrand [Thu, 19 Jan 2017 06:56:06 +0000 (08:56 +0200)]
Allow setting filters directly in ListDataProvider (#8267)
* Allow setting filters directly in ListDataProvider
This is one of many steps towards #8245
Matti Tahvonen [Wed, 18 Jan 2017 13:14:16 +0000 (15:14 +0200)]
Simplified javadoc (#8272)
* Simplified javadoc
Sami Ekblad [Wed, 18 Jan 2017 07:09:54 +0000 (09:09 +0200)]
Better instructions in widgetset optimization view in the debug window. (#8261)
* Better instructions in widgetset optimization view in the debug window.
The generated example code is ok, but steps to use them are not obvious.
Added more details to debug window instructions to make it clear what steps are
needed to optimize the widgetset.
Change-Id: Id46632697044223092ef772f98b1fcd69c28d0da
Leif Åstrand [Tue, 17 Jan 2017 14:22:55 +0000 (16:22 +0200)]
Make data providers statefull with regards to default sort orders (#8247)
* Make data providers statefull with regards to default sort orders
This is one of many steps towards #8245
rogozinds [Tue, 17 Jan 2017 14:13:06 +0000 (06:13 -0800)]
Add getHeaderCellByCaption method to tb-api GridElement (#8248)
* Add getHeaderCellByCaption method to tb-api GridElement
Denis [Mon, 16 Jan 2017 14:42:03 +0000 (16:42 +0200)]
Add separate modules to test Bean Validation lib necessity. (#8249)
* Add separate modules to test Bean Validation lib necessity.
Fixes #8141
Denis [Mon, 16 Jan 2017 11:12:21 +0000 (13:12 +0200)]
Introduce Binder.setReadOnly() (#8241)
Closes #8232
Leif Åstrand [Mon, 16 Jan 2017 11:10:12 +0000 (13:10 +0200)]
Fix comments in serializable functional interfaces (#8246)
Leif Åstrand [Mon, 16 Jan 2017 08:43:57 +0000 (10:43 +0200)]
Inherit settings from parent pom (#8240)
Without this, maven.compiler.source will not be set to 1.8 which
sometimes seems to make Eclipse think it should use Java 5 compiler
settings for the project, causing various issues.
Alejandro [Fri, 13 Jan 2017 21:22:17 +0000 (23:22 +0200)]
Removed obsolete 'Setting up the Development Environment' link (#8236)
* Removed obsolete 'Setting up the Development Environment' link in tutorial'
Matti Tahvonen [Fri, 13 Jan 2017 15:07:36 +0000 (17:07 +0200)]
Support for HTML5 push/replaceState for proper deep linking features (#8116)
* Added support for HTML5 push/replaceState for proper deep linkin features
* Automated test script now works at least on chrome
* Uses html5 push/popstate to implement uri fragment feature
* fire legacy fragment change events also via popstate events rpc calls
* send new fragments via pushstate mechanism
* formatting
* Formatting and adding test and workaround for IE bug
* Formatting and depracated UriFragmentListener
* Aligned naming in the new API
* Ignored IE due to web driver bug
Tested a workaround with javascript based window.location.href fetch,
but that don’t seem to work stable enough.
Leif Åstrand [Fri, 13 Jan 2017 14:07:53 +0000 (16:07 +0200)]
Use vaadin-snapshots for test projects so that context menu is found (#8237)
Denis [Fri, 13 Jan 2017 10:37:54 +0000 (12:37 +0200)]
Add "deselect allowed" feature to the Grid. (#8227)
* Add "deselect allowed" feature to the Grid.
Fixes #8149
Artur [Fri, 13 Jan 2017 08:26:11 +0000 (10:26 +0200)]
Support for defining the root element for Javascript components (#8143)
Fixes #7005
Leif Åstrand [Fri, 13 Jan 2017 08:08:01 +0000 (10:08 +0200)]
Replace Listing with HasDataProvider and HasFilterableDataProvider (#8122)
* Replace Listing with HasDataProvider and HasFilterableDataProvider
The type parameters of the Listing interface does in practice mean that
it isn't useful for anything. This patch replaces that interface with
separate types for components that require filterable data providers and
components that support any kind of data provider.
The setItem methods are extracted to a common interface that is also
directly implemented by AbstractListing.
Teemu Suo-Anttila [Fri, 13 Jan 2017 07:32:41 +0000 (09:32 +0200)]
Fix TestBench API imports (#8112)
* Fix TestBench API imports, move functionality from custom elements
* Fixes to TestBench APIs and JavaDocs
* Merge remote-tracking branch 'origin/master' into 578_tbapi_cleanup
* Fix method name in CheckBoxGroupTest
* Remove unused custom element classes
* Implement getOptions using getOptionElements
* Replace setValue with setSelection in CheckBoxGroupElement
* Rename CheckBoxGroupElement getSelection to getValue
* Fix one last method
Leif Åstrand [Fri, 13 Jan 2017 07:10:21 +0000 (09:10 +0200)]
Avoid using Guava API in the documentation (#8231)
* Avoid using Guava API in the documentation
Aleksi Hietanen [Fri, 13 Jan 2017 06:36:51 +0000 (08:36 +0200)]
Include old value in ValueChangeEvent (#8229)
* Include old value in ValueChangeEvent
Juha Seppänen [Thu, 12 Jan 2017 13:43:30 +0000 (15:43 +0200)]
Use correct format for links in datamodel-overview (#8233)
Henri Sara [Thu, 12 Jan 2017 08:46:22 +0000 (10:46 +0200)]
Make server tests use fixed locale where needed (#8226)
Pekka Hyvönen [Thu, 12 Jan 2017 07:45:47 +0000 (09:45 +0200)]
Update CONTRIBUTING.md (#8225)
Mention "Allow edits from maintainers" checkbox.
Talk about pull requests instead of patches where it makes sense.
Leif Åstrand [Thu, 12 Jan 2017 07:22:50 +0000 (09:22 +0200)]
Integrate BeanBinder functionality into Binder (#8096)
* Integrate BeanBinder functionality into Binder
Pekka Hyvönen [Wed, 11 Jan 2017 18:27:37 +0000 (20:27 +0200)]
Fix broken Grid documentation addColumn setHeaderCaption (#8213)
* Fix broken Grid documentation addColumn setHeaderCaption
Leif Åstrand [Wed, 11 Jan 2017 18:27:11 +0000 (20:27 +0200)]
Remove unused private method (#8224)
* Remove unused private method
Artur [Wed, 11 Jan 2017 11:45:51 +0000 (13:45 +0200)]
Import element tests from TestBench (#8117)
Contains some additional tests and element changes based on review.
Henri Sara [Tue, 10 Jan 2017 13:57:53 +0000 (15:57 +0200)]
Fix OSGi configuration for Liferay 7 (#8204)
* Fix OSGi configuration for Liferay 7
Aleksi Hietanen [Tue, 10 Jan 2017 13:56:37 +0000 (15:56 +0200)]
Correctly reset DataCommunicator when its DataProvider is changed (#8138)
* Correctly reset DataCommunicator when its DataProvider is changed
* Improve ReplaceDataProviderTest
* Remove return type from AbstractListing.readItems
Henri Sara [Tue, 10 Jan 2017 13:35:32 +0000 (15:35 +0200)]
Exclude GAE packages from OSGi imports (#8205)
* Exclude GAE packages from OSGi imports
Fixes #8092
Aleksi Hietanen [Tue, 10 Jan 2017 12:23:53 +0000 (14:23 +0200)]
Fix broken method signature of Grid.addColumn (#8180)
Fixes #8129
Denis [Tue, 10 Jan 2017 10:22:34 +0000 (12:22 +0200)]
Refactor AbstractDateField. (#8146)
First round for #8132.
Leif Åstrand [Tue, 10 Jan 2017 10:22:22 +0000 (12:22 +0200)]
Allow AbstractField to override value equality (#8201)
* Allow AbstractField to override value equality
Fixes #8089
Pekka Hyvönen [Tue, 10 Jan 2017 06:36:09 +0000 (08:36 +0200)]
Remove all referrals to book examples (#8163)
Minor documentation fixes.
Pekka Hyvönen [Mon, 9 Jan 2017 19:40:08 +0000 (21:40 +0200)]
Fix bad documentation for TwinColSelect (#8183)
Pekka Hyvönen [Mon, 9 Jan 2017 15:03:52 +0000 (17:03 +0200)]
Fix broken links in documentation (#8182)
Teemu Suo-Anttila [Mon, 9 Jan 2017 14:58:48 +0000 (16:58 +0200)]
Clean up pom.xml files in vaadin-test (#8181)
Use plugin management for maven plugin, remove version numbers
Ilia Motornyi [Mon, 9 Jan 2017 13:33:01 +0000 (15:33 +0200)]
Jouni's diagrams source file to keep in place.
rogozinds [Mon, 9 Jan 2017 11:46:07 +0000 (03:46 -0800)]
Add maven-source plugin to testbench-api (#8167)
Teemu Suo-Anttila [Mon, 9 Jan 2017 11:41:30 +0000 (13:41 +0200)]
Fix vaadin-test and all its submodules (#8076)
This patch applies following fixes:
* ContextMenu with correct version for Vaadin 8
* Correctly skip install plugin for test submodules
* Make widgetset-test-util a test depdendency, don't use test-jar
* Fix vaadin-test project structure and dependencies
* Clean up testutil pom
* Add README.md
Leif Åstrand [Mon, 9 Jan 2017 09:12:59 +0000 (11:12 +0200)]
Fix syntax error in pom.xml
Leif Åstrand [Mon, 9 Jan 2017 08:21:13 +0000 (10:21 +0200)]
Remove uriFragmentChanged from the public API of UriFragmentManager (#8164)
It's an implementation detail that UriFragmentManager uses a
UriFragmentChangedListener, so this shouldn't be exposed in its public
API.
Ilia Motornyi [Mon, 9 Jan 2017 07:54:09 +0000 (09:54 +0200)]
New documentation diagrams (#8156)
Fixes texts and a couple errors in IDEA, components and layout chapters.
Pekka Hyvönen [Thu, 5 Jan 2017 17:20:53 +0000 (19:20 +0200)]
Update documentation for Grid
Part of vaadin/framework8-issues#538
Leif Åstrand [Thu, 5 Jan 2017 16:22:50 +0000 (18:22 +0200)]
Add LocalDateToDateConverter (#8147)
* Add LocalDateToDateConverter
Pekka Hyvönen [Thu, 5 Jan 2017 16:09:32 +0000 (18:09 +0200)]
Update component docs for 8 except Grid
Henri Sara [Thu, 5 Jan 2017 15:38:33 +0000 (17:38 +0200)]
Update layout chapter of the documentation for version 8 (#8154)
The SplitPanel chapter still uses a Tree in its example.
Denis [Thu, 5 Jan 2017 13:47:23 +0000 (15:47 +0200)]
Migrate Grid UI tests P4 (#8133)
Fixes vaadin/framework8-issues#592
Ilia Motornyi [Thu, 5 Jan 2017 11:47:42 +0000 (13:47 +0200)]
Documentation/application screenshots update (#8137)
* Documentation/application screenshots update
* Avoid redundant autoboxing in BackEndDataProvider's size callback (#8127)
* Update general Component documentation
Part of vaadin/framework8-issues#538
* Documentation/application screenshots update
* Notification types fixed
* Merge branch 'documentation-screenshots-part1' of https://github.com/vaadin/framework into documentation-screenshots-part1
Leif Åstrand [Thu, 5 Jan 2017 08:27:22 +0000 (10:27 +0200)]
Restore all current instance values after running access tasks (#8131)
* Restore all current instance values after running access tasks
Fixes vaadin/framework8-issues#593
Pekka Hyvönen [Wed, 4 Jan 2017 09:48:45 +0000 (11:48 +0200)]
Update general Component documentation
Part of vaadin/framework8-issues#538
Aleksi Hietanen [Wed, 4 Jan 2017 09:22:13 +0000 (11:22 +0200)]
Avoid redundant autoboxing in BackEndDataProvider's size callback (#8127)
Denis [Wed, 4 Jan 2017 07:56:18 +0000 (09:56 +0200)]
Grid UI tests migration P3. (#8121)
* Grid UI tests migration P2.
Fixes vaadin/framework8-issues#588
* Grid UI tests migration P3.
Fixes vaadin/framework8-issues#589
* Merge branch 'master' into 589-grid-tests-migration
Conflicts:
uitest/src/main/java/com/vaadin/tests/components/grid/GridCellFocusOnResetSize.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridClientDataChangeHandler.java
* Update screenshot submodule reference.
Artur [Tue, 3 Jan 2017 11:00:37 +0000 (13:00 +0200)]
Fix typo in documentation anchor (#8130)
Artur [Tue, 3 Jan 2017 08:25:14 +0000 (10:25 +0200)]
Make it easy to run Sonar on the project (#8118)
Pekka Hyvönen [Tue, 3 Jan 2017 08:24:58 +0000 (10:24 +0200)]
Update remaining of application documentation for 8 (#8124)
Fixes vaadin/framework8-issues#580
Aleksi Hietanen [Tue, 3 Jan 2017 07:53:06 +0000 (09:53 +0200)]
Automatically complete custom bindings in BeanBinder#bindInstanceFields (#8012)
Closes vaadin/framework8-issues#511
Denis Anisimov [Thu, 22 Dec 2016 14:32:36 +0000 (16:32 +0200)]
Update test to behave correctly due changes in the text components.
Correction after migration fix for (#20469).
Johannes Dahlström [Tue, 2 Aug 2016 11:19:14 +0000 (14:19 +0300)]
Move Grid event handlers to a list, add method to add custom handlers
Change-Id: I2fe67ae961bfb0f7c44ba704346762a0faf6da2c
# Conflicts:
# client/src/main/java/com/vaadin/client/widgets/Grid.java
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
# Conflicts:
# client/src/main/java/com/vaadin/client/widgets/Grid.java
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
Denis Anisimov [Thu, 22 Dec 2016 11:01:04 +0000 (13:01 +0200)]
Add javadocs and @since for the #20469 migration patch.
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
# Conflicts:
# uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorBasicClientFeaturesWidget.java
Denis Anisimov [Thu, 22 Dec 2016 09:34:08 +0000 (11:34 +0200)]
Update @since tags for 7.7.5
Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f
Re-added back disappeared commit from 7.7.5 migration PR:
Mark TextField/TextArea as busy when a text change event is pending
(#20469)
Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
Denis [Mon, 2 Jan 2017 11:43:29 +0000 (13:43 +0200)]
Grid UI tests migration P2.
Fixes vaadin/framework8-issues#588
Pekka Hyvönen [Mon, 2 Jan 2017 11:40:48 +0000 (13:40 +0200)]
Update documentation, BoV chapters 1 - 5.3 (#8085)
* Update documentation chapters 1 - 5.3
Images and diagrams have not been updated,
but unnecessary images have been removed.
* Sync application declarative and architecture sections source code.
Screenshot image is updated to match the source code.
* Old datamodel image is removed.
* Ivy install image is removed.
* Remove unnecessary linking / reference
Denis [Mon, 2 Jan 2017 11:04:26 +0000 (13:04 +0200)]
Migrate Grid tests P1. (#8108)
* Migrate Grid tests P1.
Fixes vaadin/framework8-issues#586
Ilia Motornyi [Mon, 2 Jan 2017 09:32:29 +0000 (11:32 +0200)]
Partial javadocs fix for vaadin-server
Denis [Thu, 29 Dec 2016 08:59:02 +0000 (10:59 +0200)]
Correct DateField smoke test: use explicit locale.
Denis [Wed, 28 Dec 2016 15:29:53 +0000 (17:29 +0200)]
Provide a smoke test for a Form.
Fixes vaadin/framework8-issues#585
Olli Tietäväinen [Wed, 28 Dec 2016 13:31:24 +0000 (15:31 +0200)]
Converted old Framework TestBench test docs to markdown (#8084)
* Converted old Framework TestBench test docs to markdown
Denis [Wed, 28 Dec 2016 09:58:04 +0000 (11:58 +0200)]
Clean up DateField UI tests.
Fixes vaadin/framework8-issues#584
Denis [Wed, 28 Dec 2016 09:14:12 +0000 (11:14 +0200)]
Clean up SQL container tests. (#8091)
Only one UI smoke test for the SQL container (along with a Table).
Fixes vaadin/framework8-issues#582
Denis [Tue, 27 Dec 2016 14:37:43 +0000 (16:37 +0200)]
Clean up calendar tests. (#8094)
Pekka Hyvönen [Fri, 23 Dec 2016 06:31:23 +0000 (08:31 +0200)]
Remove caption from javadoc comment (#8080)
Pekka Hyvönen [Thu, 22 Dec 2016 14:26:12 +0000 (16:26 +0200)]
Listing must be a Component
Pekka Hyvönen [Thu, 22 Dec 2016 14:04:48 +0000 (16:04 +0200)]
Remove unused caption from Column constructor (#8077)
* Remove unused caption from Column constructor
Fixes #8063
Ilia Motornyi [Thu, 22 Dec 2016 12:13:23 +0000 (14:13 +0200)]
Partial javadocs fix for vaadin-shared (#8068)
Henri Sara [Thu, 22 Dec 2016 09:25:49 +0000 (11:25 +0200)]
Add TestBench API as an expected artifact in build report (#8075)
Also fixes a syntax error in the script.
Artur [Thu, 22 Dec 2016 08:24:01 +0000 (10:24 +0200)]
Include Framework Element API for TestBench in the project (#8014)
This makes it possible to use the latest Element classes in the
framework tests and to simplify the build process.
The license for the included element classes are changed to Apache2