]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
11 years agoPrevent to exit a Window with the tab key (#11874)
michaelvogt [Fri, 14 Jun 2013 14:08:38 +0000 (17:08 +0300)]
Prevent to exit a Window with the tab key (#11874)

Change-Id: Icd12ec6e2eac626ad493707dfa8288d620bb9bb7

11 years agoFixes @PreserveOnRefresh losing page title on refresh #11054
Joonas Lehtinen [Fri, 28 Jun 2013 15:19:47 +0000 (18:19 +0300)]
Fixes @PreserveOnRefresh losing page title on refresh #11054

Moves Page title to PageState instead of using RPC for changing the title on Page.setTitle().

Change-Id: I8e5ab2064c04235503fb2531f4cdbb108530ac7e

11 years agosimplified isStaticResourceRequest and improved its performance (#11758)
Fabian Lange [Wed, 12 Jun 2013 14:48:00 +0000 (16:48 +0200)]
simplified isStaticResourceRequest and improved its performance (#11758)

The previous implementation did first check if the PathInfo was empty (null returned).
This is almost never the case in reality. But if it happens, then the RequestURI would never contain contextRoot+"/VAADIN/".
Next it checked that contextUri was not null, and checked if the Uri started with "/VAADIN/".
This only would have worked in case the context root would have been "".
The next case checked was if the Uri starts with contextRoot+"/VAADIN/".
This is what you normally want to check. The only valid other case from before (contextRoot == "") is also covered by this line.

What you would have seen in normal deployments is:
* First if exit only for first request (http://demo.vaadin.com/sampler/) (and sometimes not even that depending on trailing slash config)
* Second exit only on no context root deployments (getContextRoot() returns "")
* Last exit in all other cases

Additionally, the existing implementation does not work correctly for the case getContextRoot would return null (which thankfully no container does).

Change-Id: I500e0c5eb0ac2bfa0b32af91800b2f7f303485ff

11 years agoSupport uploading files larger 2GB via drag and drop and file input (#11947).
Fabian Lange [Wed, 12 Jun 2013 19:21:31 +0000 (21:21 +0200)]
Support uploading files larger 2GB via drag and drop and file input (#11947).

Vaadin mostly just passes through the value from the Javascript File object
on drag and drop. As per specification (http://www.w3.org/TR/file-upload/#blob)
the size value can be "long". The size attribute of Html5File was already long,
but this patch makes sure long values actually are transported correctly from
the client side Transferable. Additionally, the file upload handling in
FileUploadHandler was determining the length of the upload via the Servlet Spec
getContentLength method of the request. However the spec was written at a time
where 2GB were unthinkable. Luckily containers return this value by querying
the Content-Length header, which can transport values of "long". So instead of
using the Servlet Spec method, FileUploadHandler evaluates the header itself.
AbstractStreamingEvent already was supporting "long" values. For Drag&Drop,
the file size needs to be serialized as double, because long is not supported
in JSNI.

Change-Id: I606fca7430c65c20144793fa011cb2f6ee3a0415

11 years agoAdd getCacheTime(filename) to VaadinServlet (#11744)
Fabian Lange [Wed, 12 Jun 2013 14:08:48 +0000 (16:08 +0200)]
Add getCacheTime(filename) to VaadinServlet (#11744)

This implementation by default adheres to the GWT Pristine Caching rules
and calculates 0 seconds for ".nocache." and 1 year for ".cache."
filenames. All other filenames will use the value configured in the
deployment configuration.
By exposing this to a method, developers can implement custom naming
schemes. Developers also can opt to set an expires header using this
value.

Change-Id: Ibc0d17d48d38bfa3bb28bdf3929ad314828be406

11 years agoTabsheet tabs should support alternate text (#11824)
michaelvogt [Tue, 25 Jun 2013 08:47:38 +0000 (11:47 +0300)]
Tabsheet tabs should support alternate text (#11824)

Change-Id: I000fe6102291d8bd9bbe484b5683b50c40c8470b

11 years agoAccessibility for Window (#11821)
michaelvogt [Fri, 14 Jun 2013 08:55:21 +0000 (11:55 +0300)]
Accessibility for Window (#11821)

Change-Id: Ica5d13fb138e8ed1c1966858c9e1dd0c4aa13af5

11 years agoSupport screen reader only notifications (#11830)
michaelvogt [Wed, 19 Jun 2013 13:15:23 +0000 (16:15 +0300)]
Support screen reader only notifications (#11830)

Change-Id: I09391b27c0b3df538ffe74c4edb8d96224f14cd3

11 years agoAccessibility for Notification (#11820)
michaelvogt [Fri, 10 May 2013 14:45:21 +0000 (17:45 +0300)]
Accessibility for Notification (#11820)

Change-Id: Ic9c1a417fa791927897b6fcdf35a1fb4444dfd70

11 years agoFix two tests broken by removal of StringToNumberConverter (#12092)
Henri Sara [Tue, 2 Jul 2013 06:22:25 +0000 (09:22 +0300)]
Fix two tests broken by removal of StringToNumberConverter (#12092)

Change-Id: Ic1520ddf670d83ce804acf240067c85d493196ca

11 years agoAdds String <-> BigDecimal converter (#9997)
Artur Signell [Tue, 18 Jun 2013 19:15:54 +0000 (22:15 +0300)]
Adds String <-> BigDecimal converter (#9997)

* BigDecimal properties connected to String based fields (TextField/TextArea/...) are now supported without custom converters

Change-Id: I2dab67875b3cfdb46b17e9d4cc35ffb94c114478

11 years agoRemoved StringToNumberConverter (#12092)
Artur Signell [Tue, 18 Jun 2013 19:00:14 +0000 (22:00 +0300)]
Removed StringToNumberConverter (#12092)

Change-Id: Iada5bb27eefef788143625c4d63a121f6c2589ea

11 years agoMerge changes from origin/7.1
Artur Signell [Fri, 28 Jun 2013 11:52:58 +0000 (14:52 +0300)]
Merge changes from origin/7.1

3affc37 Enable using @Stylesheet with vaadin:// (#9934)
177c424 Updated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115)
dbfb9a3 Add version property to integration tests to servers know if it is a Vaadin 6 or 7 test
e371001 Ensure caption is used when child is set to required (#12077)
90ed657 Use atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101)
6f2db49 Include Atmosphere fix for Android 4.1 (#12101)
c4ec786 Things now align better in SimpleTree, for #12058
172d704 Actually show loading indicator during loading (#12128)
6c10136 Use varargs instead of array where appropriate (#4513)
939095a Debug window poll interval claims interval is in seconds and not milliseconds (#12098)
68f025f The 'license.html' file has flaw in the HTML (unclosed span tag) (#11952)
c107efc Remove sub window references from Window javadocs (#9892)

Change-Id: Id386718b46f87a91708a51d70cdb5b47a0157e8b

11 years agoRemove sub window references from Window javadocs (#9892)
Leif Åstrand [Fri, 28 Jun 2013 11:42:43 +0000 (14:42 +0300)]
Remove sub window references from Window javadocs (#9892)

Change-Id: I51f1f39a9730313e0150bff2fccdba67e69e9d95

11 years agoThe 'license.html' file has flaw in the HTML (unclosed span tag)
michaelvogt [Fri, 28 Jun 2013 11:16:56 +0000 (14:16 +0300)]
The 'license.html' file has flaw in the HTML (unclosed span tag)
(#11952)

Change-Id: Ib940b76df7d2507e8a8b7122e99c4542850f9ac9

11 years agoDebug window poll interval claims interval is in seconds and not
michaelvogt [Fri, 28 Jun 2013 11:00:25 +0000 (14:00 +0300)]
Debug window poll interval claims interval is in seconds and not
milliseconds (#12098)

Change-Id: I26f86fdeafbdf15d02d40b86abb3f23da4f38543

11 years agoUse varargs instead of array where appropriate (#4513)
Artur Signell [Wed, 26 Jun 2013 06:41:17 +0000 (09:41 +0300)]
Use varargs instead of array where appropriate (#4513)

Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03

11 years agoActually show loading indicator during loading (#12128)
Artur Signell [Tue, 25 Jun 2013 19:40:48 +0000 (22:40 +0300)]
Actually show loading indicator during loading (#12128)

* Add theme name already during bootstrap

Change-Id: I78da3029b818ced51714d385cd77f5ba9bfce625

11 years agoThings now align better in SimpleTree, for #12058
Marc Englund [Fri, 14 Jun 2013 13:44:46 +0000 (16:44 +0300)]
Things now align better in SimpleTree, for #12058

Change-Id: Ie36f51b8b6e28aaf0055772a6cf4dcd35b716a3a

11 years agoInclude Atmosphere fix for Android 4.1 (#12101)
Artur Signell [Tue, 25 Jun 2013 15:49:39 +0000 (18:49 +0300)]
Include Atmosphere fix for Android 4.1 (#12101)

Change-Id: Ia17a9d8c6ece9861476be8861a735fe5d3e054bf

11 years agoUse atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101)
Artur Signell [Tue, 25 Jun 2013 09:58:23 +0000 (12:58 +0300)]
Use atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101)

Change-Id: I75cd1eebeeb5836b9205a9a1e28795be300d135a

11 years agoEnsure caption is used when child is set to required (#12077)
Artur Signell [Tue, 18 Jun 2013 19:59:01 +0000 (22:59 +0300)]
Ensure caption is used when child is set to required (#12077)

Change-Id: Id4a9674c1b2e1c41dbba1f6fde11502400591a52

11 years agoAdd version property to integration tests to servers know if it is a Vaadin 6 or...
Artur Signell [Tue, 18 Jun 2013 22:41:27 +0000 (01:41 +0300)]
Add version property to integration tests to servers know if it is a Vaadin 6 or 7 test

Change-Id: Id16238351289ce8df81bed3cd364cc4aa8bba95c

11 years agoUpdated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115)
Artur Signell [Mon, 24 Jun 2013 10:15:17 +0000 (13:15 +0300)]
Updated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115)

Change-Id: I068cca8ae2d3739b3a8ba7b01cd83b1b69509dd2

11 years agoAdd support for setId to TabSheet.Tab (#12064)
tapio [Mon, 17 Jun 2013 11:41:18 +0000 (14:41 +0300)]
Add support for setId to TabSheet.Tab (#12064)

Change-Id: Ia88b9d03a26b9670ab4026f8083a0b932dafa1c0

11 years agoMerge changes from origin/7.1
Artur Signell [Tue, 18 Jun 2013 19:27:11 +0000 (22:27 +0300)]
Merge changes from origin/7.1

bad3208 Corrected fix and better error checking for action/event request (#12056)
a7957df Fixes broken request listeners (#12056)
d5dbae8 Exclude external classes and FutureAccess
b4fc9bc Define LegacyPropertyToStringMode parameter strings in the enum (#11970)
7fb8080 Don't attempt to run microbenchmarks as unit tests (#8759)
3067b23 DebugWindow sections now use previously empty areas to describe the functionality, for #12058
28f72b6 Highlight on server when highlighting on client, for #12058
86e1a31 VUIDLBrowser no longer requires shift-click to 'highlight component on server', open recursively changed to 'alt-click', for #12058
76b9cd1 DebugWindow styles improved and structured more, for #12058
1befbeb Test using Glassfish 4 (#12075)
78af0eb Specified supported server versions and added Glassfish 4 (#12075)
ad9c350 Fixed test issues with type=null (#11895)
8c4800a Updated to atmosphere 1.0.14-vaadin1
2d54adf Highlight on server was still spamming in one instance, for #12058
0754158 Rename getCommunicationMethod -> getCommunicationMethodName (#12019)
8669f6a Actually compile an IE10 permutation (#12080)
47c199f Add 'transport' GET parameter to AbstractTestUI (#12094)
b637ab5 Reinitialize pendingAccessQueue after deserialization (#12097)

Change-Id: Ie664f5c7ec4be2d4841d8b659d6a3ecd0c11624d

11 years agoEnable using @Stylesheet with vaadin:// (#9934)
Artur Signell [Tue, 18 Jun 2013 18:22:09 +0000 (21:22 +0300)]
Enable using @Stylesheet with vaadin:// (#9934)

Change-Id: I895fad31ef5b31a395cea95e64d6b183d718056f

11 years agoReinitialize pendingAccessQueue after deserialization (#12097)
Johannes Dahlström [Tue, 18 Jun 2013 15:54:31 +0000 (18:54 +0300)]
Reinitialize pendingAccessQueue after deserialization (#12097)

Change-Id: I5e6d192093f19df1a07e95dff643babd6f532426

11 years agoAdd 'transport' GET parameter to AbstractTestUI (#12094)
Johannes Dahlström [Tue, 18 Jun 2013 09:31:12 +0000 (12:31 +0300)]
Add 'transport' GET parameter to AbstractTestUI (#12094)

* Value can be 'xhr', 'websocket', or 'streaming'
* xhr disables push even if already enabled
* others set push to automatic if not already set to manual

Change-Id: Iaf929bbb78865fa7d832718841e781e76cdf7277

11 years agoActually compile an IE10 permutation (#12080)
Artur Signell [Fri, 14 Jun 2013 21:17:12 +0000 (00:17 +0300)]
Actually compile an IE10 permutation (#12080)

Change-Id: I4da4ef6dbbdf9fccfd3e8bf8d302365a3398d9de

11 years agoRename getCommunicationMethod -> getCommunicationMethodName (#12019)
Artur Signell [Fri, 14 Jun 2013 12:26:21 +0000 (15:26 +0300)]
Rename getCommunicationMethod -> getCommunicationMethodName (#12019)

Change-Id: I74743548e186a8faff52d2aed3888dbec53087ad

11 years agoHighlight on server was still spamming in one instance, for #12058
Marc Englund [Fri, 14 Jun 2013 11:55:38 +0000 (14:55 +0300)]
Highlight on server was still spamming in one instance, for #12058

Change-Id: Ic704c86913ed0ddd30c15b1de0debfc0f7ee8bf7

11 years agoUpdated to atmosphere 1.0.14-vaadin1
Artur Signell [Fri, 14 Jun 2013 08:42:37 +0000 (11:42 +0300)]
Updated to atmosphere 1.0.14-vaadin1

Change-Id: I758ec93ce6eeeef023811f754e67eed122c510d9

11 years agoFixed test issues with type=null (#11895)
Artur Signell [Fri, 14 Jun 2013 10:20:00 +0000 (13:20 +0300)]
Fixed test issues with type=null (#11895)

Change-Id: I1618191f534ef75048dbae95564ef30a320114a4

11 years agoSpecified supported server versions and added Glassfish 4 (#12075)
Artur Signell [Fri, 14 Jun 2013 05:57:34 +0000 (08:57 +0300)]
Specified supported server versions and added Glassfish 4 (#12075)

Change-Id: I1113a1c6133d744ebd9c12e64a3b040855efab27

11 years agoTest using Glassfish 4 (#12075)
Artur Signell [Thu, 13 Jun 2013 19:02:30 +0000 (22:02 +0300)]
Test using Glassfish 4 (#12075)

Change-Id: I09b062642e54b6184a10c4a9446147f9241c3d16

11 years agoDebugWindow styles improved and structured more, for #12058
Marc Englund [Thu, 13 Jun 2013 13:30:14 +0000 (16:30 +0300)]
DebugWindow styles improved and structured more, for #12058

Change-Id: I1a3a821b15d7350b5ebf2e19056854e9124197ea

11 years agoVUIDLBrowser no longer requires shift-click to 'highlight component on server', open...
Marc Englund [Thu, 13 Jun 2013 13:02:35 +0000 (16:02 +0300)]
VUIDLBrowser no longer requires shift-click to 'highlight component on server', open recursively changed to 'alt-click', for #12058

Change-Id: If0a359258c5f123a52a27860a8af2c52726e564c

11 years agoHighlight on server when highlighting on client, for #12058
Marc Englund [Thu, 13 Jun 2013 13:16:06 +0000 (16:16 +0300)]
Highlight on server when highlighting on client, for #12058

Change-Id: Ib109df81f4c56a7204ea01fd97162c323fcd3d3f

11 years agoDebugWindow sections now use previously empty areas to describe the functionality...
Marc Englund [Thu, 13 Jun 2013 13:25:45 +0000 (16:25 +0300)]
DebugWindow sections now use previously empty areas to describe the functionality, for #12058

Change-Id: I7cef423b8c4f991d40ad013022cc4f36879cd6dc

11 years agoDon't attempt to run microbenchmarks as unit tests (#8759)
Leif Åstrand [Fri, 14 Jun 2013 07:04:59 +0000 (10:04 +0300)]
Don't attempt to run microbenchmarks as unit tests (#8759)

Change-Id: I31349fb7eb0bf0f4b8acae59da663b9a0d24ff62

11 years agoDefine LegacyPropertyToStringMode parameter strings in the enum (#11970)
Leif Åstrand [Fri, 14 Jun 2013 06:58:20 +0000 (09:58 +0300)]
Define LegacyPropertyToStringMode parameter strings in the enum (#11970)

Change-Id: Ia6a0b5f63ef1290a2054307e5dd2d34f6628fa64

11 years agoExclude external classes and FutureAccess
Artur Signell [Thu, 13 Jun 2013 20:24:28 +0000 (23:24 +0300)]
Exclude external classes and FutureAccess

Change-Id: I3933ed784c2981664f5c3ff226c3ad9f6310ca5f

11 years agoFixes broken request listeners (#12056)
Artur Signell [Thu, 13 Jun 2013 19:50:29 +0000 (22:50 +0300)]
Fixes broken request listeners (#12056)

Change-Id: I432d901ea3a0d0e3013c045a2048489ee0a41695

11 years agoCorrected fix and better error checking for action/event request (#12056)
Artur Signell [Thu, 13 Jun 2013 15:31:59 +0000 (18:31 +0300)]
Corrected fix and better error checking for action/event request (#12056)

Change-Id: I85e8fff753baba2d0c373f235ddf74d0d2a97ed3

11 years agoMerge changes from origin/7.1
Leif Åstrand [Thu, 13 Jun 2013 19:38:42 +0000 (22:38 +0300)]
Merge changes from origin/7.1

da0a112 Merge changes from origin/7.0
6ba8938 Restore legacyPropertyToString value parsing logic (#11970)
d5c0ffa Fix NPE when converting null values (#11895)
2aa3096 Avoid string casing problems (#11970)
0f107f3 Update widgetset template (#12053)
eb64fda Add support for rem units (#11279)
5f66766 Using StringTokenizer instead of String.split() in AbstractComponent (#8759)
15b217d Handle push disconnections and reconnections more reliably (#11831, #11922)
47addab Adding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails (#11168)
0aa5907 Do not write 404 as a response to all action/event requests (#12056)
55ebe13 Detach and attach when adding or removing the caption wrapper (#11708)
7830af2 Fix GridLayout resize after removing caption (#12011)
53e3a25 DebugWindow resize/move improved, fixes #11937 (also implements shift-resize and alt-move, improves bounds-check)
f2b2ce9 Updated to Smartsprites 0.2.10 (#12069)
29c9b60 SimpleTree styling changed for #12058
da8382d DebugWindow now remembers open tab/section, InfoSection fixed to support being opened at once, for #12058
4f5bcef Info tab is now tab 1, hierarchy tab 2
a089743 Consistently recover from disconnections in IE (#12073)
59103a9 Always notify parent of enable state changes (#12062)
997e9a9 Fixed test issue apparently caused by three levels of classes
54ffbdb Add missing license header

Change-Id: Ifba747964fa0d8265bb468ca555b84dadec9fa0a

11 years agoAdd missing license header
Artur Signell [Thu, 13 Jun 2013 17:25:47 +0000 (20:25 +0300)]
Add missing license header

Change-Id: I3af5965a38499f7cf4bc924746fd5c918cc24d5b

11 years agoFixed test issue apparently caused by three levels of classes
Artur Signell [Thu, 13 Jun 2013 17:12:53 +0000 (20:12 +0300)]
Fixed test issue apparently caused by three levels of classes

Change-Id: I4985e39257d55eada134f340fb9981285c9bb26f

11 years agoAlways notify parent of enable state changes (#12062)
Artur Signell [Thu, 13 Jun 2013 13:10:03 +0000 (16:10 +0300)]
Always notify parent of enable state changes (#12062)

Change-Id: I30ee9a968050301d79c5073a62d85390652f76a9

11 years agoConsistently recover from disconnections in IE (#12073)
Johannes Dahlström [Thu, 13 Jun 2013 14:54:07 +0000 (17:54 +0300)]
Consistently recover from disconnections in IE (#12073)

Change-Id: Ia65bc9238b712d69ba91b7a7a3fad8c57c4eddce

11 years agoInfo tab is now tab 1, hierarchy tab 2
Artur Signell [Thu, 13 Jun 2013 13:51:19 +0000 (16:51 +0300)]
Info tab is now tab 1, hierarchy tab 2

Change-Id: I24f349d5fefff3239eb1687e7321e97e2c8a0e96

11 years agoDebugWindow now remembers open tab/section, InfoSection fixed to support being opened...
Marc Englund [Thu, 13 Jun 2013 13:23:13 +0000 (16:23 +0300)]
DebugWindow now remembers open tab/section, InfoSection fixed to support being opened at once, for #12058

Change-Id: I5aea59d747d7a94303b691271035e7510b0afc21

11 years agoSimpleTree styling changed for #12058
Marc Englund [Thu, 13 Jun 2013 13:10:51 +0000 (16:10 +0300)]
SimpleTree styling changed for #12058

Change-Id: Ie521b4ba9362a8f46619bd675018bfbe9f2574ac

11 years agoUpdated to Smartsprites 0.2.10 (#12069)
Artur Signell [Thu, 13 Jun 2013 12:18:36 +0000 (15:18 +0300)]
Updated to Smartsprites 0.2.10 (#12069)

Change-Id: Ice1ef6a6ac837f0ef07b65de1bd46c3a4427780c

11 years agoDebugWindow resize/move improved, fixes #11937 (also implements shift-resize and...
Marc Englund [Wed, 12 Jun 2013 08:34:33 +0000 (11:34 +0300)]
DebugWindow resize/move improved, fixes #11937 (also implements shift-resize and alt-move, improves bounds-check)

Change-Id: Ic313e545940a6073e30171a610f6d02c38a90037

11 years agoFix GridLayout resize after removing caption (#12011)
Patrik Lindström [Thu, 13 Jun 2013 14:03:44 +0000 (17:03 +0300)]
Fix GridLayout resize after removing caption (#12011)

Change-Id: Ieda9b23a1cbf6700cc7438d0b404c3229dd27ed8

11 years agoDetach and attach when adding or removing the caption wrapper (#11708)
Leif Åstrand [Thu, 13 Jun 2013 07:29:57 +0000 (10:29 +0300)]
Detach and attach when adding or removing the caption wrapper (#11708)

Change-Id: Ie6de4863587189ef1105cc41211b224c126f6ebd

11 years agoDo not write 404 as a response to all action/event requests (#12056)
Artur Signell [Thu, 13 Jun 2013 06:45:10 +0000 (09:45 +0300)]
Do not write 404 as a response to all action/event requests (#12056)

Change-Id: I2b820396fc1ccfeb0eefec4456f920a410068ec2

11 years agoAdding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails (#11168)
Fabian Lange [Wed, 12 Jun 2013 13:44:46 +0000 (15:44 +0200)]
Adding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails (#11168)

The information is available from VBrowser and just not exposed via WebBrowser (while isLinux, isMacOSX and isWindows are).

Change-Id: I2fd6133f404cb3e1b4fadb93075fda012f70adb6

11 years agoHandle push disconnections and reconnections more reliably (#11831, #11922)
Johannes Dahlström [Wed, 12 Jun 2013 11:16:57 +0000 (14:16 +0300)]
Handle push disconnections and reconnections more reliably (#11831, #11922)

Client-side:

* Call onOpen() also after a successful reconnection
* Reliably call onClose() and try to reconnect after disconnection
* Don't try to reconnect if !isApplicationRunning() after push
* Queue messages while trying to reconnect (state CONNECT_PENDING)

Server-side:

* Implement AtmosphereResourceEventListener.onDisconnect()
* Push marked as pending until client reconnects (if ever)

Change-Id: I1783eb72eb7005b07cae786d8ec8371da3903108

11 years agoUsing StringTokenizer instead of String.split() in AbstractComponent (#8759)
Fabian Lange [Mon, 10 Jun 2013 09:12:20 +0000 (11:12 +0200)]
Using StringTokenizer instead of String.split() in AbstractComponent (#8759)

Avoids wasteful creation and parsing of regular expressions, which are not required here.

Change-Id: I247088fbfc4eca6c2500bd6b4da9afc9d66d0a51

11 years agoAdd support for rem units (#11279)
Leif Åstrand [Wed, 12 Jun 2013 12:14:09 +0000 (15:14 +0300)]
Add support for rem units (#11279)

Change-Id: Id6b6402b22956cd96b86cef86f11088e959dc05d

11 years agoUpdate widgetset template (#12053)
Henri Sara [Wed, 12 Jun 2013 08:46:23 +0000 (11:46 +0300)]
Update widgetset template (#12053)

Change-Id: I8444139c9ed7d2bb3a8dd7c967cccf14d9038b27

11 years agoAvoid string casing problems (#11970)
Leif Åstrand [Wed, 12 Jun 2013 08:50:05 +0000 (11:50 +0300)]
Avoid string casing problems (#11970)

Change-Id: Id5c1f496bcd754e1c7e16e0df0d451d9a0bf054e

11 years agoFix NPE when converting null values (#11895)
Artur Signell [Wed, 12 Jun 2013 07:25:28 +0000 (10:25 +0300)]
Fix NPE when converting null values (#11895)

Change-Id: Ia2f7f3b0063f3966a816f8afbed11df22d595fc8

11 years agoRestore legacyPropertyToString value parsing logic (#11970)
Leif Åstrand [Wed, 12 Jun 2013 08:11:08 +0000 (11:11 +0300)]
Restore legacyPropertyToString value parsing logic (#11970)

Change-Id: If9d46577e4d59999f35fcf6478d06652ac80468a

11 years agoMerge changes from origin/7.0
Artur Signell [Wed, 12 Jun 2013 06:39:16 +0000 (09:39 +0300)]
Merge changes from origin/7.0

02da730 Merged testbench test for #7110 from 6.8 (fix not needed for 7.0)

Change-Id: I4a53d5a1fed3018c8cdda5b1aa88715e911ed112

11 years agoMerge changes from origin/7.1
Leif Åstrand [Wed, 12 Jun 2013 06:14:10 +0000 (09:14 +0300)]
Merge changes from origin/7.1

9100cfc Do not rely on broken javadoc features for default values (#11970)
fad7bf7 Remove DEFAULT constant as an annotation enum cannot use it (#11966)
1f14422 Merge changes from origin/7.0
9b38072 Exclude provided portal-service from all zip (#9823)
8f4add9 Fixed button highlighting when dragging #10917
8eb567e Make UI.pushConnection transient to prevent null resource after deserialization (#11809)
9efd4d6 Fixed test issues
1b0a214 Pass ConversionException to getConversionError (#11960)
bca14c0 Correctly report theme version in the debug window (#11442)
f9bffed Fix for NPE in debug window in IE (#12015)
da29e2b Fixed serialization issues
a5ec937 Info section for the debug window (#12019)
d6fca78 Fix race condition in upload with push (#10214)
e7201fd Allow using element resize listeners from javascript connectors (#11996)
e853280 Print warning if in production mode and theme compilation is required (#12031)
d9becf9 Use vaadin-atmosphere without slf4j dependency (#11765)
37bc9e4 Reformatted using Ant editor (#12040)
5adb5c2 Include compatibility web.xml in uitest.war (#11688)
424af57 Move ClientConnector.setParent to Component and Extension (#11777)
074d7b3 Fixed incorrect line breaks (#12040)
2cada0b Reformatted release notes using Eclipse (4 spaces)
a0182a0 Updated release notes for 7.1.0 (#11993, #11991, #11870)
5793a1c Make VaadinServlet use enclosing UI class by default (#12039)
3d9d47d Added type parameter to converter methods (#11895)
ecc2de3 Removed dead code

Change-Id: I68ad269dc46ac03d7285b92e0ebdcd3eda059629

11 years agoMerge commit 'a9ff7993c2f0e3f3412ef68a236aa2eb02385c64'
Leif Åstrand [Wed, 12 Jun 2013 06:13:17 +0000 (09:13 +0300)]
Merge commit 'a9ff7993c2f0e3f3412ef68a236aa2eb02385c64'

Conflicts:
server/src/com/vaadin/ui/UI.java

Change-Id: I5919e3138b6eacde6b3db843f5f05425b30d7b99

11 years agoRemoved dead code
Artur Signell [Fri, 7 Jun 2013 11:15:44 +0000 (14:15 +0300)]
Removed dead code

Change-Id: Iad8cc7a59389e2816088d542a7ca53a4b8cec72e

11 years agoAdded type parameter to converter methods (#11895)
Artur Signell [Mon, 10 Jun 2013 17:01:40 +0000 (20:01 +0300)]
Added type parameter to converter methods (#11895)

Change-Id: I6562c537d9e5a0745eb67bc613123a265578ae00

11 years agoMake VaadinServlet use enclosing UI class by default (#12039)
Leif Åstrand [Tue, 11 Jun 2013 10:21:09 +0000 (13:21 +0300)]
Make VaadinServlet use enclosing UI class by default (#12039)

Change-Id: Ica2b9b9d82ef6d683cb51f3478a07e57cbfa28e5

11 years agoUpdated release notes for 7.1.0 (#11993, #11991, #11870)
Artur Signell [Tue, 11 Jun 2013 06:55:16 +0000 (09:55 +0300)]
Updated release notes for 7.1.0 (#11993, #11991, #11870)

Change-Id: I6ea0fec8896138d2a4b0e02908217c2fa3d8505f

11 years agoReformatted release notes using Eclipse (4 spaces)
Artur Signell [Tue, 11 Jun 2013 06:40:26 +0000 (09:40 +0300)]
Reformatted release notes using Eclipse (4 spaces)

Change-Id: Iafebc7ea313e7dc6f6c7b87c6fdae6c83e82fc41

11 years agoFixed incorrect line breaks (#12040)
Artur Signell [Mon, 10 Jun 2013 17:16:05 +0000 (20:16 +0300)]
Fixed incorrect line breaks (#12040)

Change-Id: Icd97ebd2b54731cf8133b940d024ad8f91c5922f

11 years agoMove ClientConnector.setParent to Component and Extension (#11777)
Artur Signell [Mon, 10 Jun 2013 16:28:57 +0000 (19:28 +0300)]
Move ClientConnector.setParent to Component and Extension (#11777)

Change-Id: I1f0b2597f621160329ddc432869277b2758efd52

11 years agoInclude compatibility web.xml in uitest.war (#11688)
Artur Signell [Mon, 10 Jun 2013 17:31:35 +0000 (20:31 +0300)]
Include compatibility web.xml in uitest.war (#11688)

Change-Id: I4f500e37ef7b96e103d66c40fba152299516a55f

11 years agoReformatted using Ant editor (#12040)
Artur Signell [Mon, 10 Jun 2013 17:15:35 +0000 (20:15 +0300)]
Reformatted using Ant editor (#12040)

Change-Id: If8afd65d5905302c64f12ef7f76ee7e63073c474

11 years agoUse vaadin-atmosphere without slf4j dependency (#11765)
Artur Signell [Mon, 10 Jun 2013 11:18:33 +0000 (14:18 +0300)]
Use vaadin-atmosphere without slf4j dependency (#11765)

Change-Id: I78f5dda87957452670c3d86d960b0683c67eb77d

11 years agoPrint warning if in production mode and theme compilation is required (#12031)
Artur Signell [Mon, 10 Jun 2013 12:10:29 +0000 (15:10 +0300)]
Print warning if in production mode and theme compilation is required (#12031)

Change-Id: I59030e7c0133d790f145d31f1614b7e8aaf7c04d

11 years agoAllow using element resize listeners from javascript connectors (#11996)
Leif Åstrand [Thu, 6 Jun 2013 09:01:37 +0000 (12:01 +0300)]
Allow using element resize listeners from javascript connectors (#11996)

Change-Id: I97b280c2e260752be87ce85d2eda81ec4f14d4fe

11 years agoMerge changes from origin/7.1
Leif Åstrand [Fri, 7 Jun 2013 11:12:41 +0000 (14:12 +0300)]
Merge changes from origin/7.1

2772641 OSGi support for vaadin-push (#11691)
42c4b20 Use "\0" instead of "|" as a push message delimiter (#11692)
778de06 Derive current servlet/portlet from the current service (#11779)
f8fb8b7 Upgrade to Atmosphere 1.0.13 (#11861)
fea4c5e Don't build and publish sources for package without source files
6a7683b Disable Atmosphere version number check (#11890)
ebb92e6 Improve error message if vaadinPush.js failed to load (#11673)
70131cd Extracted common code for number conveters to abstract super class (#11900)
0b63506 Fixed order of parameters in javadoc (#11158)
6bf83a4 Modified the logic in setPropertyDatasource which determines if a new converter is needed (#11863)
53a9c11 Fix TestingPushConnection.init signature (#11673)
05ef43f Updated client-compiler to depend on client-compiler-deps 1.0.2 #11879
9686323 Added isInitialStateChange to StateChangeEvent (#10477)
7cced5e Fixed test which had never passed
ada3311 Avoid creating an instance of every view while searching for the correct view (#11722)
5b35dd9 Added text file encoding and line delimiter info (#11907)
f8c4f99 Prevent spurious "Could not determine ApplicationConnection" error when using the debug window
8a42394 Fixed locators in test (aria div conflict)
6de01ac Fix text / javascript mismatch issue in Chrome (#11275)
f7f1e3e Added Java Date to Sql Date converter to better support sql dates (#11224)
2882cf9 Added Serializable where missing and ignore classes which do not need Serializable
4d7f190 Make access() enqueue the runnable if the session is locked (#11897)
4c2b86d Stop using PlaceHolder widgets in VTabsheet (#11026)
87018cd Add missing license header
cb1f63b Send window mode changes to the server immediately (#11737)
e52df7c Added ComponentConnector.isAttached (#11928)
2b5ba96 Define how CurrentInstance works with access() (#11897)
d345838 Remove ThreadLocal references from CurrentInstance (#11914)
bb7b404 Remove outdated testing (#11897)
f64d944 Merge "event not reported as target when context clicking in month view" to Vaadin 7.1 (#10217)
51c9fb5 Fix debug window SEVERE style, add styles for FINE, FINER and FINEST (#11891)
3b888fe Support nested SASS imports (#11909)
b2137f5 Ensure calendar panel is updated when range changes (#11940)
f8319eb Avoid deadlock checking in runPendingAccessTasks() (#11897)
51a98a3 Moved enums to avoid running them as tests
7c613d1 Exclude parsers from checkstyle as they are generated
35f3532 Fixes current text being overwritten in server update on RTA #11741
a744d21 Remove UI.runSafely and VaadinSession.runSafely (#11901)
84edd19 Make test independent of browser language (#11940)
a3ad62d Updated to custom build of Smartsprites 0.2.10 which includes a fix for SMARTSPRITES-36 (#9959)
a9afca6 Moved Locale data handling to LocaleService (#11378)
5e548ae Fixed javadoc compilation error
91182e2 Extract ProgressBar and deprecate ProgressIndicator (#11925)
a5b8209 Add primary style name support for ProgressBar/Indicator (#9913)
86b3689 Make ProgressInidcatorConnector use VProgressIndicator (#11925)
29fcadc Flush the output writer in case of SSE transport as well (#11955)
5e26b0b Fix streaming issue with iOS6 (#11934)
1b274c4 Limit sub window minimum size (#11510)
46cc08b Remove workarounds for broken Timer.cancel in IE (#11872)
d850db6 Add XML formatting instructions (#11956)
9a3dc4e Formatted XML files using defined rules (#11956)
57b7335 Fixed spelling mistake in API #11741
587e10b Fix stale info in javadoc for accessSynchronously (#11897)
36fd94a Remove IE6/IE7 permutation (#11954)
cccff37 Do not log legacy warnings in JUnit tests (#11963)
0f9b689 Throw exception if VaadinService has not been initialized (#11961)
1ed0980 Move ApplicationConnection.setOverlayContainerLabel to VOverlay (#11965)
0014563 Extracted dialog style to a separate block (#11734)
b82e60b Add missing dialog maximize/restore icons for Runo (#11734)
0d046d6 Add a separate debug window section for profiler output (#11950)
03830ae Ignore style resource that has already been added (#11667)
84bf5a7 Enabled drag & drop to Calendar #11048
6c36784 Merge commit '34e6c60a5a746c0306c3a84ae8d6c21dfd84d878' into 7.1
a82d57e Merge changes from origin/7.0
666dbb5 Use window.console instead of just console in vaadinPush to appease IE (#11980)
93751c1 Use correct day names when formatting dates (#6207)
19d0082 Fixed javadoc references
e6e752d Correctly decode summaries containing quotes (#11769)
54ed269 Log stack trace using fine when logging toString warnings
8d655f6 Move VaadinSession.runPendingAccessTasks to VaadinService (#11964)
b1ab27a Update broadcaster tutorial code
e63edcc Update deprecation javadoc for VaadinSession.getBrowser()
132eee5 Add @VaadinServletConfiguration (#11970)
aa99259 Send connector debug (highlight) using RPC (#11536)
6d4582e Change analyze layouts to use RPC (#11536)
6f912b1 Rename tests so they are run during build (Abstract* is ignored)
ebd4a5c Added missing rpc interface (#11536)
edca409 Allow customizing client-side push config on server side (#11867)
b0574f7 Add transport parameter to @Push (#11966)

Change-Id: I4670c783fec829f81890e2d645d93dd40860b909

11 years agoEscape \ in commit messages
Leif Åstrand [Fri, 7 Jun 2013 11:03:50 +0000 (14:03 +0300)]
Escape \ in commit messages

Change-Id: I1c5773dd593d7877833a5b1798f3e812b53a1b1e

11 years agoIgnore changes merged from the previous maintenance branch
Leif Åstrand [Fri, 7 Jun 2013 09:13:43 +0000 (12:13 +0300)]
Ignore changes merged from the previous maintenance branch

Change-Id: I16a203db76fd6dc7e091a2b2708f80b9d4cef079

11 years agoFix race condition in upload with push (#10214)
Artur Signell [Thu, 6 Jun 2013 16:18:28 +0000 (19:18 +0300)]
Fix race condition in upload with push (#10214)

If the upload finishes before the poll timer is fired on the client side then the client will poll forever with the wrong id

Change-Id: I11cad8e978a8499a4fddb9e8bfe7f6c4326f98f5

11 years agoInfo section for the debug window (#12019)
Artur Signell [Fri, 7 Jun 2013 07:01:17 +0000 (10:01 +0300)]
Info section for the debug window (#12019)

Change-Id: Ie265c6e994c8038a3dc0bb05b94233bbc2506c58

11 years agoFixed serialization issues
Artur Signell [Thu, 6 Jun 2013 21:29:12 +0000 (00:29 +0300)]
Fixed serialization issues

Change-Id: I5dc1f2dc061c4b6bb6d00040b972802df97d3f89

11 years agoFix for NPE in debug window in IE (#12015)
Artur Signell [Thu, 6 Jun 2013 20:46:34 +0000 (23:46 +0300)]
Fix for NPE in debug window in IE (#12015)

Change-Id: I74fb57d60f1cdaf85aaacff36093f9f3d640d538

11 years agoCorrectly report theme version in the debug window (#11442)
Artur Signell [Thu, 6 Jun 2013 20:48:25 +0000 (23:48 +0300)]
Correctly report theme version in the debug window (#11442)

* Adds a special v-vaadin-version selector for detecting the theme version
* The version in the base theme is replaced during build (for releases) and by the current version also when compiling in the IDE

Change-Id: Id6b94ab2edead61602fed021b7152f6e46be809f

11 years agoPass ConversionException to getConversionError (#11960)
Artur Signell [Fri, 31 May 2013 06:56:58 +0000 (09:56 +0300)]
Pass ConversionException to getConversionError (#11960)

Change-Id: I6a25c4e4bfd9fe73f973670583c708503f77f60a

11 years agoFixed test issues
Artur Signell [Thu, 6 Jun 2013 21:32:36 +0000 (00:32 +0300)]
Fixed test issues

Change-Id: Iebf44d7bff598248fe1cda138ac1d8b4100775ba

11 years agoMake UI.pushConnection transient to prevent null resource after deserialization ...
Johannes Dahlström [Wed, 5 Jun 2013 13:20:27 +0000 (16:20 +0300)]
Make UI.pushConnection transient to prevent null resource after deserialization (#11809)

* PushConnection is not Serializable anymore
* AtmospherePushConnection fields are not transient
* UI.setSession calls setPushConnection(null) instead of pushConnection.disconnect()
* pushConnection.disconnect() asserts isConnected()
* If UI has a push connection, it should now always have isConnected() == true

Change-Id: I3c2e877b8e723b7cc2993cacd620920aecdef5fb

11 years agoFixed button highlighting when dragging #10917
John Ahlroos [Thu, 6 Jun 2013 12:21:11 +0000 (15:21 +0300)]
Fixed button highlighting when dragging #10917

Change-Id: I69ff2c5a987e26d5d065f7c5a7ac45f9d6fa289a

11 years agoExclude provided portal-service from all zip (#9823)
Artur Signell [Thu, 6 Jun 2013 08:06:44 +0000 (11:06 +0300)]
Exclude provided portal-service from all zip (#9823)

Change-Id: Ic08885d74f382547aabf4a394265c2094d884cd5

11 years agoMerged testbench test for #7110 from 6.8 (fix not needed for 7.0) 7.0 7.0.7
John Ahlroos [Wed, 5 Jun 2013 11:01:00 +0000 (14:01 +0300)]
Merged testbench test for #7110 from 6.8 (fix not needed for 7.0)

Change-Id: I14e02a02d77420e601ec5f98d70453fa85f1a473
svn: http://dev.vaadin.com/changeset/0000025944/svn

11 years agoMerge changes from origin/7.0
Artur Signell [Wed, 5 Jun 2013 16:15:49 +0000 (19:15 +0300)]
Merge changes from origin/7.0

892b8ba Do not submit TextArea value on enter in IE (#11982)
bd3f975 Properly disable combobox when parent is disabled (#10734)
1b85e59 Added missing import (#11982)
3c8a3bf Merge of properly focus clicked input element in Webkit (#11854, #11297)
d647d7a Ensure VBrowserFrame content is unloaded in IE (#11683)
08ba394 Disable drag&drop when source or target component is disabled, re-implementation of 6.8 fix for #11801
b01427a Change field types from LinkedHashSet back to HashSet to retain binary compatibility (#11432)
14ebd0d Fixed newlines

Change-Id: Icea535d8d5130e013327dd76a194e3910f533332

11 years agoRemove DEFAULT constant as an annotation enum cannot use it (#11966)
Artur Signell [Wed, 5 Jun 2013 15:21:44 +0000 (18:21 +0300)]
Remove DEFAULT constant as an annotation enum cannot use it (#11966)

Change-Id: I41630fec5c40c50a2925499d1f1ba23149ab0de1

11 years agoDo not rely on broken javadoc features for default values (#11970)
Leif Åstrand [Wed, 5 Jun 2013 12:04:25 +0000 (15:04 +0300)]
Do not rely on broken javadoc features for default values (#11970)

Change-Id: Ic904a33e31b54da7c1324c70b792c38ee1b56fac

11 years agoDon't use the broken {@value Type#CONSTANT} pattern in javadocs
Leif Åstrand [Wed, 5 Jun 2013 12:15:53 +0000 (15:15 +0300)]
Don't use the broken {@value Type#CONSTANT} pattern in javadocs

Change-Id: I78f0f6532242bd5d7aa406fe61ccf15d9585fde9

11 years agoAdd transport parameter to @Push (#11966)
Artur Signell [Mon, 3 Jun 2013 20:15:43 +0000 (23:15 +0300)]
Add transport parameter to @Push (#11966)

Change-Id: Ic47e68a41ba407917a990ef82a98c1526a9510ef