]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
11 years agoFixes test (locator) and quiet mode for DebugWindow #11603
Marc Englund [Mon, 15 Apr 2013 07:45:32 +0000 (10:45 +0300)]
Fixes test (locator) and quiet mode for DebugWindow #11603

Change-Id: If80e903bec9cb4dbd9dc87d0994634f4eaf0b9ae
Ticket: 11603

11 years agoEnabled closure compiler for default widget set (#9103)
Artur Signell [Fri, 12 Apr 2013 10:35:22 +0000 (13:35 +0300)]
Enabled closure compiler for default widget set (#9103)

Change-Id: I3edc50f73635f4529fb25dec1466b8f1d5f5cba6

11 years agoConsider context root redirect when pathInfo is null (#11552)
Leif Åstrand [Fri, 12 Apr 2013 10:22:25 +0000 (13:22 +0300)]
Consider context root redirect when pathInfo is null (#11552)

Change-Id: I752b8de4ff3f7288cc6822bfc5a583caa4f27179

11 years agoAdd isPushRequest() check to VaadinServletService.isOtherRequest() (#11556)
Johannes Dahlström [Fri, 12 Apr 2013 11:31:49 +0000 (14:31 +0300)]
Add isPushRequest() check to VaadinServletService.isOtherRequest() (#11556)

* Prevents VaadinService from creating a new session for push requests
* Also unify behaviour when UI is not found in session (log and return)

Change-Id: Iea0e4ae5e0b5fa81404f688aa6d92d16343ebd26

11 years agoIgnore duplicate ?restartApplication during UI init (#11587)
Leif Åstrand [Fri, 12 Apr 2013 07:44:41 +0000 (10:44 +0300)]
Ignore duplicate ?restartApplication during UI init (#11587)

Change-Id: I8d3519bbf0ec47ec66bf08faea15ca00eb45af66

11 years agoUpdated client compiler deps to 1.0.0 #11590
John Ahlroos [Fri, 12 Apr 2013 09:15:55 +0000 (12:15 +0300)]
Updated client compiler deps to 1.0.0 #11590

Change-Id: I362ee3e84b81c76e193aec2067d4d9f0b6558f7f

11 years agoMake AtmosphereResource field transient (#11512)
Leif Åstrand [Fri, 12 Apr 2013 08:09:02 +0000 (11:09 +0300)]
Make AtmosphereResource field transient (#11512)

Also add assert to catch theoretical case when old push connection is
still active even though session has been deserialized

Change-Id: I5b11a4ef273e36e90d97bfa84bf7e90bc2395fd7

11 years agoFix minor issues raised in #111 code review
Johannes Dahlström [Thu, 11 Apr 2013 15:26:51 +0000 (18:26 +0300)]
Fix minor issues raised in #111 code review

Change-Id: Ibca25fea1d08e98271e68e3d4703afe5aeaae182

11 years agoTestBench test for Button (#11581)
michaelvogt [Thu, 11 Apr 2013 10:47:51 +0000 (13:47 +0300)]
TestBench test for Button (#11581)

Makes sure the WAI-ARIA functions work

Change-Id: If3835f038f5cca009bef678fdfe037d4287ece7e

11 years agoAdded Atmosphere dependencies to the licenses list. #11513
Marko Grönroos [Thu, 11 Apr 2013 10:00:36 +0000 (13:00 +0300)]
Added Atmosphere dependencies to the licenses list. #11513

Change-Id: Ib0f96c2398b6c6759e814cf3c1073191d32a5041

11 years agoUse longer padding for streaming requests to avoid IE8 issues (#11573)
Leif Åstrand [Thu, 11 Apr 2013 10:33:20 +0000 (13:33 +0300)]
Use longer padding for streaming requests to avoid IE8 issues (#11573)

Change-Id: Ib9fd7634065719146a492318916a4f7a1527e2a0

11 years agoSet character encoding before writing any response (#11501)
Artur Signell [Tue, 9 Apr 2013 21:42:54 +0000 (00:42 +0300)]
Set character encoding before writing any response (#11501)

Change-Id: I2a319d2b970d5d0953ece3717af17057c32f2041

11 years agoUpdated release notes for 7.1.0.beta1. #11530
Marko Grönroos [Thu, 11 Apr 2013 08:03:55 +0000 (11:03 +0300)]
Updated release notes for 7.1.0.beta1. #11530

Change-Id: I14814cdcaed7ff065c3f2e09535c026c7feea862

11 years agoFixed problem with fallback on Safari and iOS (#11546)
Artur Signell [Tue, 9 Apr 2013 20:05:53 +0000 (23:05 +0300)]
Fixed problem with fallback on Safari and iOS (#11546)

Change-Id: Iaa07d0500989d21a2c6ea7899bfb13b86f69636d

11 years agoImplemented poll interval for UI (#11495)
Leif Åstrand [Fri, 5 Apr 2013 15:33:55 +0000 (18:33 +0300)]
Implemented poll interval for UI (#11495)

Change-Id: Ic56b0123970f18e282c75d67863569ac55c72ea8

11 years agoAdded SharedUtil for helpers shared by client and server
Leif Åstrand [Fri, 5 Apr 2013 15:32:50 +0000 (18:32 +0300)]
Added SharedUtil for helpers shared by client and server

Change-Id: Ie289e8eefd962631a43f35dbb47fa192fcf60abf

11 years agoFixed test to close windows instead of maximizing them
Artur Signell [Mon, 8 Apr 2013 22:01:48 +0000 (01:01 +0300)]
Fixed test to close windows instead of maximizing them

Change-Id: I4c1bd7d8962f30cf756512e8d8e1f198b9604ec2

11 years agoDon't process push messages until init JSON is processed (#11529)
Leif Åstrand [Wed, 10 Apr 2013 07:21:59 +0000 (10:21 +0300)]
Don't process push messages until init JSON is processed (#11529)

* The test is not running reliably in all browsers, but assuming this is
a symptom of other push issues and not related to this particular bug.

Change-Id: I848b57502aa01467b0f60624cf599247ec76f32f

11 years agoFixed tests to use a real DeploymentConfiguration instance
Artur Signell [Mon, 8 Apr 2013 22:06:33 +0000 (01:06 +0300)]
Fixed tests to use a real DeploymentConfiguration instance

Change-Id: I1c6f74bfcefda7843a55d149a5ecd33ae4c2ebf2

11 years agoFix JSNI syntax (#111)
Leif Åstrand [Tue, 9 Apr 2013 11:35:37 +0000 (14:35 +0300)]
Fix JSNI syntax (#111)

Change-Id: Ia77aedbcad8a5d8ac02eac0399353b90f3f426a5

11 years agoDon't bind PushConnection API to Atmosphere (#11551)
Leif Åstrand [Tue, 9 Apr 2013 09:19:11 +0000 (12:19 +0300)]
Don't bind PushConnection API to Atmosphere (#11551)

Change-Id: Iaf04069c724a603b15fbf09778d2cec983432272

11 years agoFixed one typo and removed one TODO comment
Marc Englund [Tue, 9 Apr 2013 11:39:45 +0000 (14:39 +0300)]
Fixed one typo and removed one TODO comment

Change-Id: I941c308873562a5dec13277959abb7b7fd412b83

11 years agoShow all state properties in the hierarchy section (#11548)
Leif Åstrand [Tue, 9 Apr 2013 08:19:54 +0000 (11:19 +0300)]
Show all state properties in the hierarchy section (#11548)

Change-Id: I91b9a7a25822006c655a36858198be3a16057dac

11 years agoFix missing or invalid copyright headers
Leif Åstrand [Tue, 9 Apr 2013 08:49:20 +0000 (11:49 +0300)]
Fix missing or invalid copyright headers

Change-Id: I75e8713548a93b29fe97ab6e9aaf8cb65ab611be

11 years agoShow message for missing Atmosphere or version mismatch (#11499)
Leif Åstrand [Mon, 8 Apr 2013 10:39:25 +0000 (13:39 +0300)]
Show message for missing Atmosphere or version mismatch (#11499)

Change-Id: I05ed55319092248db4a3f2d0975f918c9176a6c6

11 years agoAdditional push logging (#111)
Artur Signell [Fri, 5 Apr 2013 15:30:46 +0000 (18:30 +0300)]
Additional push logging (#111)

Change-Id: I8f72b1f0e4a691d48b6ea641e48429fbb7f9f033

11 years agoFixed header padding to avoid caption overlap (#3400)
Artur Signell [Fri, 5 Apr 2013 16:55:28 +0000 (19:55 +0300)]
Fixed header padding to avoid caption overlap (#3400)

Change-Id: If12a50a6f50ab502573ff84dcf88a7b9a4f0b5a6

11 years agoFixed broken tests
Artur Signell [Fri, 5 Apr 2013 15:41:52 +0000 (18:41 +0300)]
Fixed broken tests

* Added missing screenshot identifiers
* Removed redundant test
* DebugConsole -> DebugWindow
* Updated test to show why serialization fails
* Fixed problems caused by added maximize button

Change-Id: I5cf76fec7170747120b7243f9693851cd52c12af

11 years agoDon't initialize PushConnection by default (#11512)
Leif Åstrand [Mon, 8 Apr 2013 13:48:04 +0000 (16:48 +0300)]
Don't initialize PushConnection by default (#11512)

Change-Id: I22a7524dd213058fe4a54852a2f3c67e8989b538

11 years agoAdded /run-push to tests to be able to test with push enabled (#11494)
Artur Signell [Fri, 5 Apr 2013 14:43:45 +0000 (17:43 +0300)]
Added /run-push to tests to be able to test with push enabled (#11494)

Change-Id: I5b7ce3406017e02ca7494d95090dbbaf9e3836e1

11 years agoScan for addon styles in server-side only addon jars as well. #11390
John Ahlroos [Mon, 8 Apr 2013 14:13:01 +0000 (17:13 +0300)]
Scan for addon styles in server-side only addon jars as well. #11390

Change-Id: I9c2e6f426d65095631e392780733c408f66474a7

11 years agoAdded push meta module (#11498)
Artur Signell [Fri, 5 Apr 2013 17:52:24 +0000 (20:52 +0300)]
Added push meta module (#11498)

Change-Id: Ia95f4682333656fc34f04e563dc256ef45f987c1

11 years agoRendering a Tree with icons fails if no alternate text is given (#11511)
michael [Sun, 7 Apr 2013 13:35:16 +0000 (16:35 +0300)]
Rendering a Tree with icons fails if no alternate text is given (#11511)

Change-Id: I0ce84b77d5c1590988c2b9472bcf820a959cfd62

11 years agoImplement range for date field (#6241)
johan [Mon, 8 Apr 2013 08:55:44 +0000 (11:55 +0300)]
Implement range for date field (#6241)

Change-Id: I34458f676fede39e1992316cbed8d62193ce8509

11 years agoRequire implementing hasTooltip if there's custom tooltip logic (#11052)
Leif Åstrand [Fri, 5 Apr 2013 10:53:30 +0000 (13:53 +0300)]
Require implementing hasTooltip if there's custom tooltip logic (#11052)

Change-Id: I3038b97d9a7c7e144a325ce87aa849309b9b31c4

11 years agoPush if there are dirty connectors, avoid push if there are NOT dirty connectors
Artur Signell [Sun, 7 Apr 2013 15:29:55 +0000 (18:29 +0300)]
Push if there are dirty connectors, avoid push if there are NOT dirty connectors

Change-Id: Iebac314565e443eb67d206c755e2d4bb385cffe8

11 years agoGlobal code reformat
Leif Åstrand [Fri, 5 Apr 2013 13:53:19 +0000 (16:53 +0300)]
Global code reformat

Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2

11 years agoFixed compilation error
michaelvogt [Thu, 4 Apr 2013 20:01:47 +0000 (23:01 +0300)]
Fixed compilation error

Change-Id: Iec392464f23846c2631be8d1f150292e678861f0

11 years agoFix Profiler call that was accidentally left out when merging #3400
Leif Åstrand [Fri, 5 Apr 2013 13:33:24 +0000 (16:33 +0300)]
Fix Profiler call that was accidentally left out when merging #3400

Change-Id: I5ef3476df3cc0bd41c813fab2cdfa0dc9295d2cb

11 years agoFix typo in debug console (#9626)
Leif Åstrand [Fri, 5 Apr 2013 11:45:19 +0000 (14:45 +0300)]
Fix typo in debug console (#9626)

Change-Id: I3cfa87781643c004c98724467197cba34c61e8c1

11 years agoNew DebugWindow implmentation (internal) fixes #2460 #9626 at least...
Marc Englund [Tue, 19 Mar 2013 15:38:52 +0000 (17:38 +0200)]
New DebugWindow implmentation (internal) fixes #2460 #9626  at least...

Change-Id: I42a72797a214b567d1efc077af8a49bc8cff52b0
Ticket: 9626

11 years agoMaximize/restore icons for Chameleon, Liferay, Runo (#3400)
Artur Signell [Thu, 4 Apr 2013 20:25:10 +0000 (23:25 +0300)]
Maximize/restore icons for Chameleon, Liferay, Runo (#3400)

Change-Id: Ibbeed5b5925442f966841c0f5d2ea3dbfe9007bb

11 years agoDo not push only meta data to the client (#11490)
Artur Signell [Thu, 4 Apr 2013 16:56:15 +0000 (19:56 +0300)]
Do not push only meta data to the client (#11490)

Change-Id: I589ede89583be90e99fbed6fe5c0c6c1ac4d7c0a

11 years agoMade vaadin-server jar not depend on Atmosphere (#11492)
Artur Signell [Thu, 4 Apr 2013 17:43:27 +0000 (20:43 +0300)]
Made vaadin-server jar not depend on Atmosphere (#11492)

Change-Id: Ib57ce4f4336df2806f58a5d65bda61907e76591a

11 years agoUse fallback transport if websockets is not supported by server (#11491
Artur Signell [Thu, 4 Apr 2013 17:34:14 +0000 (20:34 +0300)]
Use fallback transport if websockets is not supported by server (#11491

Applied fix from GitHub Atmosphere project: https://github.com/Atmosphere/atmosphere/commit/367a88d340910ef5fda702d1467fbbba1dec6907

Change-Id: Ieae27cab5a8637886a66f923184b52ce1e0ed661

11 years agoImproved logging to be able to debug push related problems (#111)
Artur Signell [Thu, 4 Apr 2013 17:10:58 +0000 (20:10 +0300)]
Improved logging to be able to debug push related problems (#111)

Change-Id: I630f453891a8a43a4e8ee8d796c9b2c2e0b97254

11 years agoFixed compilation error
Artur Signell [Thu, 4 Apr 2013 20:01:47 +0000 (23:01 +0300)]
Fixed compilation error

Change-Id: I033d9950298f574e2200913a7b1307101bad0878

11 years agoWAI-ARIA functions for Tree (#11389)
michaelvogt [Thu, 21 Mar 2013 08:40:45 +0000 (10:40 +0200)]
WAI-ARIA functions for Tree (#11389)

All to navigate the tree with an assisitve device

Change-Id: I531cefc95d7a720caf69aca579549e5a497ad586

11 years agoWrap the atmosphere request instead of reusing an old request which might no longer...
Artur Signell [Thu, 4 Apr 2013 15:28:38 +0000 (18:28 +0300)]
Wrap the atmosphere request instead of reusing an old request which might no longer be available (#11489)

Change-Id: I0623b056a657c341ec367d0249e5f66840119f87

11 years agoInclude atmosphere javascript files into vaadin-server (#111)
Artur Signell [Thu, 4 Apr 2013 13:51:30 +0000 (16:51 +0300)]
Include atmosphere javascript files into vaadin-server (#111)

Change-Id: Ib5db34e9d09649b72dc824d491f699e4f6b7891b

11 years agoMaximize Restore for Window #3400
Pekka Hyvönen [Thu, 21 Feb 2013 15:04:48 +0000 (17:04 +0200)]
Maximize Restore for Window #3400

Change-Id: I164ae83bd6cf98f7a3d7e76d8e717a56e8cb5183

11 years agoServer push (#111)
Johannes Dahlström [Wed, 27 Feb 2013 12:33:04 +0000 (14:33 +0200)]
Server push (#111)

* Asynchronous bidirectional communication
* Use Atmosphere as a backend
* Use websockets if available, fallback to HTTP streaming
* Push mode (disabled, manual, automatic)
  * Configurable via servlet parameter pushMode
  * Disabled: The default; regular AJAX communication
  * Manual: Need explicit UI.push() call
  * Automatic: push all UIs in session when lock released
* UI.push()
  * Push pending state and RPC to client asynchronously
  * Must hold session lock when invoking

Change-Id: Idb5978ac81f7ff1e66665df4e3f96e29e4c419d4

11 years agoRenamed Calendar tests to be more consistent with other tests (#11079)
Artur Signell [Thu, 4 Apr 2013 09:24:43 +0000 (12:24 +0300)]
Renamed Calendar tests to be more consistent with other tests (#11079)

Change-Id: I3c057c6c6ebf3cad982b5f8d2821b579f7aa57ea

11 years agoFixed issue with IE8 showing loading indicator when it should not (#7448)
Artur Signell [Thu, 4 Apr 2013 09:08:38 +0000 (12:08 +0300)]
Fixed issue with IE8 showing loading indicator when it should not (#7448)

Change-Id: I07fd3f3051d3114e419a3a75a7a102c6ea52ab53

11 years agoUpdated javadoc to mention runSafely in addition to the manual locking pattern
Artur Signell [Wed, 3 Apr 2013 14:45:51 +0000 (17:45 +0300)]
Updated javadoc to mention runSafely in addition to the manual locking pattern

Change-Id: Ia0ddf6149641b8dc609c5c6e53ad569c5bc9c555

11 years agoWrite JSON response to a buffer instead of directly to the output stream (#11424...
Artur Signell [Wed, 3 Apr 2013 13:19:21 +0000 (16:19 +0300)]
Write JSON response to a buffer instead of directly to the output stream (#11424, #11156)

* Allows safe abortion of JSON output and writing a critical notification instead
* Unifies json writing for init request and other UIDL requests
* Ensures headers are written before the response

Change-Id: Idd8acb672aac8716b727701d6c057bbe58f50993

11 years agoReworked fix for ignoring /APP/ (#11192)
Artur Signell [Wed, 3 Apr 2013 15:17:32 +0000 (18:17 +0300)]
Reworked fix for ignoring /APP/ (#11192)

* Fixed potential NPE by using existing helper method
* Pass /APP/ urls also to session handlers as at least GlobalResourceHandler requires it
* Fixed test to test /APP/ instead of /APP

Change-Id: I8d913e6a5509c63f8e47813fce5751f5279ed4fc

11 years agoRefactored how all requests are handled by VaadinServlet and VaadinPortlet (#11192)
Artur Signell [Wed, 27 Mar 2013 12:57:50 +0000 (14:57 +0200)]
Refactored how all requests are handled by VaadinServlet and VaadinPortlet (#11192)

* Handling is now based on a list of RequestHandlers in VaadinService
* Request handling logic has been moved to VaadinService
* Users can customize the list by adding own (service level) request handlers
* For users specific request handlers you can still use the request handlers in VaadinSession
* Deprecated RequestType - all handlers are given the opportunity to handle a request until one of them chooses to handle it. RequestType makes no sense as it does not tell which handler will handle the request.
* Removed serveStaticResource which has never been used

Change-Id: Ia7d088535e46430ca8adf631d3f1dd944b9d51e2

11 years agoFix for CheckBox and Layout (#11407)
michaelvogt [Wed, 3 Apr 2013 11:12:42 +0000 (14:12 +0300)]
Fix for CheckBox and Layout (#11407)

Change in CheckBoxConnector led to wrong enabled behaviour and addition
to top coordinate to prevent scrollbars with VPopupCalendar

Change-Id: I381ab7c8a605535280ae58716181ef4c346997f7

11 years agoAdded example on how to get time displayed in the browser (#9033)
Artur Signell [Mon, 25 Mar 2013 21:53:48 +0000 (23:53 +0200)]
Added example on how to get time displayed in the browser (#9033)

Change-Id: I349120b3e1ead2428009b7a0d77ec30a775eb34a

11 years agoDo not clean connectors before client rpc is sent (#11192, #7891)
Artur Signell [Wed, 3 Apr 2013 10:27:39 +0000 (13:27 +0300)]
Do not clean connectors before client rpc is sent (#11192, #7891)

Change-Id: I9b0f6f3fb48cad8f870bfa9ccfe99a5725f24b8e

11 years agoIntegrate Calendar into core #11079
John Ahlroos [Wed, 27 Mar 2013 14:33:28 +0000 (16:33 +0200)]
Integrate Calendar into core #11079

Everything else integrated, except TB3 tests (ticket #11090, old TB2 tests used instead)

Change-Id: If1700d7680a6c0a45f84d6e3c7b80e6536da78c8

11 years agoRemoved unnessesary pixel calculations from AbsoluteLayout #11177
John Ahlroos [Thu, 21 Mar 2013 14:06:34 +0000 (16:06 +0200)]
Removed unnessesary pixel calculations from AbsoluteLayout #11177

Change-Id: Ib3f8b48e5712e895abab159616aa1b2a1ec589c8

11 years agoImplemented changes to CSS injection based on API review #5500
John Ahlroos [Wed, 27 Mar 2013 07:57:40 +0000 (09:57 +0200)]
Implemented changes to CSS injection based on API review #5500

Change-Id: I2bed5f5a5c3cfc6b97e94cbd218bb06f446c7325

11 years agoMerge commit '5d8b1862b63d32070b4084d7e49cae1f4bc66953'
Artur Signell [Wed, 3 Apr 2013 07:23:58 +0000 (10:23 +0300)]
Merge commit '5d8b1862b63d32070b4084d7e49cae1f4bc66953'

Change-Id: I329cab3a4a039cd41486353d41d678abf29cb6a9

11 years agoEnable setting loading indicator delays from the server (#7448)
Artur Signell [Mon, 25 Mar 2013 21:37:45 +0000 (23:37 +0200)]
Enable setting loading indicator delays from the server (#7448)

* Refactored LoadingIndicator to a separate class on client side to enable customization and to remove clutter from ApplicationConnection

Change-Id: I12e94294beed9c65a5710bdfe2486bc0f1b92bd9

11 years agoMade is possible to configure tooltip on the server (#8065)
Artur Signell [Mon, 25 Mar 2013 19:54:36 +0000 (21:54 +0200)]
Made is possible to configure tooltip on the server (#8065)

Change-Id: I35af6df1dfa75ef1de1268eb630fc0f4b9306170

11 years agoFixed minimal (empty hashmap) memory leak on redeploy (#9993)
Artur Signell [Mon, 25 Mar 2013 23:41:48 +0000 (01:41 +0200)]
Fixed minimal (empty hashmap) memory leak on redeploy (#9993)

Change-Id: I2b3f83220070f1f46730d956abb24ba9edf02f20

11 years agoWAI-ARIA field corrections (#11407)
michaelvogt [Mon, 25 Mar 2013 13:46:58 +0000 (15:46 +0200)]
WAI-ARIA field corrections (#11407)

Implementation of suggestions from usage test by an screen reader user

Change-Id: If02512f3d4ee60e3e115023af9d9e600dc11321a

11 years agoShow session expired instead of throwing exception (#4252)
Artur Signell [Tue, 26 Mar 2013 06:54:45 +0000 (08:54 +0200)]
Show session expired instead of throwing exception (#4252)

Change-Id: Ic3ba079d91293fd804c3c95d6cc19fc6e3cf82cc

11 years agoEnable setting default alignment for VerticalLayout, HorizontalLayout, GridLayout...
Artur Signell [Mon, 25 Mar 2013 21:31:19 +0000 (23:31 +0200)]
Enable setting default alignment for VerticalLayout, HorizontalLayout, GridLayout (#11421)

Change-Id: I56b14a6a027dc700748f2bd7219b47e1134bb56a

11 years agoUse updated CurrentInstance API (#9945)
Leif Åstrand [Tue, 2 Apr 2013 08:17:11 +0000 (11:17 +0300)]
Use updated CurrentInstance API (#9945)

Change-Id: I6576c4be4d6c909ce95e8b48904529477ae755f9

11 years agoFixed locking issue in tests
Artur Signell [Tue, 26 Mar 2013 08:51:50 +0000 (10:51 +0200)]
Fixed locking issue in tests

Change-Id: I3706cfa46f82615b8cc677bcaaa207d5ab05bf40

11 years agoExclude ColorPickerPreview as it has no no-arg constructor
Artur Signell [Tue, 26 Mar 2013 09:32:29 +0000 (11:32 +0200)]
Exclude ColorPickerPreview as it has no no-arg constructor

Change-Id: I245aa609b2cce17cd5116be1b80f2b9c437b975d

11 years agoFixed locking and cleaned up error handling in FileUploadHandler (#10569)
Artur Signell [Thu, 21 Mar 2013 11:57:27 +0000 (13:57 +0200)]
Fixed locking and cleaned up error handling in FileUploadHandler (#10569)

Change-Id: I6ed72b866ee4ca28957726f8dbe0bda6316e8685

11 years agoFixed locking problem with serviceException (#10569)
Artur Signell [Thu, 21 Mar 2013 10:49:08 +0000 (12:49 +0200)]
Fixed locking problem with serviceException (#10569)

Change-Id: I363ac3508f558769a79098572cb268cadfc4b1e2

11 years agoFixed locking in RequestHandlers and documented that RequestHandlers are called witho...
Artur Signell [Fri, 22 Mar 2013 15:55:15 +0000 (17:55 +0200)]
Fixed locking in RequestHandlers and documented that RequestHandlers are called without locking (#9945)

* Added SynchronizedRequestHandler which locks the session for the whole request
* Made request handlers which do not do do heavy IO implement SynchronizedRequestHandler
* Fixed locking for GlobalResourceHandler, ConnectorResourceHandler, PublishedFileHandler

Change-Id: I0e7b442a9392828f1930685f194dc4f898d0f525

11 years agoEnsure session is locked during cleanup (#10569)
Artur Signell [Fri, 22 Mar 2013 15:45:26 +0000 (17:45 +0200)]
Ensure session is locked during cleanup (#10569)

* At the same time ensures request timer handling is done while session is locked (#10108)

Change-Id: Ifc36e1ac66d02e25fe98616319c014137bd94c10

11 years agoCorrectly set thread locals when session times out (#11361, #10995)
Artur Signell [Fri, 22 Mar 2013 15:31:26 +0000 (17:31 +0200)]
Correctly set thread locals when session times out (#11361, #10995)

Change-Id: I5051cef344f03af276be24a28471a6d6c15b0da6

11 years agoMoved request start/end handling to VaadinService (#11400)
Artur Signell [Fri, 22 Mar 2013 15:00:54 +0000 (17:00 +0200)]
Moved request start/end handling to VaadinService (#11400)

* VaadinService.requestStart/requestEnd is called for all requests, including static resource requests

Change-Id: Ic19f33f069d0b4f4127fdafc7b5c3a2fa1a3b5dc

11 years agoRedefined UI.runSafely so it throws an exception if session can't be locked (#11219)
Artur Signell [Thu, 28 Mar 2013 14:04:24 +0000 (16:04 +0200)]
Redefined UI.runSafely so it throws an exception if session can't be locked (#11219)

Change-Id: I300bfb25c4040d0df18d3a11594efe2ce6b0679d

11 years agoConvert value if locale changes and field has converter (#11419)
Artur Signell [Mon, 25 Mar 2013 19:53:25 +0000 (21:53 +0200)]
Convert value if locale changes and field has converter (#11419)

Change-Id: Icb33ee2db9e36d4282c19b46203054a2da4abdbd

11 years agoWAI-ARIA button (#11380)
michaelvogt [Wed, 20 Mar 2013 16:09:49 +0000 (18:09 +0200)]
WAI-ARIA button (#11380)

Accessibility functions for Button

Change-Id: I12ddfd8232d4d35135add1cb4406bfdc20b758f2

11 years agoRefactored VaadinPortlet to have same structure as VaadinServlet (#10569)
Artur Signell [Thu, 21 Mar 2013 10:26:41 +0000 (12:26 +0200)]
Refactored VaadinPortlet to have same structure as VaadinServlet (#10569)

Change-Id: Ia012fd3b200a97b394c18dca549d048695b88a43

11 years agoVerify lock is held while updating VaadinSession or connector state (#9515)
Artur Signell [Thu, 21 Mar 2013 08:32:09 +0000 (10:32 +0200)]
Verify lock is held while updating VaadinSession or connector state (#9515)

Change-Id: Iceacb7dae6c4f433ccf747fca5a89514622baba4

11 years agoChanged VaadinSession locking to be based on a session attribute (#8894)
Artur Signell [Thu, 14 Mar 2013 10:43:53 +0000 (12:43 +0200)]
Changed VaadinSession locking to be based on a session attribute (#8894)

Locking of a VaadinSession is now done in VaadinService using the underlying HTTP session. This enables locking of the VaadinSession even before it has been created.

Change-Id: I815d08d1fb74a1d0905c58b190bb10aa2161a834

11 years agoConvenience methods for running code in the UI or VaadinSession context (#11219)
Artur Signell [Fri, 22 Mar 2013 14:15:22 +0000 (16:15 +0200)]
Convenience methods for running code in the UI or VaadinSession context (#11219)

Change-Id: If31a965f925ca2bedb25c712b83ccb070a9e71a0

11 years agoAdded Page.reload (#10250)
Artur Signell [Sun, 24 Mar 2013 14:38:45 +0000 (16:38 +0200)]
Added Page.reload (#10250)

Change-Id: I8ec7edbc370388d8b36a474a8845e846395f26ed

11 years agoRemoved CommunicationManager and PortletCommunicationManager
Johannes Dahlström [Tue, 26 Mar 2013 17:02:51 +0000 (19:02 +0200)]
Removed CommunicationManager and PortletCommunicationManager

* Moved AbstractCommunicationManager abstract methods
  getThemeResourceAsStream and createBootstrapHandler to VaadinService
* Made ACM non-abstract and renamed to LegacyCommunicationManager
* Lifted anonymous inner BootstrapHandler subclasses into named public classes

Change-Id: I31739ce8a506d572e75ca8cd5509be215e01693d

11 years agoRemove synchronous AJAX support (#11254)
Johannes Dahlström [Tue, 5 Mar 2013 13:16:05 +0000 (15:16 +0200)]
Remove synchronous AJAX support (#11254)

SJAX was used in Vaadin 6 only for window close events,
and those are not supported in Vaadin 7.

Change-Id: I3ca7137d5a16252f63051314743e0bee2890caf1

11 years agoFix off-by-one bug preventing all server RPC handling
Johannes Dahlström [Wed, 27 Mar 2013 14:42:21 +0000 (16:42 +0200)]
Fix off-by-one bug preventing all server RPC handling

Change-Id: I2e3e277cb6b385f4713a72129f51c34d8c893995

11 years agoRefactor server-side communications (#11192, #7891)
Johannes Dahlström [Mon, 25 Mar 2013 16:47:09 +0000 (18:47 +0200)]
Refactor server-side communications (#11192, #7891)

* Move UIDL writing from AbstractCommunicationManager to UidlWriter
* Move request handling from ACM to RequestHandlers
* Move server RPC message handling to ServerRpcHandler
* Move portlet event notifications to PortletListenerNotifier (a RequestHandler)
* Communication handlers reside in c.v.server.communication

Change-Id: I087e923dbdf88c6b3fcaafbdb7f685d9d3dad0c1

11 years agoId changed because of id generation for wai-aria
Artur Signell [Mon, 25 Mar 2013 22:44:59 +0000 (00:44 +0200)]
Id changed because of id generation for wai-aria

Change-Id: Ib216994e540d34179fc0e5498e0461bdf82f8794

11 years agoAdded standalone class for creating an addons.scss from Vaadin addons on the classpat...
John Ahlroos [Thu, 21 Mar 2013 12:44:40 +0000 (14:44 +0200)]
Added standalone class for creating an addons.scss from Vaadin addons on the classpath #11390

Change-Id: Ifcdb5c3b267cdf90ca9b981dccef3de6f9481ced

11 years agoRemoved code which calculates size incorrectly (#11395)
Artur Signell [Sun, 24 Mar 2013 13:11:50 +0000 (15:11 +0200)]
Removed code which calculates size incorrectly (#11395)

Change-Id: I2fbe7031ee1d778f8ebe96a8e773113d8529fba9

11 years agoFixed ComponentLocator to be backwards compatible
Artur Signell [Mon, 25 Mar 2013 12:16:59 +0000 (14:16 +0200)]
Fixed ComponentLocator to be backwards compatible

The WAI-ARIA fix (#11180) introduced a new FlowPanel in a PopupDateField popup which is now handled properly.

Change-Id: I192018c95d6d1502e3a50e5c30d4125d467ddf94

11 years agoFixed tree memory leak when removing expanded items from Tree (based on new Filterabl...
John Ahlroos [Thu, 21 Mar 2013 15:09:10 +0000 (17:09 +0200)]
Fixed tree memory leak when removing expanded items from Tree (based on new Filterable API introduced by #11234) #11053

Change-Id: I397124cbfa355417717d2e81bf67b15b202bf16a

11 years agoAdded Container.hasContainerFilters() API #11234
John Ahlroos [Thu, 21 Mar 2013 14:43:31 +0000 (16:43 +0200)]
Added Container.hasContainerFilters() API #11234

Change-Id: I223dbc7a8419a5c4b58321b708e8bd7c8bb8134b

11 years agoMoved CSSInjectWithColorpicker to correct package
John Ahlroos [Thu, 21 Mar 2013 08:52:41 +0000 (10:52 +0200)]
Moved CSSInjectWithColorpicker to correct package

Change-Id: I8b7d283b68da60d236748364cac4c5ac3310f836

11 years agoUnified all portal integration tests to be based on JSR286Portlet (#8013, #9566,...
Artur Signell [Mon, 18 Mar 2013 11:56:56 +0000 (13:56 +0200)]
Unified all portal integration tests to be based on JSR286Portlet (#8013, #9566, #11314)

All portal tests are now based on the same test script. Portal tests avoid Vaadin locators to avoid random problems with the portlet id changing between test runs.

* eXo 3 test must be run on Firefox, does not work in Chrome
* Liferay theme test is now a separate test which does not depend on the Liferay integration test
* Changing to maximized state using an action URL does not work with GateIn or eXo
* The edit mode link does not work in WebLogic Portal as WebLogic feels it is not an allowed mode for the portlet

Change-Id: I7a683688d8ffc611e211f8a60889a34b233b81c9