Patrik Lindström [Thu, 23 Jun 2016 13:00:52 +0000 (16:00 +0300)]
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.
Artur Signell [Mon, 29 Aug 2016 19:11:23 +0000 (22:11 +0300)]
Fix animation end listeners so they are always removed (#17903)
Fixes ComboBox suggestion popup so that it will not automatically
close when clicking the popup button, if the user happened to
double click on the button earlier.
Matti Tahvonen [Mon, 22 Aug 2016 15:30:59 +0000 (18:30 +0300)]
Added a fallback value for useragent (#20172)
Without this change, some browsers, like GoogleBot, don't properly render the page.
Instead of weird JS exception (and hit to server with 404) we should at least try
to render the app with all browser. As webikit/chromium based browsers are
nowadays most popular, falling back to "safari" permutation.
Henri Sara [Fri, 12 Aug 2016 06:46:30 +0000 (09:46 +0300)]
Remove unused GWT dependencies
As vaadin-client-compiler dependens on gwt-dev, the gwt-dev dependencies
are either bundled in gwt-dev or specified as transitive dependencies
for it, so there is no need to specify them again for
vaadin-client-compiler
adam [Mon, 8 Aug 2016 12:25:10 +0000 (15:25 +0300)]
Fix Grid height calculation when HeightMode.ROW (#20104, #20074)
When Grid is inside of a Tab (Tabsheet or Accordion) and
height mode is set to HeightMode.ROW, layout happens
before row height is known. To fix that, an event is fired
and a handler starts a layout after everything is calculated.
adam [Mon, 18 Jul 2016 13:21:52 +0000 (16:21 +0300)]
Fixing TabSheet scrolling within SplitPanel (#20052)
This patch fixes an issue with disappearing tabs in a TabSheet placed in a
SplitPanel.
Scrolling a tab into view needs to be done after layout has happened. Otherwise
the available width for TabSheet is unknown and causes unexpected behaviour.
Fixed the compare filter to handle subclasses (#17169)
Earlier the comparision worked only if the item value was a subclass of
the value in comparator, but not in the other way around. Now the
compairision works if the one is a subclass of the other and both
implements Comparable.
Henri Sara [Wed, 13 Jul 2016 12:37:13 +0000 (15:37 +0300)]
Fix and optimize TabsheetScrollingTest
The test was based on the assumption that only the visible tabs are
in the DOM of the tab bar. This assumption was no longer true.
Furthermore, the test iterated over all tabs which led to performance
issues especially on IE8.
adam [Thu, 30 Jun 2016 09:48:06 +0000 (12:48 +0300)]
Fixing drag and drop file upload issue on windows (#19809)
Folder upload is not supported by most of the browsers and can cause
StreamVariable methods not fire on some configurations.
This fix tries to detect and prevent uploading of folders.
Artur Signell [Mon, 11 Jul 2016 13:05:30 +0000 (16:05 +0300)]
Support static inner classes when reading/writing declarative files (#20038)
Uses outer class name as package name for static inner classes. When reading,
there is no way to know that the class is an inner class so only when creating
a class fails, an inner class is tried as a backup.
Henri Sara [Wed, 13 Jul 2016 06:37:48 +0000 (09:37 +0300)]
Disable tooltip tests for Firefox.
Since the fix for #13370 which causes tooltips to react to mouseOut,
TB tests for tooltips fail on Firefox because of an extraneous
mouseOut event from FirefoxDriver.
Matti Tahvonen [Fri, 1 Jul 2016 14:43:01 +0000 (17:43 +0300)]
Updated README
Updated readme file to use Vaadin Framework instead of plain Vaadin, as Vaadin is a
company name nowadays. Also updated some links, formatting and order of the
instructions. "maven -> mvn" in CLI instructions. Removed obsolete Maven
instructions about versioning.
adam [Thu, 16 Jun 2016 07:59:40 +0000 (10:59 +0300)]
Fixing ComboBox page flip on trackpad scroll (#19704)
Trackpad scroll gesture produces a large amount of wheel events causing
the same amount of flips on ComboBox. This fix tries to control page flips
in a way that it would feel more natural to use it.
Marko Gronroos [Fri, 20 May 2016 11:44:42 +0000 (14:44 +0300)]
Scaled images for print edition and fixed errors up to the beginning of layouts chapter (#19835). Also major revision of Tree, CustomField, and layouts overview.
Ingo Kegel [Tue, 28 Oct 2014 10:45:19 +0000 (13:45 +0300)]
New login form (#8171)
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Jonni Nakari [Wed, 30 Mar 2016 20:22:14 +0000 (23:22 +0300)]
Suggestion pop-up width API for ComboBox (#19685)
Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now
has three different width modes:
1. Legacy "null"-mode: width is determined by the longest item
caption for each page. This looks & feels like the old implementation.
This is the default mode
2. Relative to the ComboBox. e.g. 100%
3. fixed width using any CSS definition
Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
patrik [Tue, 17 May 2016 06:17:54 +0000 (09:17 +0300)]
Deprecate public bitmask methods in MarginInfo (#17565)
These methods are superceded by a copy constructor. getBitMask() and the
bitmask constructor are used in a few places around the framework, and
need to be refactored out - the MarginInfo class is already serializable
and can be used in lieu of the raw bitmask in the states of these
objects.