]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
11 years agoLoad vaadinPush.js on demand (#11506)
Leif Åstrand [Thu, 18 Apr 2013 13:05:40 +0000 (16:05 +0300)]
Load vaadinPush.js on demand (#11506)

For optimal performance, the script will still be included in the host
HTML if push is enabled when the UI is bootstrapped.

Change-Id: I2245b45434f3097c32fd3580267f692dce3b7649

11 years agoInitial support for toggling push on the fly (#11506)
Leif Åstrand [Thu, 18 Apr 2013 09:35:10 +0000 (12:35 +0300)]
Initial support for toggling push on the fly (#11506)

Still missing is the ability to load vaadinPush.js if it has not yet
been loaded.

Change-Id: Ibe3596c38a7c4e3432b0396072866ee3072e6d30

11 years agoEnsure addon css styles are before scss styles in addons.scss #11390
John Ahlroos [Thu, 18 Apr 2013 09:37:06 +0000 (12:37 +0300)]
Ensure addon css styles are before scss styles in addons.scss #11390

Change-Id: I3737a94f076917cd896bd90e2936a5b752ccd801

11 years agoClean the connector map after pushing (#11624)
Leif Åstrand [Thu, 18 Apr 2013 12:28:41 +0000 (15:28 +0300)]
Clean the connector map after pushing (#11624)

Removing UidlRequestHandler.postHandleRequest should not affect
backwards compatibility as UidlRequestHandler is a new class.

Change-Id: I7f3753b1c3d37afcc973d3e5571c0d1708177bf9

11 years agoSimple speed test for testing roundtrips/s in various browsers
Artur Signell [Wed, 17 Apr 2013 22:08:55 +0000 (01:08 +0300)]
Simple speed test for testing roundtrips/s in various browsers

Change-Id: Id6e96e8d115b02c79038396dfada5c04e0f451ed

11 years agoSeparate generic UI finding and locking from event handling (#11506)
Leif Åstrand [Wed, 17 Apr 2013 08:30:32 +0000 (11:30 +0300)]
Separate generic UI finding and locking from event handling (#11506)

This is one step towards support for toggling push on and off on demand
as that functionality requires accessing the UI e.g. when processing
cancel events.

Also ensures ThreadLocal instances are properly set up when handling
push events.

Change-Id: I8ed6bf3bbee5ede0696ed9017e1d9d84db5936b5

11 years agoMove push mode to UI and add @Push annotation (#11506)
Leif Åstrand [Wed, 17 Apr 2013 08:20:13 +0000 (11:20 +0300)]
Move push mode to UI and add @Push annotation (#11506)

Change-Id: Idc0e5e00a8f3ddd3f56d87484089c290d52715c2

11 years agoRestrict longer padding to IE8 as Chrome fails without the original padding (#11573)
Artur Signell [Wed, 17 Apr 2013 21:52:33 +0000 (00:52 +0300)]
Restrict longer padding to IE8 as Chrome fails without the original padding (#11573)

Change-Id: I00742d66052e318a023ed8ec2e3e5afbc7a3199f

11 years agoFixed streaming problem (Atmosphere bug 1027) (#11629)
Artur Signell [Wed, 17 Apr 2013 21:21:22 +0000 (00:21 +0300)]
Fixed streaming problem (Atmosphere bug 1027) (#11629)

Change-Id: I1fa7efbf7261ca4cc14ac993affe567fcd9904ea

11 years agoRun server integration tests with push enabled #11494
John Ahlroos [Tue, 16 Apr 2013 12:20:44 +0000 (15:20 +0300)]
Run server integration tests with push enabled #11494

Change-Id: Iaeac0053372f4606e760925ab0f105193153c3a3

11 years agoBuild a minified version of vaadinPush.js in vaadin-push.jar (#11630)
Artur Signell [Wed, 17 Apr 2013 16:16:59 +0000 (19:16 +0300)]
Build a minified version of vaadinPush.js in vaadin-push.jar (#11630)

* Replaced jquery and jquery.atmosphere.js with original, unmodified versions
* Added vaadinPush.js build target to ide.xml and push/build.xml
* Uses yuicompressor to compress the resulting push javascript

Change-Id: I59ba9c2bbf74e05d10325d38efdb106b638cd8e7

11 years agoPackage Atmosphere javascript files in vaadin-push (#11629)
Artur Signell [Wed, 17 Apr 2013 15:08:38 +0000 (18:08 +0300)]
Package Atmosphere javascript files in vaadin-push (#11629)

Change-Id: Id1beb7f83945478e464eca15a9cc0015d792c8db

11 years agoReplaced Atmosphere portal implementation with the jQuery implementation (#11629)
Artur Signell [Wed, 17 Apr 2013 14:33:16 +0000 (17:33 +0300)]
Replaced Atmosphere portal implementation with the jQuery implementation (#11629)

* jquery-1.7.2.rebased.js and jquery.atmosphere.rebased.js are imported from atmosphere-jquery and updated to use the jQueryVaadin namespace instead of jQuery and $

Change-Id: I1461ac7803e90d2a40b390551023a118ed5dc704

11 years agoAdd PushMode.isEnabled() (#11626)
Leif Åstrand [Wed, 17 Apr 2013 11:25:48 +0000 (14:25 +0300)]
Add PushMode.isEnabled() (#11626)

Change-Id: I416dc73566e2404a6dce35045fc79f9038e8dd5e

11 years agoAdded test for testing push with different transports #11494
John Ahlroos [Wed, 17 Apr 2013 08:46:19 +0000 (11:46 +0300)]
Added test for testing push with different transports #11494

Change-Id: I0296bdee1925ba93ca7e4e65c68215e025d072f6

11 years agoRemove redundant locking (#8894)
Leif Åstrand [Wed, 17 Apr 2013 08:04:42 +0000 (11:04 +0300)]
Remove redundant locking (#8894)

Change-Id: I2a5176fe0c329e66d9e7a87825fc99a03fb5d708

11 years agoFix for WAI-ARIA Button test for IE8 (#11616)
michaelvogt [Wed, 17 Apr 2013 07:41:07 +0000 (10:41 +0300)]
Fix for WAI-ARIA Button test for IE8 (#11616)

Test for empty attribute fails

Change-Id: Id0b992482454daa7c47674e152fb1b414fd4a38d

11 years agoDon't assign PushConnection to UI before it has been connected (#11506)
Leif Åstrand [Mon, 15 Apr 2013 12:26:54 +0000 (15:26 +0300)]
Don't assign PushConnection to UI before it has been connected (#11506)

Change-Id: I728c830d6740f77a200ea69925772924e58f45a4

11 years agoLog message instead of printing to stdout (#11556)
Artur Signell [Wed, 17 Apr 2013 07:25:39 +0000 (10:25 +0300)]
Log message instead of printing to stdout (#11556)

Change-Id: I0b297e2eb48e6c52558745650a18d9c466e4b8c2

11 years agoUse "push" as a keyword in all push related log messages
Artur Signell [Wed, 17 Apr 2013 07:14:54 +0000 (10:14 +0300)]
Use "push" as a keyword in all push related log messages

Change-Id: Ia122959627dc705eb7b6183bc944bca7c690397e

11 years agoFixed invalid log parameter references (#11622)
Artur Signell [Tue, 16 Apr 2013 13:57:19 +0000 (16:57 +0300)]
Fixed invalid log parameter references (#11622)

Change-Id: I93232d6696a5813f9cdad222c43444769ecf2fcf

11 years agoHandle JSONException and InvalidUIDLSecurityKeyException the same way in PushHandler...
Artur Signell [Tue, 16 Apr 2013 13:12:42 +0000 (16:12 +0300)]
Handle JSONException and InvalidUIDLSecurityKeyException the same way in PushHandler and UIDLRequestHandler (#11556)

Change-Id: Ide3a162bd77fb9b2ec3d44ea4422b5841d19eec8

11 years agoSimple test for testing push capabilities #11494
John Ahlroos [Mon, 15 Apr 2013 13:01:51 +0000 (16:01 +0300)]
Simple test for testing push capabilities #11494

Change-Id: I7dc3b861c2fa19bd1cffad93911c525fc5a2d24c

11 years agoUse text/plain instead of application/json (#11610)
Artur Signell [Mon, 15 Apr 2013 13:21:10 +0000 (16:21 +0300)]
Use text/plain instead of application/json (#11610)

Change-Id: Id578d2204f99986b54174022febc3e2d4510a414

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