Use window name "_self" with Page.setLocation (#12925)
This signals the client side to stop running so it will not eg.
flash a "session expired" dialog sent via push just before the
browser navigates away (see #12298). setLocation should thus
not be used to start downloads anymore.
Leif Åstrand [Mon, 24 Mar 2014 16:24:45 +0000 (18:24 +0200)]
Refactor to use the right Element class (#13287)
Changed implementations and APIs to use the non-deprecated Element class
wherever possible without breaking backwards compatibility.
* Methods defined in interfaces have not been touched.
* Return types have only been changed methods that should have no
existing third party callers (i.e. private, internal or @since 7.2)
* For methods that third party code might have overridden, the method
has been deprecated in favor of a new method that just delegates to the
old method.
* For methods that can't reasonably be overridden by third party code
(i.e. private, final, static, internal or @since 7.2), the parameter
type has been changed without retaining the old method.
Leif Åstrand [Fri, 21 Mar 2014 13:00:38 +0000 (15:00 +0200)]
Use FQN instead of import for the bad Element class (#13287)
This is the first step towards eliminating usage of the class. Reasoning
about upcoming steps will be easier when it's clear which class
"Element" refers to.
Build Agent [Fri, 21 Mar 2014 08:29:58 +0000 (10:29 +0200)]
Merge changes from origin/7.1
7112abe Preventing premature start of drag due to Chrome move event #13381 7e7b623 reduce frequency of session locking and StreamingProgressEvents (#13155) 7cab7fd Improve error message when reusing UI instance (#13457) 3e53fa6 Fixed "EEE" in DateField's date pattern (#13443) 1881ea8 Fix for width issue of TabSheet (#12805) 396820e Test for streaming reconnect issue (#13435) 2f93186 Eliminate .v-caption memory leak (#13346) 0c7cbc7 Fixes a memory leak on IE8 in LayoutManagerIE8 (#12688) 5441ef0 Merged IntegrationTestRunner into TB3Runner 3545db2 Added User-Agent and Screen Width + Height labels to portlet test. c5aaf93 Refactored JSR286 portlet test. 52dcbaa Pressing ESC now closes the DateField popup when using month or year resolutions. (#12317) e45294f Revert "Preventing premature start of drag due to Chrome move event #13381"
Artur Signell [Fri, 14 Mar 2014 10:36:12 +0000 (12:36 +0200)]
Throw exception when trying to invalidate FakeHttpSession
The FakeHttpSession is used only for Tomcat 7 as far as I can see (#11721)
Invalidating the fake session will not invalidate the real session so
the end result will not be what the user expects, therefore we throw an
exception instead in this case.
Teemu Pöntelin [Tue, 11 Mar 2014 17:45:38 +0000 (19:45 +0200)]
Fix for width issue of TabSheet (#12805)
Width of v-tabsheet-tabcontainer was set by copying the width
from the ComponentConnector. This produced an incorrect result
when a relative width (other than 100%) was used. Fixed by
assigning the width to 100% when the TabSheet has a defined
width.
Fabian Lange [Wed, 12 Mar 2014 11:47:00 +0000 (12:47 +0100)]
reduce frequency of session locking and StreamingProgressEvents (#13155)
This change introduces throttling of streaming progress events. Before
a event was fired once a buffer was filled. However as the buffer is only
4kb in size, fast uploads would trigger massive amounts of events.
This change is backwards incompatible on a logical level. Before this
change, a listener would get contentLength/4kb events, while after this
change the amount is limited to one progress event per 500ms.
Fabian Lange [Wed, 26 Feb 2014 18:17:21 +0000 (19:17 +0100)]
Preventing premature start of drag due to Chrome move event #13381
The drag only actually starts when the mouse move or touch move event is
more than 3 pixel away.
The purpose is twofold:
a) it fixes the glitchy behaviour of Chrome which for some reason
sometimes fires a move directly after the mousedown, which starts a drag
immediately.
b) it helps people with shaky hands or imprecise hardware, why might not
want to drag but to select but slightly move the pointer. Some frameworks
opted to make the distance configurable.
Due to sub pixels (which might be the cause for a) in the first place),
a distance of 1 or 2 pixel is not enough. Experiments showed that unaware
users did not notice that 3 pixels movement are required for the drag to
actually start (the ghost has already a delay of 300ms)
Change-Id: I71b50b72486344a7dbe4ed927b34b1f8fab0db20
Class AbstractTransactionalQuery should be public (#12285)
AbstractTransactionalQuery was not visible outside its package
(default visibility). Added `public`.
Making this class public avoids lots of boilerplate code when making
alternate implementations of a QueryDelegate.
A standard TableQuery does a lot of introspection on the DB schema.
If the schema is known beforehand, alternate implementations may specify
this information explicitly, and inherit from AbstractTransactionalQuery
to reuse part of the implementation.
Build Agent [Tue, 11 Mar 2014 19:19:23 +0000 (21:19 +0200)]
Merge changes from origin/7.1
7d74479 Revert "Fixes a memory leak on IE8 in LayoutManagerIE8 (#12688)" c121c4e Do not fail assertion if re-setting the same lock (#13440) c0e408c Added nojavadoc parameter to "all" build script. 0417c06 Fixed nojavadoc parameter on "all" build. 71e8c7e Make ExcludeFromSuite annotation Runtime and Inherited
Leif Åstrand [Wed, 5 Mar 2014 14:07:10 +0000 (16:07 +0200)]
Ignore type parameters when looking for metadata (#12873, #12900)
All code populating the TypeDataStore is generated using
writeClassLiteral which strips away all type parameters, so the code
doing lookups should also do the same to maintain compatibility.
Henrik Paul [Thu, 6 Mar 2014 07:37:29 +0000 (09:37 +0200)]
Add support for changing the default row height in escalator (#12645)
Since this is quite the change, I've taken the opportunity to rewrite smaller
adjoining pieces to make more sense. Move methods from classes, and so on.
These changes are, however, only on the code level, no other functionality will
be introduced by this patch.
Build Agent [Wed, 5 Mar 2014 14:43:08 +0000 (16:43 +0200)]
Merge changes from origin/7.1
372b64b Add javadoc for @DelegateToWidget (#10980) db79438 Refactored TB3 test ip address whitelisting. bc80f83 Refactored VerifyJreVersion test to TB3. 4667566 Fix displaced TabSheet caption icon in Chrome 0246928 Fixes a memory leak on IE8 in LayoutManagerIE8 (#12688)