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

10 years agoUpdate ValoThemeTest
Jouni Koivuviita [Fri, 13 Jun 2014 14:21:21 +0000 (17:21 +0300)]
Update ValoThemeTest

New tab sheet test with more flexibility in testing all the different
combinations of styles.

Test slider min-max ranges with the “ticks” style.

Change-Id: Id64f28f79fc7c660948519dea85110516966093f

10 years agoAdded a new "framed" tab sheet style for Valo
Jouni Koivuviita [Fri, 13 Jun 2014 14:19:43 +0000 (17:19 +0300)]
Added a new "framed" tab sheet style for Valo

Renamed the tab sheet mixins also to follow the convensions.

TabSheet now also has a “loading” state when the tab content takes a
little longer to render on the server.

Change-Id: I77a3508e2009c780347ca61a82b8a1d3458d92b4

10 years agoFix spinner mixin for IE8 and IE9
Jouni Koivuviita [Fri, 13 Jun 2014 08:49:43 +0000 (11:49 +0300)]
Fix spinner mixin for IE8 and IE9

Fixes indeterminate ProgressBar style as well (using the spinner mixin).

Change-Id: I35729e465e2249515fc4668167b1d18aa3783a97

10 years agoFix notification default delay
Jouni Koivuviita [Fri, 13 Jun 2014 08:18:54 +0000 (11:18 +0300)]
Fix notification default delay

The default hiding delay should be 0ms instead of 1000ms, according to
the server side class at least.

Change-Id: I064c01b2fdc9df4cbcbd74def8e494add22ee749

10 years agoFix VOverlay animation-out jitter
Jouni Koivuviita [Fri, 13 Jun 2014 07:23:19 +0000 (10:23 +0300)]
Fix VOverlay animation-out jitter

An improper fix to an issue with the closing animation that was left
there mistakenly.

Change-Id: I645c6983058fb128cf060a3c7bb2766cb47e3a81

10 years agoUpdate ValoThemeTest with a few new styles
Jouni Koivuviita [Thu, 12 Jun 2014 12:53:58 +0000 (15:53 +0300)]
Update ValoThemeTest with a few new styles

Change-Id: Icfc9a960d7d022ec5394be2853f80775be41549d

10 years agoinstall-local-maven.sh: use proper quoting
Antti Tanhuanpää [Tue, 17 Jun 2014 13:43:38 +0000 (16:43 +0300)]
install-local-maven.sh: use proper quoting

Change-Id: Iddcd438431d9c5f1f8ec7208d44a3602e183e160

10 years agoVarious fixes and tweaks to Valo
Jouni Koivuviita [Thu, 12 Jun 2014 12:53:06 +0000 (15:53 +0300)]
Various fixes and tweaks to Valo

- Added a new “quiet” style button, and an “icon-align-top” style, and
added an additional parameter for the borderless button style

- PopupView now has a proper animation-in and animation-out, with a
spinner showing the loading state

- Small fix to slider minimum size

- Fixed TextField text centering for IE8 and IE9

- Fixed Tree expand/collapse arrow clicking in IE10

- Tweaked Window shadow and modality curtain style

Change-Id: I48dab61c648363b8eb0c03dc3b3cbbc1289b94ed

