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

10 years agoReplace complex interpolation with simple interpolation in Valo.
Mika Murtojarvi [Thu, 26 Jun 2014 13:46:25 +0000 (16:46 +0300)]
Replace complex interpolation with simple interpolation in Valo.

The Vaadin Sass compiler does not yet support general interpolation in
quoted strings.

Change-Id: I6e40e4ba8dacc8d65468b029e4f756566dd10c9f

10 years agoFix !important handling in opacity mixin
Henri Sara [Mon, 30 Jun 2014 06:17:50 +0000 (09:17 +0300)]
Fix !important handling in opacity mixin

This change makes the mixin opacity() compatible with both the
sass-lang implementation and our compiler.

Change-Id: I29923cb3cf6d876fcf39696608fe3a5e3222374d

10 years agoRevert to org.json as Android JSON is not 100% compatible (#13944)
Artur Signell [Fri, 27 Jun 2014 12:49:26 +0000 (15:49 +0300)]
Revert to org.json as Android JSON is not 100% compatible (#13944)

Update to new GWT which also uses the correct org.json dependency

Change-Id: I9414be188bf59975d01186a9daf83f0c170a88bc

10 years agoRemove VaadinServlet.handleServiceSecurityException (#14082)
Leif Åstrand [Wed, 25 Jun 2014 10:53:17 +0000 (13:53 +0300)]
Remove VaadinServlet.handleServiceSecurityException (#14082)

Change-Id: I80029235997e29e0d430bccfd3a7b050598e4031

10 years agoFix borderless textfield focus box-shadow
Jouni Koivuviita [Fri, 27 Jun 2014 09:33:52 +0000 (12:33 +0300)]
Fix borderless textfield focus box-shadow

Earlier patch caused focus outline/box-shadow to be applied to
borderless style. This patch removes those again.

Change-Id: Ib528675032c87e28b4962e7e5686dde56578be8d

10 years agoPrefix header style names with 'v-label-'
Jouni Koivuviita [Fri, 27 Jun 2014 07:53:17 +0000 (10:53 +0300)]
Prefix header style names with 'v-label-'

Avoid name clashes with custom theme style names (got one report where
this was an issue).

Change-Id: If4bac6c227ad665084f2c9d4e03e1514a4149684

10 years agoBourbon is now included (#14106)
Artur Signell [Fri, 27 Jun 2014 12:54:34 +0000 (15:54 +0300)]
Bourbon is now included (#14106)

Change-Id: I8d9f492a733448ac993124d9effd79acae4ddbd2

10 years agoUse simple interpolation in selector
Henri Sara [Fri, 27 Jun 2014 12:04:53 +0000 (15:04 +0300)]
Use simple interpolation in selector

This makes the file compile with Vaadin Sass compiler 0.9.7

Change-Id: I04dde084cf2f00ac33fedf63fd1930cb1426ff7a

10 years agoValo font path fixes for Vaadin Sass compiler
Henri Sara [Fri, 27 Jun 2014 12:00:40 +0000 (15:00 +0300)]
Valo font path fixes for Vaadin Sass compiler

Change-Id: I2c72d57ffdc006e583b5bac23155eae67f33aa1f

10 years agoUse Sass compiler version 0.9.7
Henri Sara [Fri, 27 Jun 2014 11:55:36 +0000 (14:55 +0300)]
Use Sass compiler version 0.9.7

Change-Id: Iead4815179aedc764a0792d5d2dc9d5b6e928bc8

10 years agoFix PushConfigurationStreamingTest for IE.
Sauli Tähkäpää [Fri, 27 Jun 2014 07:34:42 +0000 (10:34 +0300)]
Fix PushConfigurationStreamingTest for IE.

Change-Id: Iac342bdca90794a02c5966231142a585e2eeb216

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 agoMerge branch 'master' into valo
Jouni Koivuviita [Fri, 27 Jun 2014 07:47:29 +0000 (10:47 +0300)]
Merge branch 'master' into valo

Change-Id: Iffe877e047ee29dbd4e5b3a6098f82da3d0a47cc

10 years agoChange DateFieldReadOnlyTest to use a initial reference instead of reusing readonly...
Sauli Tähkäpää [Fri, 27 Jun 2014 06:39:04 +0000 (09:39 +0300)]
Change DateFieldReadOnlyTest to use a initial reference instead of reusing readonly reference.

Reusing the readonly reference causes weird test results when the first
comparison fails and the second one succeeds: the build will fail but errors
shots have been deleted because the second comparison succeeded.

Change-Id: I3484f2d7bdaa604136d8cf917eefc80b389c6722

10 years agoSuperDevMode launch file for the project
Artur Signell [Wed, 11 Jun 2014 18:24:50 +0000 (21:24 +0300)]
SuperDevMode launch file for the project

Change-Id: I3c6e5a495c0a4dc13e373ee82e8619f2559be3a4

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 agoAllow changing theme on the fly (#2874)
Artur Signell [Wed, 11 Jun 2014 17:35:04 +0000 (20:35 +0300)]
Allow changing theme on the fly (#2874)

Change-Id: I70c153c4109428686002f985bfe1cb7cba2c9b31

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 agobox-shadow should have -webkit prefix (#14093)
Jouni Koivuviita [Thu, 26 Jun 2014 09:34:12 +0000 (12:34 +0300)]
box-shadow should have -webkit prefix (#14093)

Mass find-and-replace, tested to work as before in Chrome, and that the
output now includes box -webkit-box-shadow as well as box-shadow.

Bourbon needed to be imported before the css3 utils, so that the
box-shadow mixin can be overridden (Bourbon prints a warning as it has
already deprecated box-shadow prefixes).

Change-Id: I6b4f2047a6d8bfb74f2dbf999d10f7e00005e794

10 years agoMerge branch 'master' into valo
Jouni Koivuviita [Thu, 26 Jun 2014 08:45:23 +0000 (11:45 +0300)]
Merge branch 'master' into valo

Change-Id: I9f804f3ba10922a3d59999df06a23f2daa4cd4e8

10 years agoLicense Checker for vaadin cval products (#13696 #13474)
Manolo Carrasco [Wed, 30 Apr 2014 11:26:32 +0000 (13:26 +0200)]
License Checker for vaadin cval products (#13696 #13474)

- This patch includes four elements:
  1.- A class able to validate a licensed product against Vaadin
      license server. It can be used in any vaadin product (thought
      for non addons like TB) just adding vaadin dependency, or
      copying the class.
  2.- A class able to inspect all addons in the classpath and figure
      out, based on the MANIFEST.MF info, whether we have to check
      developer license.
  3.- A modification to Vaadin connector generator to use the classes
      above and to stop compilation in case.
  4.- A modification to ConnectorBundleLoader, so as when a new connector
      is instatiated, we check whether it is using an evaluation
      license and show a notice. We only show the notice once.

- In addition to validating developer licenses, the checker caches the
  server response for using it when there are connection problems.
- This stuff is in Vaadin core, so as we dont maintain license code in
  each addon. For checking an addon license we just add the license type
  to the manifest when packaging the artefact.
- It checks expiration time, product name and major version.

Fixes: #13696
In some-way related with: #13474

Change-Id: Ib61b1c2e9c3cacd463a1ce5db02c2cfbc06851c2

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 agoVarious fixes to Valo and ValoThemeTest
Jouni Koivuviita [Wed, 25 Jun 2014 13:25:40 +0000 (16:25 +0300)]
Various fixes to Valo and ValoThemeTest

Improve textfied, datefield and combobox mixins so that they can be
used with null parameter values. This makes them output less styles and
allows combining multiple styles together (e.g. small + borderless).

Let valo-button-style mixin support padding as a list instead of just a
single number.

Change default calendar event colors to hex values (Vaadin Sass
compiler doesn’t support all color keywords just yet).

Error styles for date field and combo box

Small fix to table to support all border sizes (Java code has a
hard-coded 1px border width). Remove a few unnecessary selectors.

Make tab sheet tab alignment mixin more generic (now allows both right
and center alignment).

Fix framed tab sheet style border (bottom border caused left and right
borders to have a “cropped” angle at the bottom end).

Fix selection overlay item active style color (i.e. white would produce
a pink color). Now a completely desaturated color won’t be saturated.

Change-Id: I0117e20ef0a597de982a4d0c85a3c78fff87eafc

10 years agoAdd Java constants for all additional Valo theme style names (#14030)
Jouni Koivuviita [Tue, 24 Jun 2014 13:41:07 +0000 (16:41 +0300)]
Add Java constants for all additional Valo theme style names (#14030)

Most style names documented. Some still missing, and a few with TODO
placeholders.

Change-Id: I9388e3b8fb9c23a8f25f47e963a896e0a0606a95

10 years agoVarious fixes to Valo
Jouni Koivuviita [Tue, 24 Jun 2014 13:37:51 +0000 (16:37 +0300)]
Various fixes to Valo

Add a small API for checkbox, radio button and option group.

Fix border radius for ComboBox (no-text-input + small/large style).

Add better support for form layout section captions (now supports h2,
h3 and h4 labels instead of just h4).

Add “align-right” and “align-center” utility style names for label.

Fix black line artifacts in iOS for panel, window and tabsheet (visible
at certain zoom levels).

Refactor tab sheet styles to be more modular (so you can combine framed
with icons-on-top for instance).

Fix tab sheet loading indicator reserving unnecessary space in parent
layout.

Readonly style for richtextarea.

Fix slider handle focus border color.

Fix #14058: Valo causes Table headers to be overly long
- Table now reserves as little space as necessary
- TreeTable works slightly differently, causing it to reserve more
space in some situations

Rename table mixins to follow naming convention (mixins that do not
output top-level selectors should be suffixed with “-style”, others
not).

Fix TreeTable treespacer style so that it works correctly with row
captions/icons.

Prevent text size adjust on iOS.

Refine default overlay shadow.

Change-Id: I31fa8905c5aa34ab810c3d1c7ac35c3f572c8c04

10 years agoClean up focus-color usage in Valo
Jouni Koivuviita [Tue, 24 Jun 2014 13:11:52 +0000 (16:11 +0300)]
Clean up focus-color usage in Valo

Resort to using $v-focus-color instead of valo-focus-color()

Clean valo-focus-color() function implementation.

Remove unnecessary documentation from _variables.scss

Increase bevel depth slightly (better contrast)

Change-Id: I1272c27fd76cd9a1f1f4c36b76756bc73802eb83

10 years agoUpdate ValoThemeTest
Jouni Koivuviita [Tue, 24 Jun 2014 12:41:41 +0000 (15:41 +0300)]
Update ValoThemeTest

Tables example refactored to allow testing all possible combinations of
different styles and configurations.

Lots of other small updates to cover different use cases.

RandomTests renamed to an indipendent ValoMiscTests UI

Change-Id: I7f8cf55372031e3012e7a5d3b32a70f85e93aefd

10 years agoAdded a new valo-menu style 'large-icons'
Jouni Koivuviita [Tue, 24 Jun 2014 12:25:59 +0000 (15:25 +0300)]
Added a new valo-menu style 'large-icons'

Valo-menu now support multiple levels of menus side-by-side, and the
new ‘large-icons’ style creates a different style which emphasizes the
icons more than the captions of the menu items.

Menu items can now have “notification badges” as well.

Update ValoThemeTest to use the new menu layout.

Change-Id: I5e7e9aabc47dab7444206141d994d7b5cd8ecaca

10 years agoDon't complain about missing sync id for critical notifications (#14081)
Leif Åstrand [Wed, 25 Jun 2014 10:50:14 +0000 (13:50 +0300)]
Don't complain about missing sync id for critical notifications (#14081)

Change-Id: I351d256230a5cd674a5e1b8066d3e2aef07ff3bf

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 agoUse dashes instead of underscore in function names
Henri Sara [Wed, 25 Jun 2014 08:36:50 +0000 (11:36 +0300)]
Use dashes instead of underscore in function names

Change-Id: I3dd08e39b519d1bdac8e2e4a1c4c5ae05c517ae0

10 years agoUpdated javadoc to indicate which Font Awesome version is included (#14070)
Marc Englund [Tue, 24 Jun 2014 07:18:40 +0000 (10:18 +0300)]
Updated javadoc to indicate which Font Awesome version is included (#14070)

Change-Id: I51c0722bda9941d16a5f6aad0ce7dfd4a4753587

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

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

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

Change-Id: Idb2dbc5d2ca6406cafb44df93110e079a1dff473

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

10 years agoFix moving a single component inside a split panel (#11920)
Artur Signell [Wed, 23 Apr 2014 20:44:19 +0000 (23:44 +0300)]
Fix moving a single component inside a split panel (#11920)

Change-Id: Ib9b3625e4104763143906eb1b7986ef7b3b80737

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 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 agoBasic TestBench test for Upload
Artur Signell [Wed, 23 Apr 2014 18:29:54 +0000 (21:29 +0300)]
Basic TestBench test for Upload

Generates a file to upload locally and TestBench ensures this file is transferred automatically to the browser node using a FileDetector.

Change-Id: Ia5b3a48306356c364d49da60b81f1d68f1593939

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 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 agoRefactor DateFieldReadOnlyTest to use a predefined locale with 24h time.
Sauli Tähkäpää [Thu, 19 Jun 2014 06:29:15 +0000 (09:29 +0300)]
Refactor DateFieldReadOnlyTest to use a predefined locale with 24h time.

Change-Id: I32011639b6e0dfdc36d6ede350db27af80549ac3

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 regression with DnD tooltips (#7766)
Juuso Valli [Wed, 18 Jun 2014 12:10:28 +0000 (15:10 +0300)]
Fix regression with DnD tooltips (#7766)

Change-Id: I74e6c35ef0aa30dbb24301bfb5858cedd0008e71

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 agoUpdate RichTextArea editor height on resize (#11320)
Tomi Virkki [Wed, 9 Apr 2014 04:24:20 +0000 (07:24 +0300)]
Update RichTextArea editor height on resize (#11320)

Change-Id: I4d4d054c2e4f068aacd9b324350be4ee696cf3d3

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 agoConvert MoveComponentsFromGridLayoutToInnerLayoutTest to TB4. (#8855)
Sauli Tähkäpää [Fri, 13 Jun 2014 06:32:47 +0000 (09:32 +0300)]
Convert MoveComponentsFromGridLayoutToInnerLayoutTest to TB4. (#8855)

Change-Id: I90079bad38a82d8a7d3b053daedc99e52633e027

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 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 agoRefactor CheckBoxRcpCountTest to be more stable.
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 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