Remove unnecessary full classnames and parenthesis from code (#8681)
This change aims to reduce the number of false positives when comparing Vaadin 7 compatibility package in Vaadin 8 and actual Vaadin 7.7 branch. Conflicting parts are moved to imports as much as possible. Files have been formatted with same Eclipse version.
Call "destroy" instead of "destory" in JavaScriptRenders (#8263)
* Call "destroy" instead of "destory" in JavaScriptRenders
For backwards compatibility, calls "destory" if no "destroy" exists
Fixes #8162
* Merge branch '7.7' into _js-renderer-destory
* Merge branch '7.7' into _js-renderer-destory
* Merge branch '7.7' into _js-renderer-destory
* Merge branch '7.7' into _js-renderer-destory
* Merge branch '7.7' into _js-renderer-destory
* Improve Grid extendability (#8342).
Find GridState field type using getField() instead of getDeclaredField() so that the field could be found in superclass as well.
Change-Id: I33996f45e848575d11bb206c6a1d30d19e514968
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
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.
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.
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
- 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
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
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
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
Revert "Use widget set specified by init parameter (#20276)"
Breaks all use of AppWidgetset together with
@VaadinServletConfiguration
This reverts commit 516c428ca1.
Change-Id: I9e9bd792479ee1f4dde08c5d2a4d87e06b77f519
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
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
The yuicompressor package is needed for optimizing the CSS output,
something which is not needed for on-the-fly compilation in
development mode.
Removing yuicompressor and its dependencies reduces the size of all
WAR files by 1.6MB
Change-Id: Ie5058ae9c22f580d358e2cd7d9d34a8f39b1feac
Fix ComboBox paging when number of items equals page length (#20213)
When pageLength == number of items, no paging should be shown except
if null selection is allowed, then there should be a second page
with one item.
Change-Id: I01c00f0c9d75a1dbb80d11b07c37c8ad7334ea07
Discard for DateField when the data source contains null (#8069)
Earlier discard did not work (#8069) if the data source
contained null and the user entered an invalid value for date fields.
The discard logic has been changed such that the error indicators and
internal state of the date field is cleared also if the value entered by
the user is invalid and the data source is null.
attach() updates the value from the data source in the same way as
discard. The old logic in attach is retained.
Change-Id: I5d798a2fdc3d2f0e82a037ea3cb2f57b6432039e