10 years agoFixed an NPE while changing a DateField from 24 to 12h clock (#13722)
Teemu Pöntelin [Thu, 22 May 2014 18:22:09 +0000 (21:22 +0300)]
Fixed an NPE while changing a DateField from 24 to 12h clock (#13722)

A client-side NullPointerException was fixed by not reusing
the existing VTime panel and always recreating it instead.
Otherwise the ListBox for switching between AM/PM might have
been null.

Change-Id: I8d54d91627043a12b52ac5d5e54d6f7a729af1ac

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 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 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 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 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 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 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 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 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 agoFix overlay animation-in/out for VNotification and PopupView
Jouni Koivuviita [Thu, 12 Jun 2014 12:44:14 +0000 (15:44 +0300)]
Fix overlay animation-in/out for VNotification and PopupView

- Notification delay now applied to browsers without CSS animation
support

- PopupView now also supports animation-in and animation-out, and also
shows the “loading” widget when the popup is opened and the server
response takes a little longer. The popupComponentWidget is also kept
in the popup during the animation-out

Change-Id: Idb26d87a8cf75cfa3e145ea670dacc1c87ce75d6

10 years agoMultiple fixes to Valo theme
Jouni Koivuviita [Tue, 10 Jun 2014 19:53:58 +0000 (22:53 +0300)]
Multiple fixes to Valo theme

- Added initial Sass API for Accordion and TabSheet (previously only
one mixin)

- Renamed ‘darker-of’ function to ‘darkest-color’, which now supports
more than two colors

- Refactored notifications to use the new position classes as well as
the new animation-in/out functionality

- Refactored overlay styles to use animation-in/out functionality

- Fixed all unwanted white-space and scrollbar issues in all browsers
(font-size:0 or line-height:0 no longer necessary), and fixes vertical
centering in horizontal layout (#13671)

- Fixed borderless menubar clicking bug (Firefox and Opera)

- Fixed table column selector, which no longer produces scrollbars if
placed directly inside a scrollable area in full size

- Fixed table outline overflow in Opera (now using box-shadow instead
in all other browsers except IE8)

- Added toolbar support for windows (header and footer)

- Moved optional notification styles to common-stylenames.scss

-Various other small tweaks

Change-Id: I42343199be12f6d909b9584b7dce3e258846da81

10 years agoUpdate Valo theme test application
Jouni Koivuviita [Tue, 10 Jun 2014 19:38:11 +0000 (22:38 +0300)]
Update Valo theme test application

- Add DragAndDropWrapper examples
- Improve Window example with toolbar support

Change-Id: I1d6dc7d5e7449bd479f3510d9cbf1fda3cccddd6

10 years agoFix multiple VOverlay animation-in/out related issues
Jouni Koivuviita [Tue, 10 Jun 2014 19:34:59 +0000 (22:34 +0300)]
Fix multiple VOverlay animation-in/out related issues

Any running animation-in is now finished before animation-out is
triggered.

Moved windowClone variable into WindowConnector where it should be.

Change-Id: I0ee733d05558d46a08e5e46f821104ad98783118

10 years agoRemove FontAwesome files from Valo (use directly from Base)
Jouni Koivuviita [Tue, 10 Jun 2014 19:26:06 +0000 (22:26 +0300)]
Remove FontAwesome files from Valo (use directly from Base)

Deprecate ‘font’ mixin in favor of ‘v-font’. The deprecated mixin will
print a warning message to the console.

Change-Id: I28ae1d39606c2c6ff7bee2e8cc811acf7e2479a2

10 years agoNotification position should be controllable with CSS (#13990)
Jouni Koivuviita [Mon, 9 Jun 2014 10:22:25 +0000 (13:22 +0300)]
Notification position should be controllable with CSS (#13990)

Change-Id: Ic04f97d00745c2b7d1b4c143b2a458ab47188fd2

10 years agoMerge branch 'master' into valo
Jouni Koivuviita [Mon, 16 Jun 2014 07:29:28 +0000 (10:29 +0300)]
Merge branch 'master' into valo

Conflicts:
build.properties

Change-Id: I2477f2b420506d1b41d29d9bb1e361d66bedb68d

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 agoTweak quick setup instructions (#13616)
Leif Åstrand [Fri, 13 Jun 2014 09:40:51 +0000 (12:40 +0300)]
Tweak quick setup instructions (#13616)

- Change the order to install IvyDE before importing the project
- Explicitly mention the Ant tasks since it's such a common mistake

Change-Id: I1a9edc39f72c5fd4b31cdfe3db9b4fa87d6d8cf2

10 years agoUse more exact paths for ivysettings.xml and build.properties (#13616)
Leif Åstrand [Fri, 13 Jun 2014 06:44:54 +0000 (09:44 +0300)]
Use more exact paths for ivysettings.xml and build.properties (#13616)

Defining the paths to be relative to the workspace is needed for
compatibility with older versions of IvyDE / Eclipse. All other
dependencies are already defined in this way, it's only this new gwt
dependency that isn't consistent with the others.

Change-Id: Iad976566fc7927745fe5534951be1f476c810ff5

10 years agoEasier instructions thanks to GWT dependency (#13616)
Artur Signell [Thu, 12 Jun 2014 18:39:31 +0000 (21:39 +0300)]
Easier instructions thanks to GWT dependency (#13616)

Change-Id: I42034e50e314c13282614d5a7ab64368daca1b31

10 years agoUse GWT as maven dependency (#13616)
Sauli Tähkäpää [Tue, 6 May 2014 11:28:29 +0000 (14:28 +0300)]
Use GWT as maven dependency (#13616)

Change-Id: I283820c7dcca7ecd341949bb15275406fe378902

10 years agoRevert "Fix for 'Aborting layout after 100 passess' (#13359)"
Sauli Tähkäpää [Thu, 12 Jun 2014 10:55:12 +0000 (13:55 +0300)]
Revert "Fix for 'Aborting layout after 100 passess' (#13359)"

Causes regression with IE8:
http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020

Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690

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 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 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 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 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 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 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 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 agoUse Sass Compiler version 0.9.6
Henri Sara [Fri, 6 Jun 2014 06:59:29 +0000 (09:59 +0300)]
Use Sass Compiler version 0.9.6

Change-Id: I92bd1a76c79785ee5d2cdc7000cb4746ef25192e

10 years agoFix copyright header in AnimationUtil
Henri Sara [Fri, 6 Jun 2014 07:25:28 +0000 (10:25 +0300)]
Fix copyright header in AnimationUtil

Change-Id: I768d93e8eb7f4b6415f17c80bc4564053313dc56

10 years agoUpdate versions in OSGi manifest for vaadin-shared (#13812)
Antti Tanhuanpää [Thu, 5 Jun 2014 15:12:44 +0000 (18:12 +0300)]
Update versions in OSGi manifest for vaadin-shared (#13812)

Change-Id: I75551cb500d3d35071dabcf53d71a8536806a0ca

10 years agoImplement Notification animation with CSS (#13660)
Jouni Koivuviita [Thu, 5 Jun 2014 14:23:01 +0000 (17:23 +0300)]
Implement Notification animation with CSS (#13660)

Default opacity (90%), fade duration (400ms) and fade delay (1000ms) are
defined in the base theme.

“In” animations can be defined by using a dependent stylename
‘animate-in’ (prefixed with the widgets own primary stylename), e.g.
'v-Notification-animate-in'. That CSS class should then have a CSS
animation specified, and the CSS animation name should contain
'animate-in', e.g.

.v-Notification-animate-in {
animation: notification-animate-in 400ms;
}

@keyframes notification-animate-in {
...
}

“Out” animations are defined similarly, but with 'animate-out' as the
keyword.

The base theme contains mixins for declaring keyframes rules as well as
animation values, which include needed vendor prefixes.

Refactored deprecated GWT API’s to use newer API’s.

Change-Id: Iba929e8de8b6ce100852d472d65c9c9d0630c48f

10 years agoFix for 'Aborting layout after 100 passess' (#13359)
Tomi Virtanen [Fri, 16 May 2014 08:25:01 +0000 (11:25 +0300)]
Fix for 'Aborting layout after 100 passess' (#13359)

'Aborting layout after 100 passes.' is caused by LayoutManager falling
into a loop on rounding fractional layout slot sizes up and down while
trying to fit layout's content in the space available. LayoutManager
round always up, that causes this issue with IE9+ and Chrome. This
change helps LayoutManager to round fractional sizes down for browsers
that causes problems if rounded up.

Browsers may fall into the loop especially with a zoom level other than
100%. Not with any zoom level though. Problematic zoom level varies by
browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test
for Chrome is the only one that really is able to reproduce error
without the fix. IE9/10 would too, but the zoom level could not be set
exactly to the required 95% for IE. Test works best as a regression test
for other browsers.

Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a

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 agoAdded new test app/ui for Valo
Jouni Koivuviita [Mon, 2 Jun 2014 11:37:00 +0000 (14:37 +0300)]
Added new test app/ui for Valo

New “tests-valo” theme also included multiple variations to test with.

Change-Id: I3dd3b91526b32ae8d080d2fa431d2a64f6f7fef4

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 agoValo Sass API refactoring (#13668)
Jouni Koivuviita [Mon, 2 Jun 2014 11:35:38 +0000 (14:35 +0300)]
Valo Sass API refactoring (#13668)

Also fixes #13672 (added ‘notification’ v-included-components list)

Fixes #13746 as well (DragAndDropWrapper won’t hide the drag source any
more)

Loads of smaller tweaks and fixes, went through almost all components
again and fixed any issues I could find in testing.

Testing done with the following:
Desktop (OS X Mavericks)
-Safari 7
-Chrome 35
-Firefox 24.5
-Opera 21, 12
-Internet Explorer 8,10

Mobile:
-iOS 7
-Android 4
-Android 2.3
-Windows Phone 8

Change-Id: Ide32cacd1958b5b8db85afe23f455ad3140a7d21

10 years agoPass useLocalWebDriver parameter to JUnit.
Sauli Tähkäpää [Tue, 3 Jun 2014 13:20:37 +0000 (16:20 +0300)]
Pass useLocalWebDriver parameter to JUnit.

Change-Id: I4840da6281c8be676384aa5b71bf689f7083ee36

10 years agoRename $v-app-background-color to $v-background-color (#13670)
Jouni Koivuviita [Mon, 12 May 2014 13:25:58 +0000 (16:25 +0300)]
Rename $v-app-background-color to $v-background-color (#13670)

Top level background-color variable, which is then specialized by
different components in the theme.

Mass search-and-replace, tested that the theme works as expected.

Added a new test UI class for the Valo theme.

Updated .gitignore to ignore .sass-cache (command line Sass creates a
cache folder when watching for changes)

Change-Id: I574a393de059aec7b24cb6014d3192d9717688e5

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 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 agoMerge branch 'master' into valo
Jouni Koivuviita [Tue, 3 Jun 2014 09:58:56 +0000 (12:58 +0300)]
Merge branch 'master' into valo

Conflicts:
WebContent/release-notes.html
build.properties
client/src/com/vaadin/client/ApplicationConfiguration.java

Change-Id: I36f075a03350e45c8666832142d7368891af3e59

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