]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoIgnore compiled valo test themes 7.2 7.2.7
Leif Åstrand [Sat, 30 Aug 2014 13:09:33 +0000 (16:09 +0300)]
Ignore compiled valo test themes

Valo is not included in 7.2, but it still helps to have the generated
resources ignored when changing between branches.

Change-Id: I4f2580230a18adf299334eb43aea4f8bccd7bb4a

10 years agoDon't try to build valo on 7.2
Leif Åstrand [Sat, 30 Aug 2014 13:07:04 +0000 (16:07 +0300)]
Don't try to build valo on 7.2

10 years agoDisappearingComponents test upgrade (#14292)
Anna Koskinen [Mon, 4 Aug 2014 12:07:33 +0000 (15:07 +0300)]
DisappearingComponents test upgrade (#14292)

Change-Id: I9831ca315b0a9f87d3f6baef3966a4efa43684c1

10 years agoMigrated ButtonUndefinedWidth to TB3 test
Anthony Guerreiro [Fri, 1 Aug 2014 14:53:08 +0000 (15:53 +0100)]
Migrated ButtonUndefinedWidth to TB3 test

Change-Id: I91a24a89cb7f0c348f14a0ddf9ba4cc6cf2ad993

10 years agoEditableModeChange test upgrade (#14292)
Anna Koskinen [Mon, 4 Aug 2014 13:51:24 +0000 (16:51 +0300)]
EditableModeChange test upgrade (#14292)

Change-Id: Ibbd2704dbf97d1b68cbb4937f930242635226c05

10 years agoTreeTableOutOfSync test upgrade (#14292)
Anna Koskinen [Mon, 4 Aug 2014 08:34:11 +0000 (11:34 +0300)]
TreeTableOutOfSync test upgrade (#14292)

Change-Id: Idf9b509c63290fca75cb67aeaa8ec981c8fa5b71

10 years agoTextFieldValueGoesMissing test rewrite to TB3
Heikki Ohinmaa [Wed, 6 Aug 2014 11:00:08 +0000 (14:00 +0300)]
TextFieldValueGoesMissing test rewrite to TB3

Change-Id: Icd665baa9a9fd40b913a462ae0563ac3dcb368da

10 years agoTableRowHeight2 test upgrade (#14292)
Anna Koskinen [Fri, 1 Aug 2014 14:05:33 +0000 (17:05 +0300)]
TableRowHeight2 test upgrade (#14292)

Change-Id: Ied17689fb63c7b010764d45902eb404087d1fd8f

10 years agoTableItemDescriptionGenerator test upgrade (#14292)
Anna Koskinen [Fri, 1 Aug 2014 13:07:52 +0000 (16:07 +0300)]
TableItemDescriptionGenerator test upgrade (#14292)

Change-Id: Ica328a6e68c684119b1c0c627e5e1451aaf8b391

10 years agoTableClickAndDragOnIconAndComponents test upgrade (#14292)
Anna Koskinen [Fri, 1 Aug 2014 07:17:25 +0000 (10:17 +0300)]
TableClickAndDragOnIconAndComponents test upgrade (#14292)

Change-Id: I9677d9da361297cf38cadcab043746efd03ff908

10 years agoDelegateToWidget will now be run even for parent states (#14059)
Mikael Grankvist [Tue, 1 Jul 2014 11:11:05 +0000 (14:11 +0300)]
DelegateToWidget will now be run even for parent states (#14059)

Change-Id: I2622c5c0f6ebea701a0fb07b3a63dc44d6c4c808

10 years agofixes incorrect JSONArray/String usage in ServerRpcHandler (#14471)
Fabian Lange [Thu, 28 Aug 2014 16:23:15 +0000 (19:23 +0300)]
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

10 years agoFix the closing of a popup DateField (#14086, #14375).
Mika Murtojarvi [Wed, 6 Aug 2014 16:22:30 +0000 (19:22 +0300)]
Fix the closing of a popup DateField (#14086, #14375).

The popup is made non-modal.

Change-Id: Ia396ff1e2e88639b97c9f556d7d3866f76755436

10 years agoPrevent browser to scroll when space it pressed on a TabSheet (#14320)
Bogdan Udrescu [Mon, 11 Aug 2014 10:08:39 +0000 (13:08 +0300)]
Prevent browser to scroll when space it pressed on a TabSheet (#14320)

Browser page scroll by default when space key is pressed.
The TabSheet uses the space key (32) to select the tab
when navigating using left/right keys. So when the space
is pressed the default browser page scroll behavior is
now prevented.

Change-Id: I8c3c7c4904109018d2f91447235e30dbd29eec5d

10 years agoDo not call requestStart/end multiple times when using push (#14228)
Artur Signell [Mon, 4 Aug 2014 11:12:59 +0000 (14:12 +0300)]
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

10 years agoFix the behavior of PopupDateField when changing resolution (#14174).
Mika Murtojarvi [Wed, 30 Jul 2014 13:42:53 +0000 (16:42 +0300)]
Fix the behavior of PopupDateField when changing resolution (#14174).

Change-Id: I99b325d71d9d6830349b92cc1226d6ad80066569

10 years agoFix regression caused by #14147 patch (#14147)
Anthony Guerreiro [Wed, 6 Aug 2014 08:06:00 +0000 (09:06 +0100)]
Fix regression caused by #14147 patch (#14147)

The previous patch caused TestCurrentPageFirstItem to fail.

Change-Id: I6eec8818f5ba2ce847a696afa40ba423ec482668

10 years agoFix table.setCurrentPageFirstItemIndex(n) to load only needed rows (#14135)
Anthony Guerreiro [Wed, 9 Jul 2014 13:48:28 +0000 (16:48 +0300)]
Fix table.setCurrentPageFirstItemIndex(n) to load only needed rows (#14135)

Change-Id: I0186ce32f915b39a012bb653e501b0cad72a9f32

10 years agoContext menu is not shown in Table body on mobile browsers (#13694)
Heikki Ohinmaa [Thu, 7 Aug 2014 10:27:14 +0000 (13:27 +0300)]
Context menu is not shown in Table body on mobile browsers (#13694)

Includes updated tests.

Change-Id: I928b888302a2cd22b7c94600fd4f8b7608ba0ca8

10 years agoCorrectly display an item which is too long for the textfield. (#13477)
Guillermo Alvarez [Mon, 11 Aug 2014 07:56:58 +0000 (10:56 +0300)]
Correctly display an item which is too long for the textfield. (#13477)

New JSNI function allows direction parameter in setSelectionRange.
This allows setting selection backward and fixes the issue in FF.

Change-Id: I1e34b70983e3f525b7009668877038f108d286a7

10 years agoCorrectly display an item which is too long for the textfield. (#13477)
Guillermo Alvarez [Tue, 5 Aug 2014 15:45:14 +0000 (18:45 +0300)]
Correctly display an item which is too long for the textfield. (#13477)
As setSelectionRange is not working correctly in IE the current approach
sets the direction before setting the text and resets it to the original
immediately after that.
Change-Id: I33f40f9ae436122092d995fa17c35a9cbe38aedb

10 years agoRevert "Fix background color of Notification in chameleon theme (#14246)" 7.2.6
Bogdan Udrescu [Thu, 31 Jul 2014 14:10:49 +0000 (17:10 +0300)]
Revert "Fix background color of Notification in chameleon theme (#14246)"

This reverts commit 13eb3732b96561831cdee96740064ab8d4ddd08c.

10 years agoMerge branch 'release/7.2.6' of ssh://dev.vaadin.com:29418/vaadin into release/7.2.6
Markus Koivisto [Thu, 31 Jul 2014 13:35:02 +0000 (16:35 +0300)]
Merge branch 'release/7.2.6' of ssh://dev.vaadin.com:29418/vaadin into release/7.2.6

10 years agoRevert "Fixed regression with changing widths when stylenames have changed (#13444...
Markus Koivisto [Thu, 31 Jul 2014 13:34:08 +0000 (16:34 +0300)]
Revert "Fixed regression with changing widths when stylenames have changed (#13444, #8801):"

This reverts commit d45e5c2592a3b949d781cdd05532560375fc524e.
this is not supposed to be picked before 7.3.0

10 years agoCorrect TB2 tests urls.
Bogdan Udrescu [Thu, 31 Jul 2014 13:06:04 +0000 (16:06 +0300)]
Correct TB2 tests urls.

Correct ButtonTooltips TB2 with coeect test class package.
Add ?restartApplication to SubWindows.

Change-Id: I32fbf93875d537f6dc6ec232e3063c33de8ae71f

10 years agoFixed regression with changing widths when stylenames have changed (#13444, #8801):
Markus Koivisto [Wed, 4 Jun 2014 09:49:43 +0000 (12:49 +0300)]
Fixed regression with changing widths when stylenames have changed (#13444, #8801):

Changing the name of a style should not cause the width of the textbox
to change. If there is a width set for the wrapper, the width for the
wrapper should not change if the styles changes.

To reconcile these two demands, we have removed the width for the
wrapper and only manipulate the width of the textbox itself. This
solves both issues neatly.

Change-Id: Idb2dbc5d2ca6406cafb44df93110e079a1dff473

Conflicts:
client/src/com/vaadin/client/ui/VFilterSelect.java
client/src/com/vaadin/client/ui/combobox/ComboBoxConnector.java

10 years agoRevert "Keyboard shift-selection now works as expected in VScrollTable. (#14094)"
Markus Koivisto [Thu, 31 Jul 2014 11:13:07 +0000 (14:13 +0300)]
Revert "Keyboard shift-selection now works as expected in VScrollTable. (#14094)"

This reverts commit 3390332b3e75e970cd3bf3b6bc5075bb867320b5.

Conflicts:
client/src/com/vaadin/client/ui/VScrollTable.java

Change-Id: If33910705cdf9e4d7612557bfb55a01dde9e435d

10 years agoFix typo that caused spanned cells to be removed in Gridlayout (#14335)
Markus Koivisto [Wed, 30 Jul 2014 14:28:41 +0000 (17:28 +0300)]
Fix typo that caused spanned cells to be removed in Gridlayout (#14335)

Gridlayout removes columns and rows with no content. Gridlayout is
supposed to check for spanned cells and not remove otherwise empty rows
or columns if they are covered by a span.

Change-Id: I1c25a8e6426e6ce0e24f9110a6b994598c395e7a

10 years agoRevert "Fix Table stuck scroll position after setting scroll to last page (#14147)"
Bogdan Udrescu [Wed, 30 Jul 2014 15:05:25 +0000 (18:05 +0300)]
Revert "Fix Table stuck scroll position after setting scroll to last page (#14147)"

This reverts commit 2ed3a310ca9e32f255602139eb1b08bfdfe2f25f.

Conflicts:
client/src/com/vaadin/client/ui/VScrollTable.java
client/src/com/vaadin/client/ui/table/TableConnector.java

Change-Id: Ie18f4ad61a88c17cd2b8eff677836fc68abffc15

10 years agoRevert "Context menu is not shown in Table body on mobile browsers (#13694)"
Bogdan Udrescu [Wed, 30 Jul 2014 09:42:25 +0000 (12:42 +0300)]
Revert "Context menu is not shown in Table body on mobile browsers (#13694)"

This reverts commit 6f3aec50bfb17d14c75318f0172c45695c22a811.

10 years agoFix background color of Notification in chameleon theme (#14246)
Dmitrii Rogozin [Wed, 16 Jul 2014 14:20:28 +0000 (17:20 +0300)]
Fix background color of Notification in chameleon theme (#14246)

Change-Id: Ie561a3ef95fcc15e357d1edb65b45f596683e7e4

Conflicts:
WebContent/VAADIN/themes/chameleon/components/notification/notification.scss

10 years agoMinor refactor to #14147 patch (#14147)
Anthony Guerreiro [Tue, 29 Jul 2014 12:11:51 +0000 (13:11 +0100)]
Minor refactor to #14147 patch (#14147)

Change-Id: I78cdbbad41fa6980f445ae770f7e7a8d7db39176

10 years agoContext menu is not shown in Table body on mobile browsers (#13694)
Heikki Ohinmaa [Wed, 23 Jul 2014 08:38:27 +0000 (11:38 +0300)]
Context menu is not shown in Table body on mobile browsers (#13694)

Change-Id: I095401164a931f3a69dea91037a6cbf35b197121

10 years agoFix Table stuck scroll position after setting scroll to last page (#14147)
Anthony Guerreiro [Tue, 15 Jul 2014 13:24:48 +0000 (16:24 +0300)]
Fix Table stuck scroll position after setting scroll to last page (#14147)

Change-Id: I9c39db5c2ccafd495a1ecc8b28687eeeebe3b6c2

10 years agoTextArea size get reset when css resize is set (#14080)
Bogdan Udrescu [Wed, 2 Jul 2014 15:29:56 +0000 (18:29 +0300)]
TextArea size get reset when css resize is set (#14080)

Listen to MouseUp event on the <textarea> and notify the state with the width and height if changed.
Add com.vaadin.client.Util.Size to manipulates the css width/height.

Change-Id: I96a308658d2877f1f6c05feaa7840a268bb06709

10 years agoFix VWindow Vai-Aria roles for alertdialogs (#14289)
Juuso Valli [Thu, 24 Jul 2014 07:54:42 +0000 (10:54 +0300)]
Fix VWindow Vai-Aria roles for alertdialogs (#14289)

Change-Id: Ie33ef684f2177fe1807f95bf234031cc3a44f317

10 years agoReduce TestBench 3 socket timeout (#14298)
Henri Sara [Fri, 25 Jul 2014 11:29:42 +0000 (14:29 +0300)]
Reduce TestBench 3 socket timeout (#14298)

Change-Id: I45907c5c22bcea1a403af71ecbf5236e5669ab38

Conflicts:
uitest/src/com/vaadin/tests/tb3/TB3Runner.java

10 years agoKeyboard shift-selection now works as expected in VScrollTable. (#14094)
Markus Koivisto [Thu, 26 Jun 2014 13:35:42 +0000 (16:35 +0300)]
Keyboard shift-selection now works as expected in VScrollTable. (#14094)

Change-Id: I0dcd9f75cd30fe91c17ca0755241e73a37da79ec

10 years agoAdd scrollbars to ComboBox suggestion popup if low on screen estate (#11929)
Antti Tanhuanpää [Mon, 30 Jun 2014 14:07:50 +0000 (17:07 +0300)]
Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)

Change-Id: Idfeb20a385fc68c6527f1947bdbf238d9d4af918

Conflicts:
client/src/com/vaadin/client/ui/VFilterSelect.java

10 years agoBottom component click scroll up the parent panel in a window (#12943)
Bogdan Udrescu [Tue, 8 Jul 2014 06:58:45 +0000 (09:58 +0300)]
Bottom component click scroll up the parent panel in a window (#12943)

Due to old fix for (#11994) the v-scrollable div of the window would
expand to 110% of its size then immediately back to the original size.
The first action, expanding the v-scrollable to 110% would decrease
the scrollTop value of our panel, while increasing its height. When
the revert back action would set the v-scrollable to its own size,
the panel's scrollTop would remain decreased, causing the scroll bar
to move up, hiding the ~10% at the bottom.

Fixed by calling Util.runWebkitOverflowAutoFix(); instead of changing
the height.

Change-Id: I79eafd1f9500c2e4c10dadbfc7100608c0732e04

10 years agoAlter TooltipInWindowTest to inherit from TooltipTest (#14240)
Juuso Valli [Thu, 17 Jul 2014 10:24:50 +0000 (13:24 +0300)]
Alter TooltipInWindowTest to inherit from TooltipTest (#14240)

Change-Id: I27c0a236d4dd654c1cf8d567752af9d1ea3c1de5

10 years agoFix NativeButton clickEvent coordinates in IE11 (#14022)
Anthony Guerreiro [Wed, 2 Jul 2014 08:58:34 +0000 (11:58 +0300)]
Fix NativeButton clickEvent coordinates in IE11 (#14022)

Two clicks were being triggered for IE11,
the first with coordinates (0,0) and the
second with the correct coordinates.

Change-Id: I6f0feb520710b254eac6542f082a5012de2c5f85

10 years agoRevert "Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)"
Sauli Tähkäpää [Thu, 26 Jun 2014 06:35:05 +0000 (09:35 +0300)]
Revert "Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)"

This reverts commit ede8fbaad050c98682df9da935caf59a3a3787c6.

Change-Id: I6d2b6ad3901ac50782a9c8af6847c0b917d6027d

10 years agoAdd scrollbars to ComboBox suggestion popup if low on screen estate (#11929)
Antti Tanhuanpää [Wed, 4 Jun 2014 14:10:17 +0000 (17:10 +0300)]
Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)

Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82

10 years agoRevert "Fixing problem caused by release/7.2.6/39c3ab667db7ab7b2aa9cb4449e4ccad840135b3"
Bogdan Udrescu [Tue, 29 Jul 2014 13:42:10 +0000 (16:42 +0300)]
Revert "Fixing problem caused by release/7.2.6/39c3ab667db7ab7b2aa9cb4449e4ccad840135b3"

This reverts commit 10b64f824597f85a5c83784a6b82802a4c7521a0.

It also adds the gwt/ivy.xml to make the build work.

Actually the project won't build with the latest GWT if we
don't use the gwt/ivy.xml and the laters build/ide.xml from
Leif's patch.

Change-Id: I3cdd40303d309aa0ebf82bf427c307f96983a75d

10 years agoFixing problem caused by release/7.2.6/39c3ab667db7ab7b2aa9cb4449e4ccad840135b3
Bogdan Udrescu [Tue, 29 Jul 2014 12:25:26 +0000 (15:25 +0300)]
Fixing problem caused by release/7.2.6/39c3ab667db7ab7b2aa9cb4449e4ccad840135b3
, Parallelize ide.xml (#14276) - master/be2a71110a75bc83a7281c11b60285079e8cbffa

Change-Id: I87e3cb4bb35ba5cb10ef9927f528938791a70650

10 years agoRevert "Add asserts checking for negative container sizes (#14232)"
Bogdan Udrescu [Tue, 29 Jul 2014 11:40:40 +0000 (14:40 +0300)]
Revert "Add asserts checking for negative container sizes (#14232)"

This reverts commit c43ebbac50a55e965738ec82c83a3fe08636b911.

Reverted because it might actually break some theoretically broken
applications that still happen to work by chance.

10 years agoParallelize ide.xml (#14276)
Leif Åstrand [Tue, 22 Jul 2014 16:02:21 +0000 (19:02 +0300)]
Parallelize ide.xml (#14276)

With this patch, the theme-and-default-widgetset target finishes in 50
seconds, whereas it takes about 80 seconds without the patch. This
happens at the cost of peak memory usage rising from ~750mb to ~850mb.

Change-Id: I969e9b3b01907e24bb8d411884d060ca1b539bde

Conflicts:
build/ide.xml

10 years agoFallback to finding disconnected UI based on AtmosphereResource (#14251)
Leif Åstrand [Fri, 18 Jul 2014 13:31:34 +0000 (16:31 +0300)]
Fallback to finding disconnected UI based on AtmosphereResource (#14251)

Change-Id: Icdac51322a90c32c122a182bc692c4eff3d8285b

10 years agoSimulate @RunLocally using eclipse-run-selected-test.properties (#14272)
Leif Åstrand [Tue, 22 Jul 2014 07:24:57 +0000 (10:24 +0300)]
Simulate @RunLocally using eclipse-run-selected-test.properties (#14272)

Conflicts when cherry-pick (the file was missing):
        uitest/src/com/vaadin/tests/components/upload/TestFileUploadTest.java

Change-Id: I4eb9409629f64c17f39b1560062e763270f1f582

10 years agoImproves performance of VaadinService.requestEnd(). (#14218)
Fabian Lange [Fri, 11 Jul 2014 22:00:41 +0000 (00:00 +0200)]
Improves performance of VaadinService.requestEnd(). (#14218)

Doing two times session.accessSynchronously is unnecessary effort in
multiple aspects:
* The session will be locked twice.
* CurrentInstances are set twice.
* CurrentInstances are restored twice.
* VaadinSession being checked for being the current via
  VaadinService.verifyNoOtherSessionLocked(this);

When we leave requestEnd we unset all CurrentInstances. There is no need
to just restore them before doing so.
When we are in requestEnd, VaadinSession is set to "current" by
PushHandler.callWithUi() or VaadinService.handleRequest().
Also, the cleanupSession code does not need any of these thread locals,
so not having them set would also not hurt.
having an extra accessSynchronously call for just setting the duration
does not make a lot of sense. While it somehow wants to make the previous
accessSynchronously call to be counted completely into the duration it
invests an the same time that would have been left out additionally.

VaadinService removeClosedUIs is a cleanup which also locks and sets
CurrentInstances just to figure out that the UI it is checking is not
closing. This change moves that check out of ui.accessSynchronously.

In the end, the resulting code is a tiny bit less robust, however it
eliminates over 50% response time on trivial push request/responses.

Change-Id: If71d1dbbae5d1fd57d3d4e735c592fd263261a81

10 years agoFixed javadoc for Upload class (#14266)
Heikki Ohinmaa [Mon, 21 Jul 2014 10:20:31 +0000 (13:20 +0300)]
Fixed javadoc for Upload class (#14266)

Change-Id: Ib16d4b8922a139b37d551797ada163b6d6b5e720

10 years agoFix web.xml element order issue (#14257)
Juuso Valli [Fri, 18 Jul 2014 07:34:25 +0000 (10:34 +0300)]
Fix web.xml element order issue (#14257)

In some servlet definitions async-supported was before init-param
Change-Id: I2d4886a0aa4c37bad3b0385e25b51e91d59a4c31

10 years agoExplain what to do if chrome.driver.path is needed but missing (#14231)
Leif Åstrand [Tue, 15 Jul 2014 08:35:04 +0000 (11:35 +0300)]
Explain what to do if chrome.driver.path is needed but missing (#14231)

Change-Id: Ibd6f890136d62a3b19f8c60158b4aa1397454f7e

10 years agoAdd asserts checking for negative container sizes (#14232)
Leif Åstrand [Tue, 15 Jul 2014 13:11:40 +0000 (16:11 +0300)]
Add asserts checking for negative container sizes (#14232)

Change-Id: I5b6298be367e4fe820320a5e3fd6bf5aaa7e2047

10 years agoFixes memory leak in VScrollTable (#14159)
Dmitrii Rogozin [Thu, 10 Jul 2014 14:13:30 +0000 (17:13 +0300)]
Fixes memory leak in VScrollTable (#14159)

Change-Id: I59596630b71f5a6b78c13bc5dbeaf7ef5dfaccf9

10 years agoOmit BOM when parsing issue list for release notes 7.2.5
Juuso Valli [Fri, 18 Jul 2014 11:23:46 +0000 (14:23 +0300)]
Omit BOM when parsing issue list for release notes

Change-Id: If241edbb79fecd3d99939a53f70c7c6d78f74e40

10 years agoOptimizes initial sizes of frequently used Collections. (#14223)
Fabian Lange [Sat, 12 Jul 2014 19:44:09 +0000 (21:44 +0200)]
Optimizes initial sizes of frequently used Collections. (#14223)

There are a few places in frequently used core classes which could
initialize collection classes with the correct (or slightly oversized)
length.
Maps are initialized with 2x the size due to its load factor.

Change-Id: I3aee5a60602937a8550ca5a200ec2a529ff36fe9

Conflicts:
server/src/com/vaadin/server/VaadinService.java

10 years agoFix compile error caused by cherry-pick in commit 85c71bd
Bogdan Udrescu [Wed, 9 Jul 2014 15:40:26 +0000 (18:40 +0300)]
Fix compile error caused by cherry-pick in commit 85c71bd

Change-Id: I9ca1597e7696c16462ecbb7a392292bf44fa8114

10 years agoUpdate Atmosphere runtime to 2.1.2.vaadin3 (#13971)
Sauli Tähkäpää [Wed, 9 Jul 2014 11:11:39 +0000 (14:11 +0300)]
Update Atmosphere runtime to 2.1.2.vaadin3 (#13971)

Atmosphere 2.1.2.vaadin3 includes fix for:
https://github.com/Atmosphere/atmosphere/issues/1643

Change-Id: I67c07dc3b32ebb3b0eed634bf143bac9a7e5efe2

10 years agoRemove csrfToken if disable-xsrf-protection is true (#14111)
Bogdan Udrescu [Wed, 9 Jul 2014 15:40:26 +0000 (18:40 +0300)]
Remove csrfToken if disable-xsrf-protection is true (#14111)

If the server sends no token and the client value remains "init" then
it's not sent back to the server.

Change-Id: I74fc470c5c22d57c4a48eab3e4476ae4cc2dd242

10 years agoMake it possible to disable the sync id checking (#14193)
Leif Åstrand [Mon, 14 Jul 2014 14:17:18 +0000 (17:17 +0300)]
Make it possible to disable the sync id checking (#14193)

Change-Id: I35c2a767d7726abbbe7bae56387952343ac21157

10 years agoImprove error message if @RunLocally is committed (#14216)
Leif Åstrand [Fri, 11 Jul 2014 15:26:51 +0000 (18:26 +0300)]
Improve error message if @RunLocally is committed (#14216)

Change-Id: Ic35b71a01b207ff87072d2e46f34f171ec581fe0

10 years agoMention Date serialization in javadocs related to JavaScript (#14143)
Leif Åstrand [Fri, 4 Jul 2014 07:36:39 +0000 (10:36 +0300)]
Mention Date serialization in javadocs related to JavaScript (#14143)

Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac

10 years agoAllow customizing DeploymentConfiguration for test UIs (#14215)
Leif Åstrand [Fri, 11 Jul 2014 14:59:57 +0000 (17:59 +0300)]
Allow customizing DeploymentConfiguration for test UIs (#14215)

Change-Id: I4a9db58e65b94ec0e46e849e6856817986bd750e

10 years agoFix Tabsheet scrollbutton by css position in Chameleon theme (#12154)
Johannes Tuikkala [Wed, 9 Jul 2014 11:44:03 +0000 (14:44 +0300)]
Fix Tabsheet scrollbutton by css position in Chameleon theme (#12154)

Change-Id: Icd38631f8802fc86949fa29dd517f1aca0499c33

10 years agoAdds a scrollbar to table column drop down (#14156).
Felype Santiago Ferreira [Mon, 7 Jul 2014 14:25:48 +0000 (17:25 +0300)]
Adds a scrollbar to table column drop down (#14156).

Change-Id: I7ce7c61f842a09af1842a14fedec3412120944c7

10 years agoOptimize CurrentInstance.set(UI) and .set(VaadinSession). (#14220)
Fabian Lange [Sat, 12 Jul 2014 19:09:32 +0000 (21:09 +0200)]
Optimize CurrentInstance.set(UI) and .set(VaadinSession). (#14220)

This change reduces the amount of intermediate steps taken to initialize
the thread locals for a given ui or vaadin session.
It mainly takes advantage of reusing the old values from the map in set()
instead of creating new ones to put into the "old" map which is returned.

Change-Id: I4dbaff973f46e73f8f3a0c285b14c97603f2d5a4

10 years agoremoves extra VaadinSession.setCurrent() from PushHandler. (#14222)
Fabian Lange [Fri, 11 Jul 2014 21:43:03 +0000 (23:43 +0200)]
removes extra VaadinSession.setCurrent() from PushHandler. (#14222)

The setCurrent call on VaadinSession is not needed. the one extra call
can be saved because service.findVaadinSession will already set it.
Added a comment like it is done for UI (service.findUI will also set the
UI).

Change-Id: Ic24d922554d1316aae310813ef5d00a0bbfd418a

10 years agoFix overwrite mechanism for web.xml atmosphere init params (#14196).
Fabian Lange [Wed, 9 Jul 2014 14:23:43 +0000 (16:23 +0200)]
Fix overwrite mechanism for web.xml atmosphere init params (#14196).

Non obvious problem before. "config" is a property of AtmosphereFramework
which also has getInitParameter(String) method. So it compiles but does
not do what is intended: to check against the user defined web.xml
servlet init-prams.
(the variableName servletConfig has the same problem :-))

Change-Id: Ib02f0b94312327d482775456c2d63a904b1e8104

10 years agoBox and unbox long values in state fields (#14176)
Leif Åstrand [Tue, 8 Jul 2014 15:19:28 +0000 (18:19 +0300)]
Box and unbox long values in state fields (#14176)

We actually want to pass around the primitive long values emulated by
GWT even though JavaScript code can't do anything with the values.
Skipping the unboxing caused long fields to always be 0 since that's how
JavaScript converts an object into a number.

This patch also makes the test assert that the expected state values are
received and updates those values to actually make sense in some
situations.

Change-Id: Id9c3696d699593bd9e59e249c5daf077873b85fc

10 years agoReturn a value on __gwtStatsEvent in Profiler (#11709)
Bogdan Udrescu [Fri, 4 Jul 2014 13:23:26 +0000 (16:23 +0300)]
Return a value on __gwtStatsEvent in Profiler (#11709)

Calling GWT RPC throw an exception when __gwtStatsEvent doesn't return
a boolean. This was in the Profiler.ensureNoLogger where the function
assigned was empty.

Change-Id: If97e15eb3c2c6512e80f3bde81ba180b8c95c947

10 years agoRefactor GridLayout tests (#14044)
Dmitrii Rogozin [Tue, 17 Jun 2014 13:24:22 +0000 (16:24 +0300)]
Refactor GridLayout tests (#14044)

Change-Id: If297591d46979ce991921f9545ed04a0c2c92e41

10 years agoRemove hardcoded milestone from ticket list link (#14166)
Leif Åstrand [Wed, 9 Jul 2014 08:16:15 +0000 (11:16 +0300)]
Remove hardcoded milestone from ticket list link (#14166)

Change-Id: Icb5ddebd1650e17fc2d1317b198292b0d126c67a

10 years agoDo not re-send browser details in the first UIDL request (#14144)
Sauli Tähkäpää [Fri, 4 Jul 2014 12:46:20 +0000 (15:46 +0300)]
Do not re-send browser details in the first UIDL request (#14144)

Change-Id: I799bbee5e7cff8efe141d6604e217d990578cf52

10 years agoAdd missing @since 7.2.4 in javadoc 7.2.4
Henri Sara [Thu, 3 Jul 2014 05:43:44 +0000 (08:43 +0300)]
Add missing @since 7.2.4 in javadoc

Change-Id: I48c37a377d6764333b83512dc613798aaf39423c

10 years agoUpgrade tooltip tests from TB2 to TB4 (#14019)
Juuso Valli [Fri, 13 Jun 2014 12:22:29 +0000 (15:22 +0300)]
Upgrade tooltip tests from TB2 to TB4 (#14019)

Change-Id: I57fcffc5e9fb463759639c95a6b47fe09bfa268f

10 years agoFix tooltip test problems caused by #12458
Henri Sara [Mon, 24 Mar 2014 14:32:20 +0000 (16:32 +0200)]
Fix tooltip test problems caused by #12458

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

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Tue, 1 Jul 2014 11:31:08 +0000 (13:31 +0200)]
Reading properties of components should not set state to dirty (#14060).

Fixed issue with SplitPanels which were not marking sets as dirty.

Change-Id: I23bb8bfca87a825aef132f249e05871cf7b36a34

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Mon, 23 Jun 2014 13:15:47 +0000 (15:15 +0200)]
Reading properties of components should not set state to dirty (#14060).

Added Automatic Testcase. The testcase needs a default constructor,
which has been added.
The test also found an edge case in Form.java which has been corrected,
as well as one missing getState(false) in AbstractMedia.

Change-Id: Id764c9e1596123015a84f6c2a9507f03bde383b1

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Mon, 23 Jun 2014 12:25:26 +0000 (14:25 +0200)]
Reading properties of components should not set state to dirty (#14060).

Adding 3 getStates() which were missed in
https://github.com/vaadin/vaadin/commit/0c229ae91460fedaeb557bdc5a646433658b0dfb

Change-Id: Ide7949046e4cc3f36c08f419f3010a98e348642c

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Fri, 20 Jun 2014 08:49:50 +0000 (10:49 +0200)]
Reading properties of components should not set state to dirty (#14060).

Many core vaadin components did incorrectly mark the state as dirty when
reading from them. This patch fixes the problem, which should reduce the
amount of server->client state updates significantly.

Change-Id: I342d74129e2985a7f407e9b53a802dc0146d9992

10 years agoImprove error message for missing sync id (#14065)
Leif Åstrand [Mon, 23 Jun 2014 12:03:29 +0000 (15:03 +0300)]
Improve error message for missing sync id (#14065)

Change-Id: Iab2ddc31261f198c486b9028249fab9cc2cc06a1

10 years agoFix problem with IntegerValidator test (#14046)
Dmitrii Rogozin [Wed, 18 Jun 2014 08:37:54 +0000 (11:37 +0300)]
Fix problem with IntegerValidator test (#14046)

Change-Id: Iaff310ccd2f25ca2d9a4a1043403a3aa1bde2e1a

10 years agoPrevent empty tooltips from appearing (#14015)
Juuso Valli [Fri, 13 Jun 2014 08:08:13 +0000 (11:08 +0300)]
Prevent empty tooltips from appearing (#14015)

Change-Id: Iee9d5be9208ff54cd0e4a58c19daaa3a917f9b9d

10 years agoFix tooltip error when loading Javascript (#14028)
Juuso Valli [Tue, 24 Jun 2014 08:52:24 +0000 (11:52 +0300)]
Fix tooltip error when loading Javascript (#14028)

Change-Id: Ic596c0428bc3a59f9fe0ad82276dacb4b23c0d99

10 years agoFix wrong width on event resize in Vaadin Calendar (#13961)
Anthony Guerreiro [Mon, 23 Jun 2014 11:13:37 +0000 (14:13 +0300)]
Fix wrong width on event resize in Vaadin Calendar (#13961)

Change-Id: I68775af42c1c6086d347bea81e54bbe3cf7e5a22

10 years agoSelecting in a mulsel table should focus, not scroll. (#13341, #10522)
Markus Koivisto [Wed, 18 Jun 2014 08:06:53 +0000 (11:06 +0300)]
Selecting in a mulsel table should focus, not scroll. (#13341, #10522)

Previous patch caused a regression that was caught by tests for #10522.

Change-Id: I3ebc6a3ffe08c24d463cc70d95c4417d465fc490

10 years agoPrevent table from scrolling on selectionChange when in Multiselect mode (#13341)
Markus Koivisto [Thu, 12 Jun 2014 14:38:44 +0000 (17:38 +0300)]
Prevent table from scrolling on selectionChange when in Multiselect mode (#13341)

Change-Id: Ie3df61fab6d76dce3e2027cd732d0e6e7dd299e9

10 years agoFix compilation error
Artur Signell [Thu, 26 Jun 2014 19:20:18 +0000 (22:20 +0300)]
Fix compilation error

Change-Id: If223f4e573c1e99bcae3c724aba9bdb6ee3c5106

10 years agoIE11 now uses synchronous loading of script instead of async with preloading. (#13956)
Mikael Grankvist [Thu, 19 Jun 2014 06:31:19 +0000 (09:31 +0300)]
IE11 now uses synchronous loading of script instead of async with preloading. (#13956)

Change-Id: Ia61d672a55f69326b37420305f0108f2d7443b70

10 years agoDo not consider compiler introduced methods when determining state class (#14003)
Artur Signell [Wed, 18 Jun 2014 10:35:08 +0000 (13:35 +0300)]
Do not consider compiler introduced methods when determining state class (#14003)

Change-Id: Ia2c3b8331f1ae34effceb0bb624cfaa7ba8578ed

10 years agoBug fix menu navigation with space (#14041)
Dmitrii Rogozin [Tue, 17 Jun 2014 11:43:34 +0000 (14:43 +0300)]
Bug fix menu navigation with space (#14041)

Change-Id: I1466381b12a147fea90240420d3f6c05cd156a1b

10 years agoUpgraded SASS compiler to 0.9.6
John Ahlroos [Tue, 24 Jun 2014 13:28:02 +0000 (16:28 +0300)]
Upgraded SASS compiler to 0.9.6

Change-Id: If325c080a482df1f8a9da56395390cd2fe16bfd0

Conflicts:
build.properties

10 years agoConverted GridLayoutWidthChangeTest to TB4. (#8855)
Sauli Tähkäpää [Thu, 19 Jun 2014 06:12:59 +0000 (09:12 +0300)]
Converted GridLayoutWidthChangeTest to TB4. (#8855)

Change-Id: Ida4550689387c048c0eee95420851dc72620ad65

10 years agoChange PhantomJS to run on Linux instead of Windows.
Sauli Tähkäpää [Wed, 11 Jun 2014 07:09:18 +0000 (10:09 +0300)]
Change PhantomJS to run on Linux instead of Windows.

Change-Id: Ibb7080c37a67516c852e00d08c2d5d822fda654e

10 years agoRefactor CheckBoxRcpCountTest to be more stable. 7.2.3
Sauli Tähkäpää [Wed, 18 Jun 2014 08:28:14 +0000 (11:28 +0300)]
Refactor CheckBoxRcpCountTest to be more stable.

Change-Id: Icc1965e6bc23423d8af66ab91b80143d07b49483

10 years agoFix for unnecessary RPC request when clicking on CheckBox label (#8259)
Teemu Pöntelin [Thu, 12 Jun 2014 16:34:49 +0000 (19:34 +0300)]
Fix for unnecessary RPC request when clicking on CheckBox label (#8259)

Change-Id: I7efb8b10a0d1b19ffdc9eb1d29db1f00b45f17aa

10 years agoDelay tooltips when moving between adjacent elements (#13998)
Juuso Valli [Thu, 12 Jun 2014 12:43:37 +0000 (15:43 +0300)]
Delay tooltips when moving between adjacent elements (#13998)

Change-Id: Ia0845c9439e22ecece0825aaad521e900153fc81

10 years agoComboBox no longer displays input prompt if disabled or read-only (#10573)
Teemu Pöntelin [Fri, 13 Jun 2014 15:07:48 +0000 (18:07 +0300)]
ComboBox no longer displays input prompt if disabled or read-only (#10573)

Change-Id: I3e0ad83bc5ec4a98a0c8e7658dfb606c6c5dc191