]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoFix ClickableRenderers to use CellReferences (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 11:22:11 +0000 (13:22 +0200)]
Fix ClickableRenderers to use CellReferences (#13334)

This patch also uses row keys and column ids in communication rather
than indices.

Change-Id: Ie3bb554bd5c45700f1681160eef08bef8beeaaee

9 years agoFixes an issue where IE8 refused to fire one scroll event (#13334)
Henrik Paul [Thu, 18 Dec 2014 10:49:16 +0000 (12:49 +0200)]
Fixes an issue where IE8 refused to fire one scroll event (#13334)

Change-Id: Iaf9278a3a16360369fde5ac6d759e27e5c443d1b

9 years agoreplace com.google.gwt.json.* usages with elemental.json.* (#8942)
Leif Åstrand [Thu, 18 Dec 2014 10:50:04 +0000 (12:50 +0200)]
replace com.google.gwt.json.* usages with elemental.json.* (#8942)

Change-Id: I745b12685be4696fd8f1158005bf731f35ae8a81

9 years agoUse CellReferences everywhere in Renderer APIs (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 10:52:15 +0000 (12:52 +0200)]
Use CellReferences everywhere in Renderer APIs (#13334)

This patch adds getElement() to RowReference and CellReference

Change-Id: I3df6e50256f628e5cdb5d64d741ff1eb59e8e1c3

9 years agoUse CellReference in Grid events and event handling (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 08:49:10 +0000 (10:49 +0200)]
Use CellReference in Grid events and event handling (#13334)

Change-Id: Ie4ed85e56f0c23850eec56518a7493f5ed3257bd

9 years agoAdd missing @since and @author to RendererCellReference (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 09:27:52 +0000 (11:27 +0200)]
Add missing @since and @author to RendererCellReference (#13334)

Change-Id: I5b09993fd604ea20cfea685b56122cf55b88dce5

9 years agoUse CellReference instead of FlyweightCell in Grid APIs (#13334)
Leif Åstrand [Thu, 18 Dec 2014 08:17:58 +0000 (10:17 +0200)]
Use CellReference instead of FlyweightCell in Grid APIs (#13334)

Change-Id: I519e433219a028e99678574227ca44d5b66d07bc

9 years agoFix server selection firing multiple events on client select (#13334)
Teemu Suo-Anttila [Mon, 15 Dec 2014 13:56:05 +0000 (15:56 +0200)]
Fix server selection firing multiple events on client select (#13334)

This patch fixes multiple events from Single Selection Model. Multi
Selection Model is designed a bit differently.

Change-Id: I0350d7f2de873ff9fba7411c5ca8caefa156be20

9 years agoFixes a measuring in a test for IE to be happy (#13334)
Henrik Paul [Wed, 17 Dec 2014 14:48:05 +0000 (16:48 +0200)]
Fixes a measuring in a test for IE to be happy (#13334)

Change-Id: I386649cfd6d834146bd696168410748c62b7957b

9 years agoFixes a test that expects integer dimensions (#13334)
Henrik Paul [Wed, 17 Dec 2014 13:56:52 +0000 (15:56 +0200)]
Fixes a test that expects integer dimensions (#13334)

The bug made EscalatorColspanTest.testColspan fail in IE10 and 11

Change-Id: Ic16907e52e8c534490f271182acb5fe77c25f6ae

9 years agoMoves Escalator.getPrecise* to Util.getRequired*BoundingClientRect (#13334)
Henrik Paul [Wed, 17 Dec 2014 12:37:26 +0000 (14:37 +0200)]
Moves Escalator.getPrecise* to Util.getRequired*BoundingClientRect (#13334)

Change-Id: I486d631d81ccbced77b8e06b5f1afd2c187e3f5c

9 years agoMake editor request API easier to use (#13334)
Johannes Dahlström [Mon, 15 Dec 2014 17:05:16 +0000 (19:05 +0200)]
Make editor request API easier to use (#13334)

Change-Id: I53f2cf8f248aaa3798a82b0a1f42d320ca9c2e05

9 years agoChange "editor row" to just "editor" in method names and javadoc (#13334)
Johannes Dahlström [Mon, 15 Dec 2014 14:31:26 +0000 (16:31 +0200)]
Change "editor row" to just "editor" in method names and javadoc (#13334)

Change-Id: Idafdbe3d71a38a979e1eeb07c527f66ce61ccfa9

9 years agoRename "active" row/cell to "focused" (#13334)
Johannes Dahlström [Wed, 17 Dec 2014 09:37:47 +0000 (11:37 +0200)]
Rename "active" row/cell to "focused" (#13334)

Change-Id: I7a507db8ec62b2e669cc2562cbfaf1693d394f6e

9 years agoGrid theme API changes and style fixes
Jouni Koivuviita [Sat, 13 Dec 2014 23:07:51 +0000 (01:07 +0200)]
Grid theme API changes and style fixes

Renamed decorative element style names:
- “headercorner” -> “header-deco”
- “footercorner” -> “footer-deco”
- “horizontalscrollbarbackground” -> “horizontal-scrollbar-deco”

The “-stripe” style name is now added for odd rows, not even (like in
all Table themes).

Re-implemented the Base mixins for Grid and Escalator. They are now
used for all themes, which should make future development easier
because things should only be implemented in one place.

This change makes the theme also less brittle hopefully, because it
reduces the amount of pixel calculations for paddings etc. and relies
more on plain CSS.

The Base theme now offers many variables for extending themes. This
reduces unnecessary CSS output, and makes it easier to maintain
multiple themes for the Grid.

Added a box-shadow and box-sizing mixins to Base.

Converted all CSS comments to Sass comments.

Change-Id: Iba925062c754c115b5f15e155659cfdccc702945

9 years agoMove SortDirection from grid package to data package (#13334)
Teemu Suo-Anttila [Wed, 17 Dec 2014 08:37:10 +0000 (10:37 +0200)]
Move SortDirection from grid package to data package (#13334)

Change-Id: Id8fecbee0171b783a62d747433667267f530a6a7

9 years agoMerge "Merge remote-tracking branch 'origin/master' into grid" into grid
Henrik Paul [Wed, 17 Dec 2014 10:27:20 +0000 (10:27 +0000)]
Merge "Merge remote-tracking branch 'origin/master' into grid" into grid

9 years agoMerge remote-tracking branch 'origin/master' into grid
Teemu Suo-Anttila [Wed, 17 Dec 2014 09:29:23 +0000 (11:29 +0200)]
Merge remote-tracking branch 'origin/master' into grid

Change-Id: If3dd8380afe425491dfb877c08c4ff078312a3aa

9 years agoFix keyboard navigation from footer/header to body (#13334)
Teemu Suo-Anttila [Tue, 16 Dec 2014 15:03:29 +0000 (17:03 +0200)]
Fix keyboard navigation from footer/header to body (#13334)

Change-Id: I2537a0931e26e001f641b27f7bb428e7941be56f

9 years agoFix Grid Tests to test features correctly (#13334)
Teemu Suo-Anttila [Tue, 16 Dec 2014 14:45:37 +0000 (16:45 +0200)]
Fix Grid Tests to test features correctly (#13334)

Change-Id: Ib7d8863487cc645f83539de2c9d8006fd8995da0

9 years agoUse introspection instead of reflection to get property type (#10672).
Denis Anisimov [Sun, 21 Sep 2014 18:04:31 +0000 (21:04 +0300)]
Use introspection instead of reflection to get property type (#10672).

Change-Id: I4eebad640c3c091bfff335bae8ef455e662ad4cb

9 years agoFixes an issue with Escalator.getVisibleRowRange() if it's empty
Henrik Paul [Sat, 13 Dec 2014 18:38:48 +0000 (20:38 +0200)]
Fixes an issue with Escalator.getVisibleRowRange() if it's empty

Change-Id: I091248c4b4151769b351b45b7715d116de56c41a

9 years agoRemoved packages starting with a digit from export-package (#15105)
Teppo Kurki [Tue, 16 Dec 2014 10:50:22 +0000 (12:50 +0200)]
Removed packages starting with a digit from export-package (#15105)

The Runo theme icons have been duplicated to folders icons16, icons32
and icons64 which will be in the export-package declaration. Original
folders with icons also remain.

Change-Id: I19e481057a418e39a030359f62eefc3bc3d7f131

9 years agoRemove unused "header-active" classname and style (#13334)
Johannes Dahlström [Tue, 16 Dec 2014 12:04:04 +0000 (14:04 +0200)]
Remove unused "header-active" classname and style (#13334)

Change-Id: I11de89a69161d9b355d0de63b8a61470259b518e

9 years agoFix NPE in DateField range handling (#15342)
Teemu Pöntelin [Mon, 15 Dec 2014 18:10:53 +0000 (20:10 +0200)]
Fix NPE in DateField range handling (#15342)

The NPE was introduced by 206055708b0a8e1c17a8c63d482a5e202d3ebf6d.

Change-Id: I34401e108f7c02ee2f0aab581a78b9ab468b2b46

9 years agoRelease session memory at the end of each test
Leif Åstrand [Sat, 13 Dec 2014 19:42:54 +0000 (21:42 +0200)]
Release session memory at the end of each test

Change-Id: I30dd917158091f1fe6f16d050ff7d6037493d3ef

9 years agoFix IE8 exceptions when setting width to negative value (#13334)
Teemu Suo-Anttila [Mon, 15 Dec 2014 11:45:54 +0000 (13:45 +0200)]
Fix IE8 exceptions when setting width to negative value (#13334)

Change-Id: Ib0e2c2aa36568473d8aa98b53832128133127263

9 years agoFix EditorRow not displaying widgets when opened for the first time (#13334)
Johannes Dahlström [Fri, 12 Dec 2014 16:44:32 +0000 (18:44 +0200)]
Fix EditorRow not displaying widgets when opened for the first time (#13334)

Change-Id: If900558c4a927d7db7b206145e9f59fbb04afdf4

9 years agoRemove accidentally retained JavaDoc row
Leif Åstrand [Mon, 15 Dec 2014 11:40:07 +0000 (13:40 +0200)]
Remove accidentally retained JavaDoc row

The offending row was not removed when the proceeding "@throws
JSONException" row was removed.

Change-Id: I38d914284d92554540744e8c52eefa0db78bc55d

9 years agoGeneratedPropertyContainer returns the original container
Henrik Paul [Mon, 15 Dec 2014 11:23:29 +0000 (13:23 +0200)]
GeneratedPropertyContainer returns the original container

Change-Id: Ia766f1e989d6a06d4b1746b0612c090b6fbd2735

9 years agoBack button doesn't change URL if view blocks the navigation (#10901)
Anna Miroshnik [Thu, 11 Dec 2014 15:22:42 +0000 (18:22 +0300)]
Back button doesn't change URL if view blocks the navigation (#10901)

Change-Id: Ib1211a7a2282753b329129615a544264e62d1ed5

9 years agoDelayed column layouting is visible (#15189)
Anna Miroshnik [Fri, 14 Nov 2014 10:46:12 +0000 (13:46 +0300)]
Delayed column layouting is visible (#15189)

Full Name of defect:
Regression: Table column jumps when table is shown and table is contained in a layout

Regression is a outcome of  change due to #12672.

No TB4 test because problem happens too fast to be caught.

Change-Id: I9af5ed3c11e0fb673c7f2f1c5fd4739bd4b8c655

9 years agoThrow IllegalArgumentException on non-existent version column. (#15290)
Sauli Tähkäpää [Sun, 14 Dec 2014 20:34:28 +0000 (22:34 +0200)]
Throw IllegalArgumentException on non-existent version column. (#15290)

Change-Id: I68fdea1144253feba906acd882b573d469f39a30

9 years agoFix push test broken by new StringToEnumConverter
Artur Signell [Sun, 14 Dec 2014 13:06:42 +0000 (15:06 +0200)]
Fix push test broken by new StringToEnumConverter

Change-Id: I76885f3254ec28574ac637905af13cba1a9d2b41

9 years agoUse ComboBox locale for filtering case tranform (#15193)
Leif Åstrand [Mon, 10 Nov 2014 18:26:02 +0000 (20:26 +0200)]
Use ComboBox locale for filtering case tranform (#15193)

Change-Id: Id462c3e76c8d761c04851227c949a3124ddf14b3

9 years agoFixes removing Widgets from Grid header/footer
Teemu Suo-Anttila [Fri, 12 Dec 2014 16:07:49 +0000 (18:07 +0200)]
Fixes removing Widgets from Grid header/footer

Change-Id: Ic2872fec49851ea3c8ed32ca2a77dcbd27e739a8

9 years agoMerge remote-tracking branch 'origin/master' into grid
Leif Åstrand [Fri, 12 Dec 2014 18:29:29 +0000 (20:29 +0200)]
Merge remote-tracking branch 'origin/master' into grid

Change-Id: I7f2c5de8200028b11223e2be3c673bef3339306a

9 years agoRemoves a stowaway file from Grid (#13334)
Henrik Paul [Fri, 12 Dec 2014 18:02:20 +0000 (20:02 +0200)]
Removes a stowaway file from Grid (#13334)

Change-Id: I010bf540b521bcec5f3f6a6d53693bdd042fd1ce

9 years agoRefactor Grid client side package structure (#13334)
Teemu Suo-Anttila [Fri, 12 Dec 2014 16:07:49 +0000 (18:07 +0200)]
Refactor Grid client side package structure (#13334)

Change-Id: Iab81d2344480d2b60303172a96f4e5e4fa8e1623

9 years agoFixes a bug in Grid expand logic (#13334)
Henrik Paul [Fri, 12 Dec 2014 14:46:38 +0000 (16:46 +0200)]
Fixes a bug in Grid expand logic (#13334)

Change-Id: I0ec1ccc0bc88c9fac63abc67cf50f8b12013d984

9 years agoRename client side SelectionChangeEvent (#13334)
Teemu Suo-Anttila [Fri, 12 Dec 2014 14:09:45 +0000 (16:09 +0200)]
Rename client side SelectionChangeEvent (#13334)

Change-Id: I317e7eaa0613e1ce87cef0f4e19f29110104ada7

9 years agoRename SelectionChangeEvent and SortOrderChangeEvent (#13334)
Teemu Suo-Anttila [Fri, 12 Dec 2014 13:30:24 +0000 (15:30 +0200)]
Rename SelectionChangeEvent and SortOrderChangeEvent (#13334)

Also renames related listeners and notifiers.

Change-Id: I96bfdae8173a1c691623938cc7dbcddee7198e46

9 years agoSplit CellStyleGenerator into separate cell and row style generators
Artur Signell [Thu, 11 Dec 2014 23:14:46 +0000 (01:14 +0200)]
Split CellStyleGenerator into separate cell and row style generators
(#13334)

Change-Id: If07018b6f74ff1a4c616705f61b6118647d64342

9 years agoAdd expand and min/max width for GridColumns (#13334)
Henrik Paul [Thu, 11 Dec 2014 18:55:47 +0000 (20:55 +0200)]
Add expand and min/max width for GridColumns (#13334)

Change-Id: I6cb2f4a11d97c3704c1fd8f8571889f1a8d5c4b8

9 years agoRefactor server-side editor row to work in real(er) cases (#13334)
Leif Åstrand [Fri, 12 Dec 2014 13:21:55 +0000 (15:21 +0200)]
Refactor server-side editor row to work in real(er) cases (#13334)

- Don't configure fields for properties without columns
- Rename "bind" to "set" to match the getter
- Make it possible to get a field before editing has started
- Remove setting of editable since the field can be configured directly
- Remove error handler concept since we have not tests and no use cases
- Unbind and detach field when removing a column

Change-Id: I38ead4e680cdbab2525fe08ff09ed045255e2d4f

9 years agoRemove unnecessary @since and @author JavaDoc markings (#13334)
Teemu Suo-Anttila [Fri, 12 Dec 2014 08:08:48 +0000 (10:08 +0200)]
Remove unnecessary @since and @author JavaDoc markings (#13334)

Change-Id: I5fe9fb9a5ec27ec047ef2286bd429efabaa0e818

9 years agoPatches up the themes for Grid a bit (#13334)
Henrik Paul [Wed, 10 Dec 2014 09:51:45 +0000 (11:51 +0200)]
Patches up the themes for Grid a bit (#13334)

Change-Id: I1231b8097d06d8230ddee640894ceaf749dab0ee

9 years agoUse converter for Select/Tree/ComboBox when using item id for caption
Artur Signell [Thu, 25 Sep 2014 07:27:51 +0000 (10:27 +0300)]
Use converter for Select/Tree/ComboBox when using item id for caption
(#11433)

Change-Id: I10c47986b98e132e874b2882fbb2323409d67a25

9 years agoRemove SortEventOriginator and replace it with a boolean (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 21:12:55 +0000 (23:12 +0200)]
Remove SortEventOriginator and replace it with a boolean (#13334)

Change-Id: I8a203c5e2f4bc9074ccf3cb4e7f347f17d89fe52

9 years agoMerge remote-tracking branch 'origin/master' into grid
Artur Signell [Fri, 12 Dec 2014 08:32:29 +0000 (10:32 +0200)]
Merge remote-tracking branch 'origin/master' into grid

Conflicts:
server/tests/src/com/vaadin/data/util/BeanItemContainerTest.java

Change-Id: I04938bd8c5b4f01c3ca801c9f7adbb20d279523c

9 years agoColumns can now have subpixel accuracy widths (#13334)
Henrik Paul [Sun, 7 Dec 2014 23:02:29 +0000 (01:02 +0200)]
Columns can now have subpixel accuracy widths (#13334)

Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272

9 years agoDo not prefix generated styles (#13334)
Artur Signell [Thu, 11 Dec 2014 17:32:47 +0000 (19:32 +0200)]
Do not prefix generated styles (#13334)

Unprefixed styles are easier to use, are consistent with header styles and
multiple styles are consistent instead of the first one being prefixed.

Change-Id: I9ef7502e2e9ece33982f6bf563f95458bf6ea63d

9 years agoMake AbstractRemoteDataSource easier to use (#13334)
Leif Åstrand [Thu, 11 Dec 2014 17:18:44 +0000 (19:18 +0200)]
Make AbstractRemoteDataSource easier to use (#13334)

- Adds a callback to requestRows so implementors know what to do when
receiving data
- Guestimate the initial amount of available rows so an initial request
can be made before the actual size is known

Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4

9 years agoFix gradient path for notifications in Chameleon. (#15351)
Sauli Tähkäpää [Thu, 11 Dec 2014 21:12:12 +0000 (23:12 +0200)]
Fix gradient path for notifications in Chameleon. (#15351)

Change-Id: Ie1e2726613033ad321e15f7f58e098080d4d9a5f

9 years agoMake SQLContainer.removeAllItems() work properly with paging (#12882)
Ilya Ermakov [Wed, 3 Dec 2014 10:43:15 +0000 (13:43 +0300)]
Make SQLContainer.removeAllItems() work properly with paging (#12882)

With this patch removeAllItems() works properly when
items need to be fetched from database.

Change-Id: Ic008ae7c67610cbdde7d71fa071494508678ac8f

9 years agoMove Sort related helpers and events to correct packages (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 12:53:04 +0000 (14:53 +0200)]
Move Sort related helpers and events to correct packages (#13334)

Change-Id: I3aa86364b61d42f971c4fca2b4c4895ddae870c4

9 years agoMake SelectionChangeEvent general and move it to event packacge (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 12:34:05 +0000 (14:34 +0200)]
Make SelectionChangeEvent general and move it to event packacge (#13334)

Change-Id: I232bf1d021dd95dfa3e9697cef4d8e9987da3373

9 years agoMove server-side SelectionModels inside Grid (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 12:04:32 +0000 (14:04 +0200)]
Move server-side SelectionModels inside Grid (#13334)

Change-Id: I382ad0bcb192f44270eb60ec70d9141e8dd463f5

9 years agoRemove editor row discard methods; rename "commit" to "save" (#13334)
Johannes Dahlström [Thu, 11 Dec 2014 15:07:15 +0000 (17:07 +0200)]
Remove editor row discard methods; rename "commit" to "save" (#13334)

Change-Id: Ic7cec3c3750db8a2e0b23a4d38f63e9642999e3e

9 years agoFlatten client-side EditorRow API (#13334)
Johannes Dahlström [Thu, 11 Dec 2014 12:14:59 +0000 (14:14 +0200)]
Flatten client-side EditorRow API (#13334)

Change-Id: I44d8bf004616473481056bdaaa082a898b71438e

9 years agoFix GridColumnAutoWidthClient test to use TestWidgetComponent (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 13:18:26 +0000 (15:18 +0200)]
Fix GridColumnAutoWidthClient test to use TestWidgetComponent (#13334)

Change-Id: I9189e0a547d2a40ebb61b30870194c27dd775b7c

9 years agoMove client-side EditorRow inside Grid (#13334)
Johannes Dahlström [Thu, 11 Dec 2014 11:55:33 +0000 (13:55 +0200)]
Move client-side EditorRow inside Grid (#13334)

This is the first step in the planned API flattening.

Change-Id: I0127108b70131f328895dd8d7376c30b9a613464

9 years agoMove Renderers to com.vaadin.ui.renderer package (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 11:42:06 +0000 (13:42 +0200)]
Move Renderers to com.vaadin.ui.renderer package (#13334)

Change-Id: I80370f05cfa8123d64728abd5ede9642931e0cd8

9 years agoCreate harness for testing standalone widgets (#13334)
Leif Åstrand [Wed, 10 Dec 2014 11:34:40 +0000 (13:34 +0200)]
Create harness for testing standalone widgets (#13334)

Change-Id: I4cce45280c1b55f1c6e3efe7ea9485f2cf25d08a

9 years agoAdd missing TestCategory annotations (#13334)
Teemu Suo-Anttila [Thu, 11 Dec 2014 10:00:03 +0000 (12:00 +0200)]
Add missing TestCategory annotations (#13334)

Change-Id: Iebae8ebe7fae01f886440b4f31e3a916c352baa8

9 years agoRevert "Notify server side component about clicks in form layout (#6346)."
Markus Koivisto [Thu, 11 Dec 2014 12:10:48 +0000 (12:10 +0000)]
Revert "Notify server side component about clicks in form layout (#6346)."

This reverts commit 23bdb6e90d970bd4e9ef11c79c095e65b6963414.

The included test (FormLayoutClickListenerTest) fails on all other browsers except PhantomJS.

Change-Id: Ib60d051da9100eef8f30e6578ac73314bcda3ec3

9 years agoValidate input to FileResource constructor (#14253)
Artur Signell [Wed, 10 Dec 2014 21:41:45 +0000 (23:41 +0200)]
Validate input to FileResource constructor (#14253)

Change-Id: I7789f2de4cb179dfff936498f58dd6f2e491689b

9 years agoTest UI for #15321
Artur Signell [Thu, 4 Dec 2014 07:13:15 +0000 (09:13 +0200)]
Test UI for #15321

Change-Id: I108f8ad473e6637bff9619f110f9194a56482c3e

9 years agoFix selecting logic of SingleSelectionModel API (#13334)
Teemu Suo-Anttila [Wed, 10 Dec 2014 12:20:42 +0000 (14:20 +0200)]
Fix selecting logic of SingleSelectionModel API (#13334)

Change-Id: Ib48e586cb791669efc4aa98442a31c1dda42e1aa

9 years agoVBrowserDetails fails to detect Android when using Firefox (#15183)
Sergey Budkin [Fri, 7 Nov 2014 13:22:24 +0000 (15:22 +0200)]
VBrowserDetails fails to detect Android when using Firefox (#15183)

Changed detection logic.

Change-Id: I9cb8e94fe6bb5be587fa73ed6a71d2c7c1d91733

9 years agoFixes some JavaDoc (#13334)
Henrik Paul [Thu, 11 Dec 2014 08:40:56 +0000 (10:40 +0200)]
Fixes some JavaDoc (#13334)

There's still a lot of things you could explain, but
no time for that now.

Change-Id: I9f3bffe4d14f41b6370f02d0cab05a7559d385c2

9 years agoReset tabsheet scroller when unhiding leftmost tab (#14644)
Alexey Fansky [Wed, 10 Dec 2014 23:52:46 +0000 (15:52 -0800)]
Reset tabsheet scroller when unhiding leftmost tab (#14644)

Checking whether invisible tab are present before the scroll index and
if so resetting the scroll index when tab goes back to visible.

Change-Id: I156dbe93963b0d9f46e21a593ffc3c4c77ebd1c6

9 years agoAvoid eager cache refresh after insert and remove (#13334)
Leif Åstrand [Wed, 10 Dec 2014 22:28:09 +0000 (00:28 +0200)]
Avoid eager cache refresh after insert and remove (#13334)

By doing the cache coverage check lazily, multiple inserts or removes
happening "at the same time" can be taken into account when deciding
which rows to fetch.

Change-Id: I25c8248a1ec4cae76484c959efd474c9a880d329

9 years agoConvert empty string to null Enum value, only throw ConversionExceptions (#14756)
Artur Signell [Tue, 9 Dec 2014 20:16:50 +0000 (22:16 +0200)]
Convert empty string to null Enum value, only throw ConversionExceptions (#14756)

Change-Id: I027a245975db12e3661740bd233edd98e73994e9

9 years agoClear all bound fields when nulling the field group data source (#12371)
Artur Signell [Tue, 9 Dec 2014 17:43:06 +0000 (19:43 +0200)]
Clear all bound fields when nulling the field group data source (#12371)

Change-Id: I48eb0e7851187fa6bbb9024730b2611a74501ad0

9 years agoSplit and capitalize header captions by default
Artur Signell [Mon, 8 Dec 2014 18:13:20 +0000 (20:13 +0200)]
Split and capitalize header captions by default

Only done on the server side where we have property ids to generate the default
headers from. On the client side you must always specify the header.

Change-Id: Ic743fb3f52517116193b022cfdd2df7dea8dd487

9 years agoNotify server side component about clicks in form layout (#6346).
Denis Anisimov [Tue, 23 Sep 2014 19:18:40 +0000 (22:18 +0300)]
Notify server side component about clicks in form layout (#6346).

Change-Id: Idc4399dc94b253694c4e0d716d2b65964a2217f8

9 years agoAdd sanity checking to server side selection models (#13334)
Teemu Suo-Anttila [Wed, 10 Dec 2014 10:41:44 +0000 (12:41 +0200)]
Add sanity checking to server side selection models (#13334)

Change-Id: I9686cdbf82c017f834502cf56eafe23ca9829d5f

9 years agoAdd public Field.isEmpty() and clear() (#15354)
Artur Signell [Tue, 9 Dec 2014 14:58:01 +0000 (16:58 +0200)]
Add public Field.isEmpty() and clear() (#15354)

Change-Id: I6bda7ff2a66a9ad172c899d855ca868881600be4

9 years agoRender empty cell instead of stopping rendering if a converter is missing
Artur Signell [Mon, 8 Dec 2014 18:41:40 +0000 (20:41 +0200)]
Render empty cell instead of stopping rendering if a converter is missing

Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656

9 years agoFix client-side Fluid Sort API Javadoc (#13334)
Artur Signell [Wed, 10 Dec 2014 19:00:05 +0000 (21:00 +0200)]
Fix client-side Fluid Sort API Javadoc (#13334)

Change-Id: If5f8508cb8d4572fd8f9176b0a62dcdd61a321a9

9 years agoFix CustomLayout child rendering when template is missing (#8696)
Teemu Pöntelin [Thu, 4 Dec 2014 18:09:42 +0000 (20:09 +0200)]
Fix CustomLayout child rendering when template is missing (#8696)

Change-Id: I8ce4fbc566f030bf22c555f68b97beb781b19805

9 years agoHorizontal split panel height shouldn't ignore second component (#15149)
Denis Anisimov [Fri, 31 Oct 2014 18:33:39 +0000 (20:33 +0200)]
Horizontal split panel height shouldn't ignore second component (#15149)

Change-Id: Ie925757167b6d8521707b6d5515157eca85f9dba

9 years agoSet explicit calculated size for drag image element (#14617).
Denis Anisimov [Sun, 14 Sep 2014 09:49:23 +0000 (12:49 +0300)]
Set explicit calculated size for drag image element (#14617).

Change-Id: I6bfcd0a5ad78bd79aad2fa2357a7e33a00b3c33d

9 years agoalways retry a status code 0 uidl request (#15254)
Fabian Lange [Tue, 25 Nov 2014 09:26:18 +0000 (10:26 +0100)]
always retry a status code 0 uidl request (#15254)

A status code of 0 indicates that the request has not been handled by
the server because the connection was closed without sending response
headers.
This can happen on the browser side when the browser window is closed,
or it can happen on network equipment side under adverse quality of link
conditions.
Therefore vaadin should retry such a request once before popping up the
disconnect message.

Change-Id: I9524c97a3de8e4ac9499394a2a795b0441a36ead

9 years agoGridColumns can resize-to-fit. (#13334)
Henrik Paul [Wed, 19 Nov 2014 13:53:48 +0000 (15:53 +0200)]
GridColumns can resize-to-fit. (#13334)

SelectionColumns do that now automatically.
Colspanned cells get ignored

Change-Id: Ie427ba8df43ad84786c381def8cec216297feb06

9 years agoSet locale explicitly in DateRangeWithSql. (#15342)
Sauli Tähkäpää [Wed, 10 Dec 2014 10:38:45 +0000 (12:38 +0200)]
Set locale explicitly in DateRangeWithSql. (#15342)

Change-Id: I5f73ac5e8bc6be93fa0f9b9089b1584fb35f4a76

9 years agoTextField's input prompt is now disabled properly (#15144)
Sara Seppola [Thu, 6 Nov 2014 13:46:17 +0000 (15:46 +0200)]
TextField's input prompt is now disabled properly (#15144)

Change-Id: I9b5d07ec2d8df78c3f120c2a891cc548da787f38

9 years agoAccordion causes SEVERE error in browser console (#15182)
Sergey Budkin [Thu, 13 Nov 2014 14:47:15 +0000 (16:47 +0200)]
Accordion causes SEVERE error in browser console (#15182)

Refactored to remove invisible widgets from DOM.

Change-Id: I94d0ba37f4a75d71df88fbb0b1767ae60f39432d

9 years agoIntroduce GridClickEvents and handlers (#13334)
Teemu Suo-Anttila [Tue, 9 Dec 2014 13:57:48 +0000 (15:57 +0200)]
Introduce GridClickEvents and handlers (#13334)

This patch also adds body cell click selecting to single selection model
to test this feature.

Change-Id: I06819799c97457dc0e7bd38dd5855eb33ba91943

9 years agoDateField popup doesn't close when popup button is clicked (#14857)
Anna Miroshnik [Mon, 17 Nov 2014 14:33:54 +0000 (17:33 +0300)]
DateField popup doesn't close when popup button is clicked (#14857)

Change-Id: Ieb6ff2f072726fe8707d3cce61569dd623b13ebd

9 years agoMenuBar submenus close unexpectedly if use Valo theme (#15255)
Jouni Koivuviita [Wed, 10 Dec 2014 08:42:37 +0000 (10:42 +0200)]
MenuBar submenus close unexpectedly if use Valo theme (#15255)

This fix is for animation-in and animation-out.

Fix was done in VMenuBar. VOverlay provides now hide() method with
possibility to enable/disable the animations via parameters boolean
animateIn, boolean animateOut. By default they are true (not to break
animate-in, animate-out for VWindow and VNotification)

Change-Id: I49981952c7c18a02edd7fa9e6d247bb18f660207

9 years agoLong events aren't displayed properly when using Container (#15242)
Sergey Budkin [Tue, 25 Nov 2014 17:35:13 +0000 (19:35 +0200)]
Long events aren't displayed properly when using Container (#15242)

Rewrote event selection.

Change-Id: I8f0dd1c5ec736ea14037619b1656a79b7e3532be

9 years agoRemove selection column from single selection model (#13334)
Teemu Suo-Anttila [Tue, 9 Dec 2014 12:53:27 +0000 (14:53 +0200)]
Remove selection column from single selection model (#13334)

This patch makes some changes to selection model logic and refactors the
space selection handling from MultiSelectionRenderer to its own class.

Change-Id: I5c4a7d68531a8b4f38991719ae54c9f87119e9a4

9 years agoDon't set frozen column count before columns have been updated (#13334)
Leif Åstrand [Wed, 10 Dec 2014 07:48:38 +0000 (09:48 +0200)]
Don't set frozen column count before columns have been updated (#13334)

Change-Id: I63ab65dad6dacfb5dafe55147c18d3e4ec0e36a5

9 years agoFlattening server-side EditorRow API (#13334)
Leif Åstrand [Wed, 10 Dec 2014 07:53:37 +0000 (09:53 +0200)]
Flattening server-side EditorRow API (#13334)

This commit just flattens the EditorRow class into Grid without changing
any behavior. isEditing() was changed to isEditorRowActive() since
isEditorRowEditing() didn't make any sense. Some javadocs have also been
slightly tweaked.

Change-Id: I7c266328ea93bde3e476bfb6e4d594469de26c76

9 years agoPosition calendar popup on the left side if there is no space (#14757).
Denis Anisimov [Thu, 6 Nov 2014 07:15:15 +0000 (09:15 +0200)]
Position calendar popup on the left side if there is no space (#14757).

Change-Id: I83836bbf077033712a569c8eff52576b012b4dee

9 years agoFix Grid client side column adding functions to return columns (#13334)
Teemu Suo-Anttila [Wed, 10 Dec 2014 06:59:22 +0000 (08:59 +0200)]
Fix Grid client side column adding functions to return columns (#13334)

Change-Id: I65e095e3af1313f67a24153c5bb0d3b73744a859

9 years agoFix broken import (#13334)
Leif Åstrand [Wed, 10 Dec 2014 07:54:13 +0000 (09:54 +0200)]
Fix broken import (#13334)

Change-Id: Ib6c4394d40eb6d43c7b757bf2b65b7d2bac212bd

9 years agoMake TextField.clear() use empty string to be consistent with constructor (#14755)
Artur Signell [Tue, 2 Dec 2014 19:19:06 +0000 (21:19 +0200)]
Make TextField.clear() use empty string to be consistent with constructor (#14755)

Change-Id: Ic50ff305277e54f50353fc948b31a89a6b3e083f