]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoFix native select font color (Valo)
Jouni Koivuviita [Tue, 5 Aug 2014 20:09:59 +0000 (23:09 +0300)]
Fix native select font color (Valo)

Change-Id: Ibeb5849417776847f40422ff1b9fb99c63d23af7

10 years agoFix color picker button for IE8
Jouni Koivuviita [Tue, 5 Aug 2014 20:08:10 +0000 (23:08 +0300)]
Fix color picker button for IE8

The selected color hex value is no longer overlapping with the color
square.

But now when there’s no hex value as the button caption, there’s extra
white space on the right edge of the button, which is unavoidable. This
is a lesser evil.

Change-Id: I9c7e36fdf22f63c9cad6972f0f2038513f841d6b

10 years agoEmpty rows in Table are badly styles (#14112)
Jouni Koivuviita [Thu, 7 Aug 2014 11:42:46 +0000 (14:42 +0300)]
Empty rows in Table are badly styles (#14112)

Reduced padding around widgets inside table cells also.

Set z-index for drag’n’drop styles to set the above any relative
positioned widgets inside table cells.

Change-Id: I512c61428aa88678261f276148d3ba39134a6411

10 years agoVerticalSplitPanel inside a HorizontalSplitPanel doesn't display its second component...
Jouni Koivuviita [Thu, 7 Aug 2014 14:03:37 +0000 (17:03 +0300)]
VerticalSplitPanel inside a HorizontalSplitPanel doesn't display its second component (Valo theme) (#14152)

Change-Id: I81b340206a6020d349593926156264b85253c4e6

10 years agoRich text area has broken icons in Valo theme (#14219)
Jouni Koivuviita [Tue, 5 Aug 2014 19:57:31 +0000 (22:57 +0300)]
Rich text area has broken icons in Valo theme (#14219)

Change-Id: I5e7d6a11bee0127bc3f9f4dd32c0828f28b0659d

10 years agoTexArea 'white-space: normal' breaks multiline texts in Valo (#14225)
Jouni Koivuviita [Tue, 5 Aug 2014 19:56:06 +0000 (22:56 +0300)]
TexArea 'white-space: normal' breaks multiline texts in Valo (#14225)

Change-Id: I228d065d13cc6f85f6901702d33121c675af6fc4

10 years agoFix tree row height in IE8 (Valo)
Jouni Koivuviita [Tue, 5 Aug 2014 19:54:46 +0000 (22:54 +0300)]
Fix tree row height in IE8 (Valo)

Change-Id: Ia942f91d22e7fa459e345ea4036e56d071054eb7

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 agoEnsure IE starts tests with an empty cache
Artur Signell [Thu, 7 Aug 2014 11:33:25 +0000 (14:33 +0300)]
Ensure IE starts tests with an empty cache

Change-Id: Id959872b1bce4422341daf6325b6f5fbf77ad24b

10 years agoNotificationsWaiAria test rewrite to TB3.
Heikki Ohinmaa [Fri, 25 Jul 2014 15:59:01 +0000 (18:59 +0300)]
NotificationsWaiAria test rewrite to TB3.

Change-Id: Ifd83ec30c02e7c39eb8d3d4b1c1cf058da939ce1

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 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 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 agoFix DragAndDropWrapper "drag-from-desktop" (#14343 and #14351)
Jouni Koivuviita [Tue, 5 Aug 2014 19:48:56 +0000 (22:48 +0300)]
Fix DragAndDropWrapper "drag-from-desktop" (#14343 and #14351)

Change-Id: I6a037afcc494079ec1eb49980e89ba1f2aeba4ec

10 years agoFix quiet-style button for IE8 (Valo)
Jouni Koivuviita [Tue, 5 Aug 2014 19:46:36 +0000 (22:46 +0300)]
Fix quiet-style button for IE8 (Valo)

Change-Id: I1e07c97b789b7e6bf950d2ba9f60b0ae9c777fd4

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 agoRetry browser startup multiple times for more stability
Artur Signell [Tue, 25 Mar 2014 11:45:37 +0000 (13:45 +0200)]
Retry browser startup multiple times for more stability

Change-Id: Ia46ee4b30809a978e95b67a4f5dfe74bd0125eb3

10 years agoFix Valo Tree selection indicator for Blink (#14334)
Jouni Koivuviita [Wed, 30 Jul 2014 12:29:42 +0000 (15:29 +0300)]
Fix Valo Tree selection indicator for Blink (#14334)

Also remove the child toggle element for leaf nodes in all browsers
(previously only IE8).

Change-Id: If2a1b14dcd423e9322141f36900406b745451993

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 agoDelegateToWidget will now be run even for parent states for extending
Mikael Grankvist [Tue, 1 Jul 2014 11:11:05 +0000 (14:11 +0300)]
DelegateToWidget will now be run even for parent states for extending
states (#14059)

Updated the code to encompass Leif's suggestion.

Change-Id: I70c0a4a93b9fe9ee8b2c458d666a1fec791f20b4

10 years agoMore test helpers
Artur Signell [Thu, 31 Jul 2014 12:13:39 +0000 (15:13 +0300)]
More test helpers

Change-Id: I14cac77cfe577330bc5dbe760ac6d51b54517a72

10 years agoAdd method for widgets to tell there is work to be done (#13565)
Dmitrii Rogozin [Tue, 5 Aug 2014 09:36:37 +0000 (12:36 +0300)]
Add method for widgets to tell there is work to be done (#13565)

Change-Id: I4b961443f6c175aaf2e2272f1257670fe6bc9607

10 years agoDocument remaining additional style names for Valo (#14107)
Jouni Koivuviita [Thu, 31 Jul 2014 11:29:07 +0000 (14:29 +0300)]
Document remaining additional style names for Valo (#14107)

Change-Id: I079492e8a2f3d37d44de3213a2dffb746f726079

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 agoRewrite of a failing TB2 test to TB3.
Heikki Ohinmaa [Wed, 30 Jul 2014 13:47:48 +0000 (16:47 +0300)]
Rewrite of a failing TB2 test to TB3.

Change-Id: Ic62e5f955d564d3d8f59ba7ca2a41d30e1a92452

10 years agoComboBoxFiltering test rewrite to TB3
Anthony Guerreiro [Mon, 28 Jul 2014 09:33:56 +0000 (10:33 +0100)]
ComboBoxFiltering test rewrite to TB3

Change-Id: I9aead23bfe093517d0b964dbf9f0ccf38dec7da2

10 years agoRevert "Keyboard shift-selection now works as expected in VScrollTable. (#14094)"
Markus Koivisto [Tue, 5 Aug 2014 12:02:45 +0000 (15:02 +0300)]
Revert "Keyboard shift-selection now works as expected in VScrollTable. (#14094)"

This reverts commit 441371a. The commit caused rows selected in a multiselect
table to no longer be focused, which caused a number of regressions.

Change-Id: I42d960cec9dfe24852b40a623f32e2b467704491

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 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 agoRemoved randomness from test application
Artur Signell [Mon, 4 Aug 2014 13:14:50 +0000 (16:14 +0300)]
Removed randomness from test application

Change-Id: I823dfd3401c1cc5b2ca66428636043f2af58f0f7

10 years agoMake test work when not in root context
Artur Signell [Wed, 30 Jul 2014 08:59:51 +0000 (11:59 +0300)]
Make test work when not in root context

Change-Id: I26ed26da63969d3798b543fb3b55ddb92e07b32c

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 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 agoReverting multiple commits that caused 100+ regression tests to fail.
Markus Koivisto [Mon, 4 Aug 2014 11:25:16 +0000 (14:25 +0300)]
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

10 years agoFix encoding in TB2 tests
Artur Signell [Thu, 31 Jul 2014 12:12:26 +0000 (15:12 +0300)]
Fix encoding in TB2 tests

Change-Id: I7fc5cf84f042da39bf29ae55aedc33845000bb9d

10 years agoAdd missing headers for TB2 tests
Artur Signell [Thu, 31 Jul 2014 12:11:17 +0000 (15:11 +0300)]
Add missing headers for TB2 tests

Change-Id: Ifb5ed47f7d16630c55b5e6b5d8bc6e174c39009c

10 years agoRename test method to describe what it does
Artur Signell [Thu, 31 Jul 2014 12:08:11 +0000 (15:08 +0300)]
Rename test method to describe what it does

Change-Id: I09d1c02b75022f9b38b04d7b166e597dae2a213c

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 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 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 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 agoAvoid sharing containers to prevent problems (#14200)
Artur Signell [Mon, 4 Aug 2014 12:18:43 +0000 (15:18 +0300)]
Avoid sharing containers to prevent problems (#14200)

Change-Id: Ifc3286fce10dd4e64fd1001b786599fe66c89077

10 years agoAdding a constant for vaadinBootstrap.js (#14284)
Fabian Lange [Wed, 23 Jul 2014 20:20:43 +0000 (22:20 +0200)]
Adding a constant for vaadinBootstrap.js (#14284)

If for any reason a developer wants to parse the bootstrap html, this
constants allows easy identification of the bootstrap js.

Change-Id: I894cf6e22a7e6d9154c3c9124dda911a86a99475

10 years agoIncrease TB3 socket timeout to 30 min (#14352)
Henri Sara [Mon, 4 Aug 2014 05:23:01 +0000 (08:23 +0300)]
Increase TB3 socket timeout to 30 min (#14352)

This increases the timeout from 15 to 30 minutes to avoid
occasional timeouts at times of test cluster congestion.
The timeout was originally reduced for #14298.

Change-Id: I59e8ad892356c94954d0d20884319de653704ca4

10 years agoSplit test theme into separate themes and added theme selector
Artur Signell [Mon, 4 Aug 2014 11:20:25 +0000 (14:20 +0300)]
Split test theme into separate themes and added theme selector

Change-Id: I076a05a393ae85bb68983eaa2756d36a0e92014e

10 years agoUpdate Open Sans font files (#14336)
Jouni Koivuviita [Wed, 30 Jul 2014 12:23:07 +0000 (15:23 +0300)]
Update Open Sans font files (#14336)

Fix inconsistent rendering between Valo’s bundled Open Sans vs. Google
Fonts provided Open Sans versions on Windows (DirectWrite).

The previous bundled font was generated with Font Squirrel Webfont
Generator with some additional optimizations on (the “Fix GASP Table”
option most likely), which caused the inconsistencies. The new version
is converted with the basic options (most straightforward conversion).

Change-Id: Id9190dc6ceff26d771ec4622a5750b2a1f234304

10 years agoAllow changing theme on the fly (#2874, #14139, #14124)
Artur Signell [Wed, 30 Jul 2014 07:53:28 +0000 (07:53 +0000)]
Allow changing theme on the fly (#2874, #14139, #14124)

* Updates UI and overlay container class names when the theme changes
* Initially verifies that the theme has actually been loaded (for the embed case)
  and class names have been properly set
* Forces a state change to all components to re-translate theme:// URLs
* Runs a full layout after the new theme has been loaded and activated

Change-Id: I5a7391abe1bb467130bbb4660e4829b43f3e4255

10 years agoDisable automatic removal of trailing whitespace and reformatted using Luna
Artur Signell [Mon, 28 Jul 2014 11:52:26 +0000 (14:52 +0300)]
Disable automatic removal of trailing whitespace and reformatted using Luna

Automatic removal of trailing whitespaces in Eclipse does not work even
in a nearly consistent way across platforms, versions or even on the same
maching within the same workspaces. Saving the same file multiple times
even alternates between adding and removing a whitespace on empty block
comment lines when saving.

Change-Id: I0efd307fd48869ea688eb79aa77c9ba38de5a4a6

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 agoHide visible file input in immediate Upload (#14238)
Sami Ekblad [Thu, 17 Jul 2014 13:07:56 +0000 (16:07 +0300)]
Hide visible file input in immediate Upload (#14238)

Change-Id: I4f5bc370a1a60ed2acbd38f62732547f1db7bee9

10 years ago Remove browser warning when running tests locally on Chrome (#14319)
Dmitrii Rogozin [Tue, 29 Jul 2014 08:05:51 +0000 (11:05 +0300)]
 Remove browser warning when running tests locally on Chrome (#14319)

Change-Id: If621e342f6680eeb6ae0aeb3f2dc38e8160316c8

10 years agoSystem notification opacity should be the same as normal notifications (#14331)
Jouni Koivuviita [Wed, 30 Jul 2014 07:55:14 +0000 (10:55 +0300)]
System notification opacity should be the same as normal notifications (#14331)

Change-Id: I24ef0a31d03e6512a36622a6bb457795aa873705

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 agoUse Sass Compiler version 0.9.9
Henri Sara [Tue, 29 Jul 2014 05:48:35 +0000 (08:48 +0300)]
Use Sass Compiler version 0.9.9

Change-Id: Ie650d10183bdee441693dbe609970b6811764f28

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

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 agoComboBoxIdenticalItems test rewrite to TB3
Heikki Ohinmaa [Mon, 28 Jul 2014 08:59:11 +0000 (11:59 +0300)]
ComboBoxIdenticalItems test rewrite to TB3

Change-Id: I6127826f4ffbb1358821fb7ca5eabf4d774d792c

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

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 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

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

10 years agoUpdate readme to mention Git settings for Windows users.
Leif Åstrand [Tue, 22 Jul 2014 11:24:44 +0000 (14:24 +0300)]
Update readme to mention Git settings for Windows users.

Change-Id: Ie67372d1ea77ad025fe3cb42cfe7a6ecc94ee3df

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 agoExport fetchRootConfig status so it can be read by TK (#14053)
Manolo Carrasco [Mon, 21 Jul 2014 12:21:40 +0000 (14:21 +0200)]
Export fetchRootConfig status so it can be read by TK (#14053)

Offline apps need to know when server errors are 500 or 400 in
order to switch appropriatelly to the offline mode.
Also we need exported the fetchRootConfig method and a
reliable way to get loaded apps.

Related with change I29635982514071e63221a9771d6729da14273ad3 [1]
see temporal workaround in TouchKitServlet
[1] https://dev.vaadin.com/review/#/c/4037/

Change-Id: I339ca697d035508a67d1eb24480cd12c4b9c6c0e

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)

Change-Id: I4eb9409629f64c17f39b1560062e763270f1f582

10 years agoRemove obsolete TB2 tooltip test, update TB4 test (#14019)
Juuso Valli [Mon, 21 Jul 2014 06:14:06 +0000 (09:14 +0300)]
Remove obsolete TB2 tooltip test, update TB4 test (#14019)

Change-Id: I02b68886b888ee0a0d99b41138755f0ea6e2a53d

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 agoOmit BOM when parsing issue list for release notes
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 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 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 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 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 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 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

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 for drag-and-drop text to TextField in Firefox (#14056)
Anthony Guerreiro [Mon, 7 Jul 2014 07:57:17 +0000 (10:57 +0300)]
Fix for drag-and-drop text to TextField in Firefox (#14056)

Couldn't created an automated test in selenium - can't get it to drag text.

Change-Id: I1a0beab97840401423e3b446015ff0c729bc2ca2

10 years agoRemove extra shadow from combobox popup for IE9 and IE10.(#14195)
Dmitrii Rogozin [Wed, 9 Jul 2014 13:59:04 +0000 (16:59 +0300)]
Remove extra shadow from combobox popup for IE9 and IE10.(#14195)

Change-Id: I733f21f5fc0795633ed3a658b6b19681d8f26b22

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 agoCache sass output compiled on the fly by VaadinServlet (#9532)
Leif Åstrand [Wed, 9 Jul 2014 15:45:37 +0000 (18:45 +0300)]
Cache sass output compiled on the fly by VaadinServlet (#9532)

Change-Id: I5ce36a5c3beffe7b686a8754b6f7311d83b00f87

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 agoFix box shadow bug with resizing elements in IE9 and IE10.(#14173)
Dmitrii Rogozin [Tue, 8 Jul 2014 09:28:20 +0000 (12:28 +0300)]
Fix box shadow bug with resizing elements in IE9 and IE10.(#14173)

Change-Id: I513340db4123c40bba0832f8af77ec5e725c24e6

10 years agoFix regression in notification for chameleon caused by 13885.(#14172)
Dmitrii Rogozin [Mon, 7 Jul 2014 14:54:22 +0000 (17:54 +0300)]
Fix regression in notification for chameleon caused by 13885.(#14172)

Change-Id: I33d70c54b9118e85c9542e56b917b993516ae213

10 years ago Fix background color in chameleon theme after removing shadow divs (#14145)
Dmitrii Rogozin [Fri, 4 Jul 2014 12:46:55 +0000 (15:46 +0300)]
 Fix background color in chameleon theme after removing shadow divs (#14145)

Change-Id: I9b0566070af58afda7693936943237e70cea4a2f

10 years agoUse Sass compiler version 0.9.8
Henri Sara [Mon, 7 Jul 2014 10:00:16 +0000 (13:00 +0300)]
Use Sass compiler version 0.9.8

Change-Id: I04996df90cbbb449d54e54c3affc74ff40fddeeb

10 years agoFix shadow bug with menu in runo theme (#14162)
Dmitrii Rogozin [Mon, 7 Jul 2014 08:47:57 +0000 (11:47 +0300)]
Fix shadow bug with menu in runo theme (#14162)

Change-Id: I9f6486597c45180ef7f748ba128f3f287d28bd97

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