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

10 years agoSpeed up dev server startup
Leif Åstrand [Tue, 17 Jun 2014 08:30:34 +0000 (11:30 +0300)]
Speed up dev server startup

- Don't have Atmosphere scan the entire classpath for annotations
- Don't use load-on-startup = -1 since Jetty still inits the servlets
- Avoid initing the integration test servlet for serving /VAADIN/*

Change-Id: Ic6a650442a11ac87ce15dabce3acda12a9cc71b3

10 years agoConvert GridLayoutMoveComponentTest to TB4. (#8855)
Sauli Tähkäpää [Fri, 13 Jun 2014 07:45:40 +0000 (10:45 +0300)]
Convert GridLayoutMoveComponentTest to TB4. (#8855)

Change-Id: I4be636273b2fd8dae544a6f0b88d8fdb00c33826

10 years agoRemoves double spacing from gridLayout which has empty rows or columns (#8855)
Dmitrii Rogozin [Thu, 22 May 2014 11:04:48 +0000 (14:04 +0300)]
Removes double spacing from gridLayout which has empty rows or columns (#8855)

If row has no elements or only invisible elements, its size will be set to zero.

 When row expand ratio was set, its size will be assigned to the value according to an expand ratio.

If component takes several rows of the gridLayout, these rows are considered as non-empty and won't be removed.

Change-Id: I10ddd22a6c9535b9978769bab7b496e11a28b78a

10 years agoAdded initial style name for VColorPickerArea (#14021)
Teemu Pöntelin [Fri, 13 Jun 2014 12:57:37 +0000 (15:57 +0300)]
Added initial style name for VColorPickerArea (#14021)

Change-Id: I0f7be75f51ec771a68f6e388b412346f2c366957

10 years agoMoved initialization of a static map to the static initialization block (#12270)
Teemu Pöntelin [Sat, 31 May 2014 11:37:49 +0000 (14:37 +0300)]
Moved initialization of a static map to the static initialization block (#12270)

Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7

10 years agoFix for handling selectors with both width and height ranges (#13587)
Teemu Pöntelin [Tue, 3 Jun 2014 18:00:48 +0000 (21:00 +0300)]
Fix for handling selectors with both width and height ranges (#13587)

This fix splits the used regular expressions into a more manageable
parts while fixing the handling of a case where both width-range and
height-range are defined. Also refactored some duplicate code into
a helper function.

Change-Id: I98295b8b0772b33a9985c0630e065eea2281d11d

10 years agoRefactored Layout tests. Remove errors (#13823)
Dmitrii Rogozin [Tue, 3 Jun 2014 11:51:42 +0000 (14:51 +0300)]
Refactored Layout tests. Remove errors (#13823)

Split tests into separate classes. Create hierarcy for tests.

Change-Id: I71e20a5410612f9a246bab051173e60768532185

10 years agoAssigning both primary style and style name is now handled correctly (#12190)
Teemu Pöntelin [Tue, 10 Jun 2014 21:20:41 +0000 (00:20 +0300)]
Assigning both primary style and style name is now handled correctly (#12190)

Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0

10 years agoAllow inlining of JsonCodec#encode (#13814)
Fabian Lange [Thu, 22 May 2014 22:36:56 +0000 (00:36 +0200)]
Allow inlining of JsonCodec#encode (#13814)

JsonCodec#encode() is a frequently called (hot) method. However in its
current form it is too long to be inlined.

This review reduces the length of the method from 454 bytes instructions
to 311 and optimises flow of common calls.

It however has a behaviour change for esoteric edge cases where the
order would matter. Like a custom collection which extends JSONArray and
implements collection. Previously it would have been handled by the
collection case, now its the JSONArray case. However it can be assumed
that the result: serialized to valid JSON is the same.

Change-Id: Ia552eec6322d0760581336b8b038fa03761c1d69

10 years agoDon't generate GWT.create for bean superclasses (#13813)
Leif Åstrand [Thu, 22 May 2014 14:48:36 +0000 (17:48 +0300)]
Don't generate GWT.create for bean superclasses (#13813)

Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771

10 years agoFixed broken OSGi dependencies in vaadin-shared (#13852)
Norman Specht [Tue, 27 May 2014 12:07:45 +0000 (14:07 +0200)]
Fixed broken OSGi dependencies in vaadin-shared (#13852)

The package com.google.gwt.thirdparty.streamhtmlparser_0.0.10.vaadin1 exports version 0.0.10.vaadin1, not 0.1.5.r10-rebased

Change-Id: I25c2964636d27a172cc83d69c5c0db64155a6fc2

10 years agoImprove CaptionLeakTest on IE8 (#13829)
Juuso Valli [Mon, 26 May 2014 14:25:49 +0000 (17:25 +0300)]
Improve CaptionLeakTest on IE8 (#13829)

Change-Id: I0c04f3318af2c9c53e5967485008faa260830996

10 years agoShortcutAddAndRemove TB2 -> TB4
Artur Signell [Mon, 12 May 2014 20:46:52 +0000 (23:46 +0300)]
ShortcutAddAndRemove TB2 -> TB4

Change-Id: If899309eb1b05f4a519eed45df4e9cf1670a7740

10 years agoSpeed up development server again by not eagerly initing all servlets
Artur Signell [Mon, 16 Jun 2014 10:25:06 +0000 (13:25 +0300)]
Speed up development server again by not eagerly initing all servlets

Change-Id: Iee32ef894cb50a4322f04250997ecfe032e570b1

10 years agoMake tooltips stationary when hovering (#13981)
Juuso Valli [Fri, 6 Jun 2014 09:55:56 +0000 (12:55 +0300)]
Make tooltips stationary when hovering (#13981)

Change-Id: I44acce87ea5c37d7b210e6c6c3dd9cd511192524

10 years agoFix issue when typing fast in combobox edit box plus then press TAB (#12325)
Dmitrii Rogozin [Wed, 21 May 2014 09:53:25 +0000 (12:53 +0300)]
Fix issue when typing fast in combobox edit box plus then press TAB (#12325)

Change-Id: I35375d2b39fbd666d848f6ffa62aa0ce1c0d4fad

10 years agoFix tooltip positioning near screen edges (#12870)
Juuso Valli [Mon, 2 Jun 2014 15:46:07 +0000 (18:46 +0300)]
Fix tooltip positioning near screen edges (#12870)

Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa

10 years agoPrevent tooltip open if cursor leaves element (#13695)
Juuso Valli [Fri, 6 Jun 2014 08:40:18 +0000 (11:40 +0300)]
Prevent tooltip open if cursor leaves element (#13695)

Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b

10 years agoAdd load-on-startup on web.xml to make demo run on Wildfly.
Sauli Tähkäpää [Wed, 4 Jun 2014 11:39:34 +0000 (14:39 +0300)]
Add load-on-startup on web.xml to make demo run on Wildfly.

Change-Id: I0cb42d918ed1af31577e5a67ddf4dbac3c9ab02f

10 years agoFix table scrolling up on select (#10106) 7.2.2
Juuso Valli [Tue, 29 Apr 2014 09:48:07 +0000 (12:48 +0300)]
Fix table scrolling up on select (#10106)

Change-Id: I4d13bee983817ce299d1f7e52ddd6cdc725fee6f

10 years agoScript for installing build artifacts to the local Maven repository
Artur Signell [Mon, 26 May 2014 13:27:30 +0000 (16:27 +0300)]
Script for installing build artifacts to the local Maven repository

Change-Id: I6cc4553a54d7d4ed7271ea0eb59386516fd96ca5

10 years agoFix for handling a breakpoint with 0 as the lower bound (#13588)
Teemu Pöntelin [Sun, 1 Jun 2014 20:57:25 +0000 (23:57 +0300)]
Fix for handling a breakpoint with 0 as the lower bound (#13588)

Added explicit isNaN checks to the results of parseInt function
because JavaScript would always convert 0 to false.

Change-Id: Ic904c321c0195ce50d9a498005459425b0c30d4c

10 years agoFix VAbstractOrderedLayout scrollbar in IE8 (#10106)
Juuso Valli [Wed, 28 May 2014 11:32:30 +0000 (14:32 +0300)]
Fix VAbstractOrderedLayout scrollbar in IE8 (#10106)

Change-Id: I188e28736e8092b30a813aeeb78247f5aec33295

10 years agoAllow use of Collection<String> and others with addItems (#13865)
Artur Signell [Wed, 28 May 2014 12:29:28 +0000 (15:29 +0300)]
Allow use of Collection<String> and others with addItems (#13865)

Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0

10 years agoFix menu item tooltips showing up too early (#13914)
Juuso Valli [Mon, 2 Jun 2014 14:28:49 +0000 (17:28 +0300)]
Fix menu item tooltips showing up too early (#13914)

Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322

10 years agoFix broken TB2 tests
Juuso Valli [Tue, 3 Jun 2014 12:46:42 +0000 (15:46 +0300)]
Fix broken TB2 tests

Change-Id: I1ce52065e529d471876e8aae1b53b5808089cc53

10 years agoFix regression with error tooltips (#13695)
Juuso Valli [Wed, 28 May 2014 11:57:12 +0000 (14:57 +0300)]
Fix regression with error tooltips (#13695)

Change-Id: Ia076ba95ec3abd6625e81e17bdcf000a20349f4e

10 years agoFix tooltip delay (#13695)
Juuso Valli [Fri, 23 May 2014 09:20:08 +0000 (12:20 +0300)]
Fix tooltip delay (#13695)

Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e

10 years agoFix DateFieldFastForwardTest to close browser context menu
Teemu Suo-Anttila [Tue, 13 May 2014 14:05:26 +0000 (17:05 +0300)]
Fix DateFieldFastForwardTest to close browser context menu

Change-Id: Ib8c6e45a8f77630e71b6f5264d6d42dc5efe922d

10 years agoRemoved handmade release note tickets.
Sauli Tähkäpää [Wed, 28 May 2014 19:20:24 +0000 (22:20 +0300)]
Removed handmade release note tickets.

Change-Id: I24e263e311bae0071da36decd827b3d7b57ba6cb

10 years agoRevert "Force recalc of width when the ComboBox style has changed. (#13444)" 7.2.1
Sauli Tähkäpää [Tue, 27 May 2014 12:19:21 +0000 (15:19 +0300)]
Revert "Force recalc of width when the ComboBox style has changed. (#13444)"

This reverts commit 4058b7b063075fed15771eef30cc87b0f58f0cda.

Revert "Treat initial rendering and style changes separately. (#13444)"

This reverts commit b3d683e974f7c3b2269753aec615872b2cddc180.

Revert "Force recalc of width when the ComboBox style has changed  (#13444)"

This reverts commit 09ca9bc8237a14541890360598130c300509a617.

Change-Id: I8c4edb1079be428f5ccb06ff9da396f9ead8501e

10 years agoFix Push update race condition (#13562)
Juuso Valli [Mon, 26 May 2014 14:22:18 +0000 (17:22 +0300)]
Fix Push update race condition (#13562)

Change-Id: I50094bc2d236f6dbb02a8b82d6cc9b5f7e4733a5

Conflicts:
uitest/src/com/vaadin/tests/components/table/ContainerSizeChangeTest.java

10 years agoReplace use of deprecated DOM.setStyleAttribute method (#13781)
Leif Åstrand [Fri, 16 May 2014 08:31:14 +0000 (11:31 +0300)]
Replace use of deprecated DOM.setStyleAttribute method (#13781)

This change is only a brain dead replacement of one specific method. In
some cases, there were some oddities in the surrounding code as well,
but these were left unresolved on purpose.

It should also be noted that DOM.setStyleAttribute just delegates to
element.getStyle().setProperty(), so any null references would have
caused problems already in the existing code.

Change-Id: I340122ac0767af9928076376f76e5bd2c5e19f9f

10 years agoAllow using modifier + enter as shorcuts in TextArea (#13811)
Artur Signell [Mon, 26 May 2014 14:20:40 +0000 (17:20 +0300)]
Allow using modifier + enter as shorcuts in TextArea (#13811)

Change-Id: I99db3d6280f0066ed1249cb348da7e82381b45c2

10 years agoProperly deserialize push connection (#12235)
Johannes Dahlström [Mon, 19 May 2014 13:28:09 +0000 (16:28 +0300)]
Properly deserialize push connection (#12235)

The UI.pushConnection field is transient no longer; instead PushConnection
implementations must take care of serialization internally. When a session
is serialized, the client should notice that push was disconnected and
try to reconnect. A deserialized PushConnection should be in a "disconnected"
state so the eventual client reconnection works correctly.

Change-Id: I38cfc5a5cdbd3643311f830f8d580458dcd85c56

10 years agoOptimizes ConnectorTracker.cleanConnectorMap (#13803)
Fabian Lange [Wed, 21 May 2014 12:18:41 +0000 (14:18 +0200)]
Optimizes ConnectorTracker.cleanConnectorMap (#13803)

cleanConnectorMap is a hot method.
This change improves multiple code paths:
1) The global resource handler is no longer get()ed from the session for
   each connector (was in two loops).
2) The ConnectorTracker is no longer get()ed from the UI for each
   connector (was in one loop).
3) values() iterator for ClientConnectors replaces
   keySet() iterator + get(key) call
4) use getUI() from ClientConnector instead manual method.
5) moved removeUnregisteredConnectors to ease inlining and readability.

Change-Id: I25ff5bc32d27d30ecd8d354922ec6e4a02b05921

10 years agoOptimize getAllChildrenIterable() performance. (#13803)
Fabian Lange [Wed, 21 May 2014 12:52:52 +0000 (14:52 +0200)]
Optimize getAllChildrenIterable() performance. (#13803)

getAllChildrenIterable() is invoked frequently, its used by
attach/detach and markAsDirty.
Because of the implementation detail in CombinedIterator, on every call
all iterators are checked. This means that on every component which has
multiple childs, each next() call will first check the extension
iterator, before advancing in the child iterator.
By having the childs first, this overhead is reduced. If no extensions
are existing (which is quite common) the iterator is not added at all.
(creating an iterator on an empty UnmodifiableCollection is waste of
time and memory)

Change-Id: I23bb91464052ad4282963ec4b5be8a52c6847d4f

10 years agoModified Coding Conventions to not have a new line after annotations on
Anna Koskinen [Tue, 8 Apr 2014 12:34:16 +0000 (15:34 +0300)]
Modified Coding Conventions to not have a new line after annotations on
parameters (#13569).

Change-Id: Idc541f298591453c52285a8b1987052caad79e4f