| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I4774b4079f5c564fdc67e8cabf89278ad7cf2f6f
|
|
|
|
| |
Change-Id: I6c151829236928129c258a99177431d0b972f146
|
|
|
|
|
|
|
|
| |
Reduces the payload size for the "Update all labels" action with 40
layouts in BasicPerformanceTest by 16% (from 11087 to 9270 bytes). The
reduction is improved to 22% (1855 to 1455) if the response is gzipped
since the omited data doesn't compress very well.
Change-Id: I1d2837c93222fffa59b14836f162e3e87349e086
|
|
|
|
| |
Change-Id: I763f3c68a3c9e471f9e5df21bbfbce41be17117c
|
|
|
|
|
|
| |
Add missing javadoc for ServerConnector.get/setChildren().
Change-Id: I7ba143d41602a5f2a069635911a0ea61a92806e6
|
|
|
|
|
|
|
|
| |
Some themes are more explicit with user-select rules, and doing this on
the level of body element does not work with said themes. To make all
the themes behave the same way, we only block selection inside of Grid.
Change-Id: Iaf24fede88e4bc683e065c214e7baf3f545c99c9
|
|
|
|
|
|
|
|
|
|
| |
This patch uses a JavaScript workaround to prevent text selection in IE8
and IE9 and Safari.
The selection is prevented everywhere in the DOM while a column is
resizing.
Change-Id: I1e7b9cdc675c83a9666493d8545337d601e40077
|
|
|
|
| |
Change-Id: I17206081109b2ec356d175915a16b0002a858bb4
|
|
|
|
| |
Change-Id: I5171c6eb6360a9c85b8afbc3096d9b6c5c8f4064
|
|
|
|
| |
Change-Id: I41de3d75e1141856bb6132aeca11abff4bc7e08f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds functions for skipping child component layout measuring.
Removes unnecessary code from VScrollTable.
1. case: no components
- render time without the fix: ~105ms
- render time with fix: ~105ms
2. case: 2 button and 2 textfield cols
- render time without the fix: ~279ms
- render time with fix: ~240ms (~17% faster)
3. case: 3 button and 3 textfield cols
- render time without the fix: ~350ms
- render time with fix: ~281ms (~20% faster)
Change-Id: I6025f8ee2fd438d228ff3b65f43535961cf12c0b
|
|
|
|
| |
Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d
|
|
|
|
|
|
|
|
|
| |
Previously grid sidebar could be partially hidden by
"overflow: hidden" of an ancestor component.
Now it's in an overlay and the hierarchy doesn't affect it.
Grid tests were also updated for new DOM structure.
Change-Id: Ic5fb125d9c097be0f0141c121dfe74d30e650dd0
|
|
|
|
|
|
|
|
|
|
|
| |
The <table> used by the FormLayout doesn't reduce its size if any child
component has locked its own size (which is the case with e.g. Table and
some other components doing explicit pixel calculations). To work around
this, we need to detect the situation, force the <table> to reduce its
width by temporarily assigning explicit widths to the cells and then
remove the forced size after all children have adjusted.
Change-Id: Iacef62979acf24c869a5cbeb82efb0c1e537ec95
|
|
|
|
| |
Change-Id: Idaaf707bdb4178ff4ff5dfc7af853f08d5690b5e
|
|
|
|
|
|
|
|
| |
Removed Android handling since it already fires a context menu event
when not selecting text. Increased the threshold for iOS move. Prevent
some browser default functionality on TouchEnd after sending context
click event to server.
Change-Id: I9297a5738e593a260b50ba176d483fbdd3293ba3
|
|
|
|
| |
Change-Id: I60f68cf7a9e61980809af253bb4f4a0ab92f1230
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calculation of the frozen column width was wrong in multiselect mode.
It did not take into account the last frozen column, but added
the select column twice.
The same problem was in AutoScroller (as the same methods were
copy-pasted there), for which reason the autoscrolling was not
scrolling till the end.
This patch fixes the calculation error and removes copy-pasted code,
reusing the same code in both places.
Change-Id: I164e2fc96688088b620ad8785c533c593723f83e
|
|
|
|
|
|
|
|
| |
Removing a widget that got moved to another layout occasionally caused
slot to lose track of related widget. As a result the layout never
created a new slot when the same widget is put back in there.
Change-Id: I0d8793324b8a5ac8a06aa2803ac8de22b90b7545
|
|
|
|
|
|
|
|
| |
Touchstart events now fire a contextclick event if there is a context
click listener.
Refactored sendContextClickEvent to accomodate the change.
Change-Id: I9bce5948f89149e9ecb261cfd8ae918470ccec3e
|
|
|
|
| |
Change-Id: Idfde7842fd31be4b84a1436b40eaa932b6a6c349
|
|
|
|
|
|
| |
This makes column resizes smoother and more intuitive.
Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
|
|
|
|
|
|
|
|
|
| |
If an ONLOAD event fires but the target is not the icon, an NPE
occurs. The isCaptionElement method has already used the check
against null before any call happens on the icon which logic is
enough for the onBrowserEvent check as well.
Change-Id: I64de45a07f50f113dcfcb4556f0d8adeea9e1b1b
|
|
|
|
|
|
|
|
| |
Method setWidgetEnabled in AbstractComponentConnector,
called from updateEnabledState, sets enable state only for widgets
implementing HasEnabled interface.
Change-Id: Idc700d0c28efd13b9a9470333b19a1509cca4a51
|
|
|
|
| |
Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
|
|
|
|
| |
Change-Id: I2b700c72bcdc0f3a6c75a5bfb31059a986bd4dc9
|
|
|
|
|
|
|
| |
When the user clicks an empty area, the TableContextClickEvent will still
fire, but will have a null property.
Change-Id: I39303f1a72d072db09c4fe6df8141d6caf0764c2
|
|
|
|
| |
Change-Id: Ia6aebc266c48fb284ebf8f7a89375390555d1bec
|
|
|
|
|
|
|
|
| |
New location is com.vaadin.server.communication.data as the extension
only manages the communication of container data to a client-side data
source.
Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
|
|
|
|
| |
Change-Id: I8045727400c795fca78561c1a4c859595f7c53af
|
|
|
|
| |
Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d
|
|
|
|
| |
Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274
|
|
|
|
| |
Change-Id: Ie04e673fcdb3ce0f63b07158b5cd9f128ea9c30e
|
|
|
|
| |
Change-Id: I5d5237fcc06ae184a884cb17fa9b6eee5c37179a
|
|
|
|
|
|
|
|
| |
This patch limits event preventDefault calls to happen only with Tab
navigation. No other events are prevented by default anymore. Earlier
implementation that prevented too many events was in patch for #16841
Change-Id: I78924d35c86b822295fdaf720b3e4540c43df5c0
|
|
|
|
| |
Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
|
|
|
|
|
|
|
| |
By default columns can be drag-resized by the user. This can be changed on a
column-by-column basis.
Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b
|
|
|
|
| |
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
|
|
|
|
| |
Change-Id: If8399a13585ae691ea3b3ee4a41a1a38b342adb9
|
|
|
|
|
|
|
| |
The EditorEvent API is not mature and useful enough to be present in a
stable release.
Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tree connector now overrides the send context click event providing the
row key to the server-side via RPC call. This is then passed on to a
TreeContextClickEvent and fired to listeners.
This patch modifies the test base for context click testing by making it
tolerate 1 piksel differences. This was to fix any subpixel related
issues in coordinate comparison.
Change-Id: Iacced274a6b518b5f89378cbc32b8381362e1e4f
|
|
|
|
| |
Change-Id: I03091a3a7a22a921c127ed0b37fe792871ba5edd
|
|
|
|
| |
Change-Id: I5c773da806b8358ee203c9c12fd2e2b6fec1970f
|
|
|
|
| |
Change-Id: Ib6bac73ba96c4919df2e1bf5c9c83160707530bb
|
|
|
|
|
|
|
| |
This patch also introduces a testing infrastructure for context click
event and listener testing.
Change-Id: I3aa88758278c91086df3d0971edb34914a93fd29
|
|
|
|
| |
Change-Id: I93d5d20925b8ac9b4b108ccc6deec2090e68aa0d
|
|
|
|
| |
Change-Id: Ib04b7356577dd5027cd9daac351f49a1a1e23f1d
|
|
|
|
| |
Change-Id: Ie3d75b3ca0c6535f03d08672677ffb95a86bde2f
|
|
|
|
| |
Change-Id: Ic03b419b8c10d5d7010c3d10479883149445fe40
|
|
|
| |
Change-Id: Idbad38ccbe519b6e0e5948a4d49e496e42845e3d
|