summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Easier instructions thanks to GWT dependency (#13616)Artur Signell2014-06-131-71/+44
| | | | Change-Id: I42034e50e314c13282614d5a7ab64368daca1b31
* Use GWT as maven dependency (#13616)Sauli Tähkäpää2014-06-136-30/+48
| | | | Change-Id: I283820c7dcca7ecd341949bb15275406fe378902
* Revert "Fix for 'Aborting layout after 100 passess' (#13359)"Sauli Tähkäpää2014-06-126-512/+23
| | | | | | | Causes regression with IE8: http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020 Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690
* Fix for handling selectors with both width and height ranges (#13587)Teemu Pöntelin2014-06-124-44/+164
| | | | | | | | | 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
* Fix tooltip test problems caused by #12458Henri Sara2014-06-129-304/+424
| | | | | | | | | | | | | | | 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
* Make tooltips stationary when hovering (#13981)Juuso Valli2014-06-1113-35/+175
| | | | Change-Id: I44acce87ea5c37d7b210e6c6c3dd9cd511192524
* Removes double spacing from gridLayout which has empty rows or columns (#8855)Dmitrii Rogozin2014-06-118-125/+602
| | | | | | | | | | 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
* Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)Antti Tanhuanpää2014-06-113-15/+202
| | | | Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82
* Assigning both primary style and style name is now handled correctly (#12190)Teemu Pöntelin2014-06-113-8/+135
| | | | Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0
* Allow inlining of JsonCodec#encode (#13814)Fabian Lange2014-06-092-92/+63
| | | | | | | | | | | | | | | | 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
* Fix tooltip positioning near screen edges (#12870)Juuso Valli2014-06-093-4/+214
| | | | Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa
* Prevent tooltip open if cursor leaves element (#13695)Juuso Valli2014-06-091-3/+1
| | | | Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b
* Moved initialization of a static map to the static initialization block (#12270)Teemu Pöntelin2014-06-061-1/+2
| | | | Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7
* Update versions in OSGi manifest for vaadin-shared (#13812)Antti Tanhuanpää2014-06-051-1/+1
| | | | Change-Id: I75551cb500d3d35071dabcf53d71a8536806a0ca
* Fix for 'Aborting layout after 100 passess' (#13359)Tomi Virtanen2014-06-056-23/+512
| | | | | | | | | | | | | | | | | | | '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
* Don't generate GWT.create for bean superclasses (#13813)Leif Åstrand2014-06-054-2/+54
| | | | Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771
* Add load-on-startup on web.xml to make demo run on Wildfly.Sauli Tähkäpää2014-06-051-0/+7
| | | | Change-Id: I0cb42d918ed1af31577e5a67ddf4dbac3c9ab02f
* Pass useLocalWebDriver parameter to JUnit.Sauli Tähkäpää2014-06-043-2/+12
| | | | Change-Id: I4840da6281c8be676384aa5b71bf689f7083ee36
* Fixed broken OSGi dependencies in vaadin-shared (#13852)Norman Specht2014-06-031-1/+1
| | | | | | 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
* Fix menu item tooltips showing up too early (#13914)Juuso Valli2014-06-033-4/+173
| | | | Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322
* Fix broken TB2 testsJuuso Valli2014-06-033-135/+13
| | | | Change-Id: I1ce52065e529d471876e8aae1b53b5808089cc53
* Script for installing build artifacts to the local Maven repositoryArtur Signell2014-06-031-0/+41
| | | | Change-Id: I6cc4553a54d7d4ed7271ea0eb59386516fd96ca5
* Fix for handling a breakpoint with 0 as the lower bound (#13588)Teemu Pöntelin2014-06-022-3/+6
| | | | | | | Added explicit isNaN checks to the results of parseInt function because JavaScript would always convert 0 to false. Change-Id: Ic904c321c0195ce50d9a498005459425b0c30d4c
* Fix regression with error tooltips (#13695)Juuso Valli2014-06-021-0/+3
| | | | Change-Id: Ia076ba95ec3abd6625e81e17bdcf000a20349f4e
* Fix VAbstractOrderedLayout scrollbar in IE8 (#10106)Juuso Valli2014-06-021-0/+1
| | | | Change-Id: I188e28736e8092b30a813aeeb78247f5aec33295
* Allow use of Collection<String> and others with addItems (#13865)Artur Signell2014-05-282-1/+77
| | | | Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0
* Fix tooltip delay (#13695)Juuso Valli2014-05-278-86/+164
| | | | Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e
* Convert DateFieldReadOnlyTest TB2 -> TB4.Sauli Tähkäpää2014-05-272-66/+43
| | | | Change-Id: Iab81b1e5992d47c956f9d0440ece98fa546ee927
* Fix Push update race condition (#13562)Juuso Valli2014-05-272-20/+36
| | | | Change-Id: I50094bc2d236f6dbb02a8b82d6cc9b5f7e4733a5
* Allow using modifier + enter as shorcuts in TextArea (#13811)Artur Signell2014-05-264-68/+144
| | | | Change-Id: I99db3d6280f0066ed1249cb348da7e82381b45c2
* Properly deserialize push connection (#12235)Johannes Dahlström2014-05-264-8/+84
| | | | | | | | | | 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 ColorPickerInputFormatsTest for use Keys.RETURN.Sauli Tähkäpää2014-05-261-1/+1
| | | | Change-Id: Ic8ad7163d35e0e1c2d44e928cd52ca66a637b7fa
* Revert "Fix Push inserts producing duplicate rows in Table (#13562)"Sauli Tähkäpää2014-05-263-92/+55
| | | | | | This reverts commit ce1764fb1bad1b82462d73fbfe293b676c2a9c00. Change-Id: I897e0f3a0876eaea4b68f0e3b75671ccb1398242
* Fix caption listener leak and caption measurement (#13741)Juuso Valli2014-05-232-24/+13
| | | | | | Reverting the previous fix to caption measurement, it caused a leak with the listeners. Change-Id: If1c06db692c0e829d91528eceb49a9a07f58ed4a
* Javadoc correctionArtur Signell2014-05-221-4/+4
| | | | Change-Id: I58c89f6c8b2c72e233b1d9e5413da1d6cbc36285
* Helpers for retrieving the current PortletRequest (#13806)Artur Signell2014-05-222-3/+65
| | | | Change-Id: I5d400a05071844729d68abb1ba0c31c33e32e9c7
* Optimizes ConnectorTracker.cleanConnectorMap (#13803)Fabian Lange2014-05-221-45/+32
| | | | | | | | | | | | | | | 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
* Modified Coding Conventions to not have a new line after annotations onAnna Koskinen2014-05-221-2/+2
| | | | | | parameters (#13569). Change-Id: Idc541f298591453c52285a8b1987052caad79e4f
* Optimize getAllChildrenIterable() performance. (#13803)Fabian Lange2014-05-221-1/+4
| | | | | | | | | | | | | | | 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
* Suspend all validation in the projectArtur Signell2014-05-221-2/+2
| | | | Change-Id: Idaa41933c5fb6236a06b13323c2d39f7869af1ac
* Fix issue when typing fast in combobox edit box plus then press TAB (#12325)Dmitrii Rogozin2014-05-224-29/+115
| | | | Change-Id: I35375d2b39fbd666d848f6ffa62aa0ce1c0d4fad
* Prevent adding/setting parent component as child (#12720).Denis Anisimov2014-05-225-9/+139
| | | | Change-Id: I9b7b43f176e88d9edca591001297b94475a31854
* Replace use of deprecated DOM.setStyleAttribute method (#13781)Leif Åstrand2014-05-2220-191/+208
| | | | | | | | | | | | 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
* Make Hearbeat available to other modules (#13250)Manolo Carrasco2014-05-222-42/+114
| | | | | | | | | | | - 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
* Remove some unnecessary semicolonsLeif Åstrand2014-05-222-3/+3
| | | | Change-Id: I8698a9ecf691adde9a3bc2e92047be5f3036df1e
* Update mini tutorial code to use @OnStateChangeLeif Åstrand2014-05-221-7/+4
| | | | Change-Id: I509213ade4ed9765db8a7773c42051f8f182b272
* Treat initial rendering and style changes separately. (#13444)Markus Koivisto2014-05-221-6/+12
| | | | | | | This fixes a regression caused by a previous patch, which led to empty comboboxes being initialised with a zero width. Change-Id: I7e5ca0c563625c453e0e3006d91ed52ad227d6f0
* Use method available in all browsers (#13804)Artur Signell2014-05-221-1/+1
| | | | | | String.contains work in Firefox, not in Chrome or Opera Change-Id: I074d3c79629fd699841d3b39a36620511233ce6c
* Fix caption measurement in VAbstractOrderedLayout (#13741)Juuso Valli2014-05-213-0/+156
| | | | Change-Id: I7bb9a404c789f352477b752537ffdedfc60da91c
* Keep all checkbox related data in Map don't address it via the index #11772Denis Anisimov2014-05-213-10/+131
| | | | Change-Id: I2c9c68134d9fe958e2881975d1d845dea819a761