Adam Wagner [Fri, 27 Jan 2017 08:59:24 +0000 (10:59 +0200)]
Improve Grid extendability (#8343)
* Improve Grid extendability (#8342).
Find GridState field type using getField() instead of getDeclaredField() so that the field could be found in superclass as well.
caalador [Mon, 23 Jan 2017 11:29:39 +0000 (13:29 +0200)]
Fix absolute layout component sizing on size change in Vaadin7 (#8304)
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.
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.
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.
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
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.
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.
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.
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.
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
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).
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).
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)
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.
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.
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.
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.