]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoGrid no longer resets scrollpos on state change (#15422)
Henrik Paul [Fri, 19 Dec 2014 09:43:04 +0000 (11:43 +0200)]
Grid no longer resets scrollpos on state change (#15422)

Change-Id: I3fde618a47ad9bb0f8b79c52feb10dd74a387203

9 years agoFix Range.restrictTo to work with non-intersecting ranges(#13334)
Teemu Suo-Anttila [Fri, 19 Dec 2014 07:01:23 +0000 (09:01 +0200)]
Fix Range.restrictTo to work with non-intersecting ranges(#13334)

Also adds a special case for isSubsetOf with two empty ranges.

Change-Id: I9b4c854051bd760bbac05c7a0bc2e5418371e90e

9 years agoFix cache updating in AbstractRemoteDataSource on row remove (#13334)
Teemu Suo-Anttila [Fri, 19 Dec 2014 06:31:03 +0000 (08:31 +0200)]
Fix cache updating in AbstractRemoteDataSource on row remove (#13334)

Also contains a minor performance tweak for row adding in start of the
cache and updates to cell focus logic.

Change-Id: Ia64e43dd5ae8777014885b5e7dd05cb31b54eae2

9 years agoPrevent scrolling when adding rows above the focused cell (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 16:46:35 +0000 (18:46 +0200)]
Prevent scrolling when adding rows above the focused cell (#13334)

Change-Id: Ic9c9285bae16f7ddec72f621976667ee68a7c103

9 years agoFix indexing when adding rows to AbstractRemoteDataSource (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 16:28:49 +0000 (18:28 +0200)]
Fix indexing when adding rows to AbstractRemoteDataSource (#13334)

Change-Id: Ifa7c8dacb71d2f6ff612e3801b869652fa0a7bc7

9 years agoSet @since values for Grid classes
Leif Åstrand [Thu, 18 Dec 2014 14:12:08 +0000 (16:12 +0200)]
Set @since values for Grid classes

Change-Id: Ib0c7d23c2a963e24ecca7769f6b179826be55102

9 years agoMerge remote-tracking branch 'origin/master' into grid
Leif Åstrand [Thu, 18 Dec 2014 16:30:09 +0000 (18:30 +0200)]
Merge remote-tracking branch 'origin/master' into grid

Change-Id: Ic7629f9cedb3c948edf4f63c678ca499e3d52805

9 years agoUpdate broken TB2 test to valid TB3 test (#14755)
Artur Signell [Thu, 18 Dec 2014 15:25:15 +0000 (17:25 +0200)]
Update broken TB2 test to valid TB3 test (#14755)

Change-Id: Idc26ac1fee3edd36646b7a6bd84424d0caa37e63

9 years agoHeights are now double precision floats (#13334)
Henrik Paul [Thu, 18 Dec 2014 14:10:43 +0000 (16:10 +0200)]
Heights are now double precision floats (#13334)

Change-Id: Id9e1dd4b4a480dd512f3dd78fde2f9a0256087e9

9 years agoChange "editor row" to "editor" in style names (#13334)
Johannes Dahlström [Thu, 18 Dec 2014 14:31:34 +0000 (16:31 +0200)]
Change "editor row" to "editor" in style names (#13334)

Change-Id: I690c8c17c673ec2d77870cf305dee1ac1b9bc3be

9 years agoAdd -moz prefixed border boxes and box shadows to base theme (#13334)
Teemu Suo-Anttila [Thu, 18 Dec 2014 14:44:44 +0000 (16:44 +0200)]
Add -moz prefixed border boxes and box shadows to base theme (#13334)

Change-Id: I22fafc7c0a6221ba5ff596494623fe798c9dad94

9 years agoStops non-scrolling scrollbars from interfering with pointing events
Henrik Paul [Sat, 13 Dec 2014 20:56:56 +0000 (22:56 +0200)]
Stops non-scrolling scrollbars from interfering with pointing events

Some minor scrollbar-related maintenance was also done on the side.

Change-Id: I37d728465e498f586596e1eff14d73d6335e6770

9 years agoAllow captions to contain HTML (#9426)
Artur Signell [Thu, 4 Sep 2014 18:57:34 +0000 (21:57 +0300)]
Allow captions to contain HTML (#9426)

Change-Id: I4a0e580aef1a97ce69238ea0d476599883928d84

9 years agoFix regressions in Grid SCSS
Jouni Koivuviita [Thu, 18 Dec 2014 12:27:02 +0000 (14:27 +0200)]
Fix regressions in Grid SCSS

Fix regressions from previous Grid style patch:
- Typo in selector (dot instead of comma)
- “active” style renamed to “focused”
- Scrollbar border styling moved from Valo (was working) to Base (now
all themes work the same)

Change-Id: I778de73027f0cb9def1fb93e5188f494f0a49639

9 years agoMissing @since for 7.4
Leif Åstrand [Thu, 18 Dec 2014 13:53:31 +0000 (15:53 +0200)]
Missing @since for 7.4

Change-Id: I8fdf0c264febf2ab9ae0f230f6bb357ef57be9ec

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 agoMove TB2 files to separate folder
Artur Signell [Thu, 18 Dec 2014 11:26:19 +0000 (13:26 +0200)]
Move TB2 files to separate folder

This avoids running other HTML files as TB2 tests

Change-Id: I32445aeaeaf77f3a34771db6fa0d2eb40fc60ff7

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 agoFix inconsistencies in CheckBox clear and isEmpty (#14755)
Artur Signell [Thu, 18 Dec 2014 10:07:41 +0000 (12:07 +0200)]
Fix inconsistencies in CheckBox clear and isEmpty (#14755)

Change-Id: I566257d3a4db15973f76a5a70adb095bd7203918

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 agoRevert "TextField's input prompt is now disabled properly (#15144)"
Artur Signell [Thu, 18 Dec 2014 09:27:53 +0000 (09:27 +0000)]
Revert "TextField's input prompt is now disabled properly (#15144)"

This reverts commit 52236519d9d3ed0cd7de5ed52c6aa19c514e15d6.

Causes regression when updating style names in a text change listener (TextChangeListenerChangingNonTextProperties)

Change-Id: I50bdb674872b98f3b1495a1115e352bfa7f13e8c

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 agoMinor declarative API improvement (#7749)
Artur Signell [Thu, 18 Dec 2014 08:34:16 +0000 (10:34 +0200)]
Minor declarative API improvement (#7749)

Change-Id: Id5b11b27e7750085d30d2fa592b124ae474d6e9a

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 agoUpdate release notes for Vaadin 7.4
Leif Åstrand [Wed, 17 Dec 2014 13:34:37 +0000 (15:34 +0200)]
Update release notes for Vaadin 7.4

Change-Id: Ifb65c053cf27ceac20c7f589dc4fcb76a4c468cf

9 years agoRevert "Workaround for Atmosphere race condition (#13528)" (#14534)
Artur Signell [Thu, 18 Dec 2014 07:19:21 +0000 (09:19 +0200)]
Revert "Workaround for Atmosphere race condition (#13528)" (#14534)

This reverts commit 7f9ea1c9159c8362e6a309b630cbb59a4dae72dd.
The problem is fixed in Atmosphere 2.2

Conflicts:
server/src/com/vaadin/server/communication/PushRequestHandler.java

Change-Id: I04a1b0c87927beb9b2048fee1ec95cd17af53a28

9 years agoMerge "Merge remote-tracking branch 'origin/declarative'"
Artur Signell [Thu, 18 Dec 2014 08:29:56 +0000 (08:29 +0000)]
Merge "Merge remote-tracking branch 'origin/declarative'"

9 years agoUpdate to Atmosphere 2.2 (#14534)
Artur Signell [Thu, 18 Dec 2014 07:12:43 +0000 (09:12 +0200)]
Update to Atmosphere 2.2 (#14534)

Does not use the new heartbeat mechanism in Atmosphere 2.2 because the heartbeat
mechanism will cause the client to reconnect every 60 seconds when idle.
It does not currently work with Vaadin because no onreopen event is fired by
Atmosphere (https://github.com/Atmosphere/atmosphere-javascript/issues/141) and thus
Vaadin will wait forever for Atmosphere to indicate that the connection is available
again after the disconnect.

Change-Id: I3a61b2c5d611f09c3092f817834e6382e1ca9894

9 years agoMerge remote-tracking branch 'origin/declarative'
Artur Signell [Thu, 18 Dec 2014 07:57:52 +0000 (09:57 +0200)]
Merge remote-tracking branch 'origin/declarative'

Change-Id: I7caf7a28f9c6e536797cf41e307e4d6d18bd3222

9 years agoStop active testing on ancient server versions
Artur Signell [Wed, 17 Dec 2014 22:27:30 +0000 (00:27 +0200)]
Stop active testing on ancient server versions

Jetty 6 (pre-Eclipse) end of life was in 2010
Tomcat 5 end of life was in 2012

Change-Id: I8952fd541be4c262a7b2e3dc97ba4743bcbd2fbd

9 years agoAdd missing @since for 7.3.7.
Sauli Tähkäpää [Wed, 17 Dec 2014 08:10:28 +0000 (10:10 +0200)]
Add missing @since for 7.3.7.

Change-Id: I44b29ca74ed9d8037a307b790115c2e21cb2c376

9 years agoAPI refactoring (#7749) declarative
Artur Signell [Wed, 17 Dec 2014 20:35:51 +0000 (22:35 +0200)]
API refactoring (#7749)

Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5

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 agoDeclarative support for CheckBox (#7749)
Matti Hosio [Wed, 17 Dec 2014 14:12:49 +0000 (16:12 +0200)]
Declarative support for CheckBox (#7749)

Change-Id: Ia0608cd0827ab09d9b30993738acd45317778e55

9 years agoUpdate the javadocs in declarative (#7749).
Mika Murtojarvi [Wed, 17 Dec 2014 13:33:00 +0000 (15:33 +0200)]
Update the javadocs in declarative (#7749).

Change-Id: If4fd1f0434c1c6d78e47fc503b49781c35494f84

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 agoAdd namespace element for custom components (#7749)
Matti Hosio [Wed, 17 Dec 2014 13:30:46 +0000 (15:30 +0200)]
Add namespace element for custom components (#7749)

Change-Id: Iea7e4057df5a61805ba2f6c087fbb3bcd23f68c7

9 years agoUnit tests for nested templates (#7749)
Matti Hosio [Wed, 17 Dec 2014 10:57:39 +0000 (12:57 +0200)]
Unit tests for nested templates (#7749)

Change-Id: I0190870de8d7d15406cbe54ae8dc0b7761a13910

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 agoDo not write immediate to design if component is immediate by default (#7749)
Matti Hosio [Wed, 17 Dec 2014 13:17:58 +0000 (15:17 +0200)]
Do not write immediate to design if component is immediate by default (#7749)

Change-Id: Ia79844498c9f6ebc715d15039f7db8441e3565b9

9 years agoEnable Atmosphere client side debug logging with ?debug=push (#14534)
Artur Signell [Wed, 17 Dec 2014 13:24:14 +0000 (15:24 +0200)]
Enable Atmosphere client side debug logging with ?debug=push (#14534)

Change-Id: I9081e4e1cec2a7916e644dc397aeab72809ccae5

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 agoDo not throw exception when trying to bind a preinitialized instance field (#7749)
Matti Hosio [Wed, 17 Dec 2014 12:08:59 +0000 (14:08 +0200)]
Do not throw exception when trying to bind a preinitialized instance field (#7749)

Change-Id: I8b40e667d03b63e05f006e7cedf108345591d118

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 agoAdd viewport tag generation support (#13710)
Leif Åstrand [Tue, 16 Dec 2014 13:22:28 +0000 (15:22 +0200)]
Add viewport tag generation support (#13710)

Change-Id: Ic38f640e44b91b4a1e1e906ab92a751d7a13ee65

9 years agoFix the license checker after elemental.json #15383
Jonatan Kronqvist [Mon, 15 Dec 2014 13:07:15 +0000 (15:07 +0200)]
Fix the license checker after elemental.json #15383

The elemental.json update changed how null values and string
representations of numbers were parsed, which caused a lot of
tests for CvalChecker to fail. Unfortunately the tests were
never run in an automated fashion, which means that they were
never discovered until we stumbled upon it due to the issue
reported in #15383

Change-Id: If2cb9fa96effea7ce55a4ffe6d1666ca7521e1fb

9 years agoUpdates for the javadocs of declarative (#7749).
Mika Murtojarvi [Wed, 17 Dec 2014 10:24:26 +0000 (12:24 +0200)]
Updates for the javadocs of declarative (#7749).

Change-Id: I623ba0c17673144f0886556937d25f80ea1f3ffd

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 agoSome fixes to potus demo (#7749)
Matti Hosio [Wed, 17 Dec 2014 08:28:31 +0000 (10:28 +0200)]
Some fixes to potus demo (#7749)

Change-Id: I61b80e8610431988ae3bd6a88993b010d116db4e

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 agoHandle portlet error messages properly (#15398)
Leif Åstrand [Mon, 15 Dec 2014 19:12:35 +0000 (21:12 +0200)]
Handle portlet error messages properly (#15398)

Change-Id: Ie7936fd2eaca0e0c5da1f6ed8f12238ae207b7eb

9 years agoEmpty since tags -> 7.4
Artur Signell [Wed, 17 Dec 2014 09:13:50 +0000 (11:13 +0200)]
Empty since tags -> 7.4

Change-Id: I73755f0c580c40b93d95df5e3ca55f6617c21353

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 agoFixes unnecessary padding-top added to all responsive UIs (#14679)
Teppo Kurki [Mon, 15 Dec 2014 13:53:03 +0000 (15:53 +0200)]
Fixes unnecessary padding-top added to all responsive UIs (#14679)

When using Valo theme and Responsive extension, all responsive UIs get a padding-top even though it should be only added when a Valo Menu is present in the UI. Added a stylename which has to be added to any responsive UIs containing a Valo Menu.

Change-Id: Ib3e3c5341bef03c174accb01401b4a90c1deb29e

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 agoMerge remote-tracking branch 'origin/master' into declarative
Matti Hosio [Wed, 17 Dec 2014 08:31:33 +0000 (10:31 +0200)]
Merge remote-tracking branch 'origin/master' into declarative

Conflicts:
server/src/com/vaadin/ui/TextField.java

Change-Id: I289cb9ec80d494ab79aec11a43708abf5b403a00

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 agoImproved potus demo (#7749)
Matti Hosio [Tue, 16 Dec 2014 16:09:56 +0000 (18:09 +0200)]
Improved potus demo (#7749)

Change-Id: I330d669238b2c79ca2afda396a5e07833f0af90a

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 agoClarified javadoc (#7749)
Artur Signell [Tue, 16 Dec 2014 08:05:54 +0000 (10:05 +0200)]
Clarified javadoc (#7749)

Change-Id: I89d55fdc9b380f90940477e1d4d031394c81ee40

9 years agoDo not write child components in sub templates (#7749)
Matti Hosio [Tue, 16 Dec 2014 12:29:08 +0000 (14:29 +0200)]
Do not write child components in sub templates (#7749)

Change-Id: I7e19e86618bbf27ae3a6e585bab000f26dd8f6d5

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 agoTest for custom reading of design in constructor (#7749)
Artur Signell [Mon, 15 Dec 2014 20:51:09 +0000 (22:51 +0200)]
Test for custom reading of design in constructor (#7749)

Change-Id: I9f8da4b3b65d75f5890619d1220db34d02538fbc

9 years agoGeneric cleanup (#7749)
Artur Signell [Mon, 15 Dec 2014 20:10:23 +0000 (22:10 +0200)]
Generic cleanup (#7749)

Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a

9 years agoDo not remove children in read to ensure @DesignRoot reading works
Artur Signell [Mon, 15 Dec 2014 21:21:49 +0000 (23:21 +0200)]
Do not remove children in read to ensure @DesignRoot reading works
properly (#7749)

Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5

9 years agoDeclarative support for Label (#7749)
Matti Hosio [Tue, 16 Dec 2014 12:56:23 +0000 (14:56 +0200)]
Declarative support for Label (#7749)

Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876

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 agoHandle tab indexes in a generic way (#7749)
Artur Signell [Mon, 15 Dec 2014 20:48:50 +0000 (22:48 +0200)]
Handle tab indexes in a generic way (#7749)

Change-Id: I6e449ed7fd0acaf683da98ae3fcf55ff544c3b48

9 years agoDo not write empty icon-alt or icon-alternate-text (#7749)
Artur Signell [Mon, 15 Dec 2014 20:03:26 +0000 (22:03 +0200)]
Do not write empty icon-alt or icon-alternate-text (#7749)

Change-Id: Idca7206667ca4c37f8b5bfe8f3344c751624e526

9 years agocreateNode -> createElement
Artur Signell [Mon, 15 Dec 2014 21:07:42 +0000 (23:07 +0200)]
createNode -> createElement

Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f

9 years agoFix writing issues (#7749)
Artur Signell [Mon, 15 Dec 2014 21:02:22 +0000 (23:02 +0200)]
Fix writing issues (#7749)

* A root component with @DesignRoot must always use its superclass for
default values. Otherwise the written design will be empty as the
design is read in the constructor.

* A component which is not the root must not write its component tree
if the component tree is generated in the constructor. This is a
simplification which should be good enough for most cases (can't add
children in constructor and also using addComponent - in this case
the component added with addComponent will not be written).

* Test cases for nested templates

Change-Id: I3a384d1d8654b9865a3a790ebeb055a300a62135

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 agoDo not create default instances while reading designs (#7749)
Artur Signell [Mon, 15 Dec 2014 06:41:45 +0000 (08:41 +0200)]
Do not create default instances while reading designs (#7749)

Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd

9 years agoSynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Artur Signell [Sun, 14 Dec 2014 19:34:01 +0000 (21:34 +0200)]
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)

Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11

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 agoTests for declarative support (#7749)
Artur Signell [Sun, 14 Dec 2014 19:22:14 +0000 (21:22 +0200)]
Tests for declarative support (#7749)

Change-Id: I4dee7d3583a80f2f6a7334792ca064c725320bf0

9 years agoAdd public API for loading design based on @DesignRoot (#7749)
Artur Signell [Sun, 14 Dec 2014 18:01:52 +0000 (20:01 +0200)]
Add public API for loading design based on @DesignRoot (#7749)

Change-Id: Ic6f201a45d66aefe9ec93ba3be5a75b6532bf014

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 agoRefactored API for loading designs (#7749)
Artur Signell [Fri, 12 Dec 2014 21:47:40 +0000 (23:47 +0200)]
Refactored API for loading designs (#7749)

Now contains read methods
* Component read(InputStream design)
* DesignContext read(InputStream design, Component rootComponent)
* DesignContext read(String filename, Component rootComponent)

and write methods
* write(Component component, OutputStream outputStream)
* write(DesignContext designContext, OutputStream outputStream)

Change-Id: I9d6862240c5b2018ec39a164a54e7c047a00971b

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 agoMake field binding in designs case insensitive (#7749)
Artur Signell [Fri, 12 Dec 2014 21:29:41 +0000 (23:29 +0200)]
Make field binding in designs case insensitive (#7749)

Change-Id: I002daf9c2cf544bd648ad9b009c67e058f514aad

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 agoSupport plain-text attribute for Label (#7749)
Artur Signell [Sat, 13 Dec 2014 10:12:12 +0000 (12:12 +0200)]
Support plain-text attribute for Label (#7749)

Change-Id: I4ef210d131f1e616b501468cb94ea518945a3b30

9 years agoRename LayoutHandler to Design (#7749)
Artur Signell [Fri, 12 Dec 2014 09:01:55 +0000 (11:01 +0200)]
Rename LayoutHandler to Design (#7749)

Change-Id: I86fcf9062804c7eb71d460d2003a3f5eb8d775eb

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