| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I42034e50e314c13282614d5a7ab64368daca1b31
|
|
|
|
| |
Change-Id: I283820c7dcca7ecd341949bb15275406fe378902
|
|
|
|
|
|
|
| |
Causes regression with IE8:
http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020
Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690
|
|
|
|
|
|
|
|
|
| |
This fix splits the used regular expressions into a more manageable
parts while fixing the handling of a case where both width-range and
height-range are defined. Also refactored some duplicate code into
a helper function.
Change-Id: I98295b8b0772b33a9985c0630e065eea2281d11d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tooltips are no longer removed but moved outside the viewport,
which broke several tests.
Rewrite related tests using TB4 to be stable across all
browsers. There are differences between browsers (e.g.
position -999 or -1000, gwt-uid-* varied between browsers
etc.) so TB2 tests kept failing on some or all browsers.
Some tests have been renamed to better indicate what they
do.
Change-Id: Ia7276871f3c26d506dc70e1719347d020b547bfc
|
|
|
|
| |
Change-Id: I44acce87ea5c37d7b210e6c6c3dd9cd511192524
|
|
|
|
|
|
|
|
|
|
| |
If row has no elements or only invisible elements, its size will be set to zero.
When row expand ratio was set, its size will be assigned to the value according to an expand ratio.
If component takes several rows of the gridLayout, these rows are considered as non-empty and won't be removed.
Change-Id: I10ddd22a6c9535b9978769bab7b496e11a28b78a
|
|
|
|
| |
Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82
|
|
|
|
| |
Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JsonCodec#encode() is a frequently called (hot) method. However in its
current form it is too long to be inlined.
This review reduces the length of the method from 454 bytes instructions
to 311 and optimises flow of common calls.
It however has a behaviour change for esoteric edge cases where the
order would matter. Like a custom collection which extends JSONArray and
implements collection. Previously it would have been handled by the
collection case, now its the JSONArray case. However it can be assumed
that the result: serialized to valid JSON is the same.
Change-Id: Ia552eec6322d0760581336b8b038fa03761c1d69
|
|
|
|
| |
Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa
|
|
|
|
| |
Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b
|
|
|
|
| |
Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7
|
|
|
|
| |
Change-Id: I75551cb500d3d35071dabcf53d71a8536806a0ca
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'Aborting layout after 100 passes.' is caused by LayoutManager falling
into a loop on rounding fractional layout slot sizes up and down while
trying to fit layout's content in the space available. LayoutManager
round always up, that causes this issue with IE9+ and Chrome. This
change helps LayoutManager to round fractional sizes down for browsers
that causes problems if rounded up.
Browsers may fall into the loop especially with a zoom level other than
100%. Not with any zoom level though. Problematic zoom level varies by
browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test
for Chrome is the only one that really is able to reproduce error
without the fix. IE9/10 would too, but the zoom level could not be set
exactly to the required 95% for IE. Test works best as a regression test
for other browsers.
Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a
|
|
|
|
| |
Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771
|
|
|
|
| |
Change-Id: I0cb42d918ed1af31577e5a67ddf4dbac3c9ab02f
|
|
|
|
| |
Change-Id: I4840da6281c8be676384aa5b71bf689f7083ee36
|
|
|
|
|
|
| |
The package com.google.gwt.thirdparty.streamhtmlparser_0.0.10.vaadin1 exports version 0.0.10.vaadin1, not 0.1.5.r10-rebased
Change-Id: I25c2964636d27a172cc83d69c5c0db64155a6fc2
|
|
|
|
| |
Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322
|
|
|
|
| |
Change-Id: I1ce52065e529d471876e8aae1b53b5808089cc53
|
|
|
|
| |
Change-Id: I6cc4553a54d7d4ed7271ea0eb59386516fd96ca5
|
|
|
|
|
|
|
| |
Added explicit isNaN checks to the results of parseInt function
because JavaScript would always convert 0 to false.
Change-Id: Ic904c321c0195ce50d9a498005459425b0c30d4c
|
|
|
|
| |
Change-Id: Ia076ba95ec3abd6625e81e17bdcf000a20349f4e
|
|
|
|
| |
Change-Id: I188e28736e8092b30a813aeeb78247f5aec33295
|
|
|
|
| |
Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0
|
|
|
|
| |
Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e
|
|
|
|
| |
Change-Id: Iab81b1e5992d47c956f9d0440ece98fa546ee927
|
|
|
|
| |
Change-Id: I50094bc2d236f6dbb02a8b82d6cc9b5f7e4733a5
|
|
|
|
| |
Change-Id: I99db3d6280f0066ed1249cb348da7e82381b45c2
|
|
|
|
|
|
|
|
|
|
| |
The UI.pushConnection field is transient no longer; instead PushConnection
implementations must take care of serialization internally. When a session
is serialized, the client should notice that push was disconnected and
try to reconnect. A deserialized PushConnection should be in a "disconnected"
state so the eventual client reconnection works correctly.
Change-Id: I38cfc5a5cdbd3643311f830f8d580458dcd85c56
|
|
|
|
| |
Change-Id: Ic8ad7163d35e0e1c2d44e928cd52ca66a637b7fa
|
|
|
|
|
|
| |
This reverts commit ce1764fb1bad1b82462d73fbfe293b676c2a9c00.
Change-Id: I897e0f3a0876eaea4b68f0e3b75671ccb1398242
|
|
|
|
|
|
| |
Reverting the previous fix to caption measurement, it caused a leak with
the listeners.
Change-Id: If1c06db692c0e829d91528eceb49a9a07f58ed4a
|
|
|
|
| |
Change-Id: I58c89f6c8b2c72e233b1d9e5413da1d6cbc36285
|
|
|
|
| |
Change-Id: I5d400a05071844729d68abb1ba0c31c33e32e9c7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanConnectorMap is a hot method.
This change improves multiple code paths:
1) The global resource handler is no longer get()ed from the session for
each connector (was in two loops).
2) The ConnectorTracker is no longer get()ed from the UI for each
connector (was in one loop).
3) values() iterator for ClientConnectors replaces
keySet() iterator + get(key) call
4) use getUI() from ClientConnector instead manual method.
5) moved removeUnregisteredConnectors to ease inlining and readability.
Change-Id: I25ff5bc32d27d30ecd8d354922ec6e4a02b05921
|
|
|
|
|
|
| |
parameters (#13569).
Change-Id: Idc541f298591453c52285a8b1987052caad79e4f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getAllChildrenIterable() is invoked frequently, its used by
attach/detach and markAsDirty.
Because of the implementation detail in CombinedIterator, on every call
all iterators are checked. This means that on every component which has
multiple childs, each next() call will first check the extension
iterator, before advancing in the child iterator.
By having the childs first, this overhead is reduced. If no extensions
are existing (which is quite common) the iterator is not added at all.
(creating an iterator on an empty UnmodifiableCollection is waste of
time and memory)
Change-Id: I23bb91464052ad4282963ec4b5be8a52c6847d4f
|
|
|
|
| |
Change-Id: Idaa41933c5fb6236a06b13323c2d39f7869af1ac
|
|
|
|
| |
Change-Id: I35375d2b39fbd666d848f6ffa62aa0ce1c0d4fad
|
|
|
|
| |
Change-Id: I9b7b43f176e88d9edca591001297b94475a31854
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is only a brain dead replacement of one specific method. In
some cases, there were some oddities in the surrounding code as well,
but these were left unresolved on purpose.
It should also be noted that DOM.setStyleAttribute just delegates to
element.getStyle().setProperty(), so any null references would have
caused problems already in the existing code.
Change-Id: I340122ac0767af9928076376f76e5bd2c5e19f9f
|
|
|
|
|
|
|
|
|
|
|
| |
- When a mobile app goes online/offline we need to change
Heartbeat interval and restart the schedule.
- We also need to be notified about response status in
order to show the appropriate offline UI, etc.
Related with Issue #13250 and review https://dev.vaadin.com/review/#/c/3376/
Change-Id: I428501306e37fb8c2ee0ed6022a4c588bd8456db
|
|
|
|
| |
Change-Id: I8698a9ecf691adde9a3bc2e92047be5f3036df1e
|
|
|
|
| |
Change-Id: I509213ade4ed9765db8a7773c42051f8f182b272
|
|
|
|
|
|
|
| |
This fixes a regression caused by a previous patch, which led to empty comboboxes being initialised with a zero width.
Change-Id: I7e5ca0c563625c453e0e3006d91ed52ad227d6f0
|
|
|
|
|
|
| |
String.contains work in Firefox, not in Chrome or Opera
Change-Id: I074d3c79629fd699841d3b39a36620511233ce6c
|
|
|
|
| |
Change-Id: I7bb9a404c789f352477b752537ffdedfc60da91c
|
|
|
|
| |
Change-Id: I2c9c68134d9fe958e2881975d1d845dea819a761
|