]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
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

10 years agoModified test case to work around bug preventing popup to close in IE (#14086)
Anthony Guerreiro [Tue, 1 Jul 2014 07:38:00 +0000 (10:38 +0300)]
Modified test case to work around bug preventing popup to close in IE (#14086)

Change-Id: Icb47d8a0c737e27a3d88078b4162c633ba08739c

10 years agoAvoid object creation in getAllChildrenIterable in most cases. (#14142)
Fabian Lange [Thu, 3 Jul 2014 21:52:05 +0000 (23:52 +0200)]
Avoid object creation in getAllChildrenIterable in most cases. (#14142)

API change from:
    public static Iterable<ClientConnector> getAllChildrenIterable(final ClientConnector connector)
to
    public static Iterable<? extends ClientConnector> getAllChildrenIterable(final ClientConnector connector)

avoids creating wrappers in case the component has either no subcomponents
or no extensions. This covers the vast majority of components.

Change-Id: I48ffd2f26f09c265fae6e1aaabdbaa655d52ffb8

10 years agoRemove unused VWindowOverlay (#14055)
Artur Signell [Mon, 23 Jun 2014 17:10:50 +0000 (20:10 +0300)]
Remove unused VWindowOverlay (#14055)

Change-Id: I3125dec887106e746b95c220f587a8d3e39be0f0

10 years agoRemove shadow div for Overlay elements except IE8 (#9303).
Henri Sara [Thu, 3 Jul 2014 05:43:44 +0000 (08:43 +0300)]
Remove shadow div for Overlay elements except IE8 (#9303).

Change-Id: I7bdaf849e79191183013ca05e7420e10411f0b2e

10 years agoRevert "Allow changing theme on the fly (#2874)"
Henri Sara [Thu, 3 Jul 2014 11:02:14 +0000 (14:02 +0300)]
Revert "Allow changing theme on the fly (#2874)"

This reverts commit 1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 as
well as the related changes to @since, release notes etc.

Conflicts:

client/src/com/vaadin/client/ResourceLoader.java
client/src/com/vaadin/client/communication/TranslatedURLReference.java
client/src/com/vaadin/client/ui/ui/UIConnector.java
server/src/com/vaadin/ui/UI.java
shared/src/com/vaadin/shared/ui/ui/UIState.java
uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java

Change-Id: Id882dc730f51055f6d17200964bcaf8a1f87a35f

10 years agoAdd missing @since 7.3 to javadoc
Henri Sara [Wed, 2 Jul 2014 06:39:09 +0000 (09:39 +0300)]
Add missing @since 7.3 to javadoc

Change-Id: I62610ef647fbbb5a7cfae25ac5c7628f78f2c6ff

10 years agoAdd missing @since 7.2.4 in javadoc
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 agoFix PushConfigurationLongPollingTest.
Sauli Tähkäpää [Fri, 27 Jun 2014 07:52:01 +0000 (10:52 +0300)]
Fix PushConfigurationLongPollingTest.

Change-Id: I49516f311315d3c84a177ec6bd937e1241e67351

10 years agoDisabled shadow divs. Instead use css box-shadow (#13885)
Dmitrii Rogozin [Tue, 24 Jun 2014 12:29:40 +0000 (15:29 +0300)]
Disabled shadow divs. Instead use css box-shadow (#13885)

Change-Id: Ibf8888de795b08aed0446607165d7318f94ee6f4

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 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 agoAdd conf option for disabling sync id checking (#14084)
Leif Åstrand [Thu, 26 Jun 2014 09:11:44 +0000 (12:11 +0300)]
Add conf option for disabling sync id checking (#14084)

Change-Id: If3fcc88e69d797b219f5af5906853a42d81f693c

10 years agoIgnore -1 sync id on the server (#14084)
Leif Åstrand [Wed, 25 Jun 2014 11:42:30 +0000 (14:42 +0300)]
Ignore -1 sync id on the server (#14084)

Change-Id: Iad73c44852c207f29381d59bea25275ac8f24dbd

10 years agoMention JSON library change in release notes (#14105, #13944)
Henri Sara [Mon, 30 Jun 2014 11:58:51 +0000 (14:58 +0300)]
Mention JSON library change in release notes (#14105, #13944)

Change-Id: I4c9d24fdf0fa43c1abbe1843887b1a0001084a60

10 years agoMerge branch 'valo' to master
Henri Sara [Mon, 30 Jun 2014 10:33:16 +0000 (13:33 +0300)]
Merge branch 'valo' to master

Updated release notes to the form previously used in master.
The ticket list link needs to be updated separately in the
7.3 branch.

Change-Id: I7b7d09a1281261d3a1b8793cfff9ba8951a07798

10 years agoDo not re-send browser details in the first UIDL request (#14072)
Artur Signell [Tue, 24 Jun 2014 06:10:03 +0000 (09:10 +0300)]
Do not re-send browser details in the first UIDL request (#14072)

Change-Id: If68c4145f90951f6400ccf4264a481c3531519e7

10 years agoAdd a missing check for user-initiated column resizing in VScrollTable (#13432)
Juho Nurminen [Tue, 10 Jun 2014 12:15:30 +0000 (15:15 +0300)]
Add a missing check for user-initiated column resizing in VScrollTable (#13432)

Change-Id: Ie70214898cca5bfd2e5a5b0e287427fd9acb8ce3

10 years agoMerge branch 'master' into valo
Henri Sara [Mon, 30 Jun 2014 09:50:24 +0000 (12:50 +0300)]
Merge branch 'master' into valo

Change-Id: Ifeb36e6c0acd156b7714f96f32ad7d4ff8416100

10 years agoUpdate .gitignore for valo
Henri Sara [Mon, 30 Jun 2014 08:24:56 +0000 (11:24 +0300)]
Update .gitignore for valo

Change-Id: Ia37e982e69c5a26f8ed221a5e2ef4c7ed7bd68df

10 years agoCompile valo with Vaadin Sass compiler (#14120)
Henri Sara [Mon, 30 Jun 2014 07:55:14 +0000 (10:55 +0300)]
Compile valo with Vaadin Sass compiler (#14120)

Change-Id: I79ddfee4fd97c545f2bd502655560ff4cbe600a4

10 years agoRelease notes for 7.3 beta1 (#14105)
Artur Signell [Fri, 27 Jun 2014 14:15:54 +0000 (17:15 +0300)]
Release notes for 7.3 beta1 (#14105)

Change-Id: I1d5bcee8bc841c2d3d30f80b520b83a84ce686d2