Re-adding all rows in Table causes table to loose scroll position (#14581)
Fix: if to remove (container.removeAllItems()) and then to re-add(container.addAll(..)) the same collection in table container - > scroll position is not loosed now.
The hash code and scroll position of the old container is stored when a new container is added.
If the new container has the same hash code, we restore the scroll position.
The scroll position is not restored if another items added to the container.
Change-Id: I52a22c3c1c7b71f1b3447b9d592ab8fececd67b8
Make Vaadin component handling proxy-friendly (#14639)
Comparisons with the ==-operator between a proxy and it's underlying
instance fail, so we should use a custom equals method instead.
Change-Id: Iaa86ae830fecbedfb1f55636e25f5affebf5aba3
DateField ValueChange is now fired after flags are set (#14487)
When the UI had an invalid string the ValueChange event was fired
before setting all the flags causing an invalid isValid result when
handling ValueChange. Now the event is fired after the flags are set.
Change-Id: Ie4e6ba21edc81bf41c2c661aa27e0ace71e1bef0
Pass editor row enabled state in shared state (#13334)
Also refactor editor row tests a bit. Include separate GWT and Vaadin
test cases at least until communication is finished.
Change-Id: I5fd2288e20b11ba5bc33d074f7fe086dc3f00323
Revert to old capitalization to avoid git issues (#8942)
Git on OS X seems to have problems with changing between branches with
the old and new casing of the two json related files. Changing back to
the old names to avoid issues when changing branches.
Change-Id: I948395a7ce725db4116fe0e7ac1a23628dc659c7
Improve the selection tab algorithm after removing the selected tab
(#6876)
New protected method TabSheet.selectedTabIndexAfterTabRemove
where anyone can implement his/hers own algorithm for selecting
a new tab.
Change-Id: I6a3dd62e7fc84e4dacb08d30d567f357678dd7e4
Add option for collapsing empty rows/columns in GridLayout (#14392)
This reverts the new default behavior introduced in fix for #8855.
If you want empty rows/columns to be ignored when rendering,
use GridLayout.setHideEmptyRowsAndColumns(true)
Change-Id: I38a8717d79cec7739b649174654b615db9d8dc7e
fixes incorrect JSONArray/String usage in ServerRpcHandler (#14471)
As described by Johannes, the RPCRequest constructor first takes whole
JSON as string and builds its attribute json from it (by parsing).
Then it reads from this parsed JSON the array called "rpc".
However it previously did a .toString on it only to re-parse it.
Newer json versions complain that "rpc" is not a string, but an array.
Change-Id: If4bb45abad551b183d757f0aa326c37c070ce103
Fixes DragAndDropWrapper does not support choosing a custom component as the drag image (#13836)
Amend : Fixes the comments for the last commit.
Amend 2: Fixes a nullpointer found in a certain test scenario
Change-Id: I72327f5f8ab9e46d88e1ebed8f1db3a7da39d7d8
Makes any Label text colored, by default the same as $v-selection-color.
Modify the Forms and Labels examples to use the new style, and remove
the fixed color from “light” style form layout for header labels.
Change-Id: I27a4fce56b1f734aa5c2c837bf1684284b0d96cc
Available as additional style names for buttons, text fields/text
areas, combo boxes, date fields and labels.
Change-Id: I12f36935a690f5bf3f12333f5bd4ac986d4efd1f
Update Font Awesome to the latest version (#14396)
Update the font icon to version 4.1.0.
The enum is now sorted alphabetically by the icon name, while
previously it was sorted by the code point.
The new list is copied from http://fontawesome.io/cheatsheet/ which
contains all the icons in the font.
Change-Id: I41a69248a9e3bd25c90b7f79b5814cdb46b10bbc
Do not call requestStart/end multiple times when using push (#14228)
All HTTP request based push request invoke onRequestStart/End in the servlet.
We need to trigger start/end separately in push handler only for websocket messages
Change-Id: I16064ea88b0c70812f247028ddb23560536db70d
Reverting multiple commits that caused 100+ regression tests to fail.
Commits reverted:
* 392e8a0 - Minor refactor to #14147 patch
* 8d470c9 - Context menu is not shown in Table body on mobi... (#13694)
* f7dc719 - Fix Table stuck scroll position after setting ... (#14147)
Change-Id: I3f5ed7fa15a9cfebce7a57662d229bf46118c5d6
If for any reason a developer wants to parse the bootstrap html, this
constants allows easy identification of the bootstrap js.
Change-Id: I894cf6e22a7e6d9154c3c9124dda911a86a99475