summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
Commit message (Collapse)AuthorAgeFilesLines
* Simplify and clarify WAI-ARIA API (#11659)michaelvogt2013-04-232-5/+26
| | | | Change-Id: I8daf3f377d4d9f2c2f774781e0c68f550d5c86e0
* Documented that push and pull settings is only for the app developer (#11666)Artur Signell2013-04-221-0/+10
| | | | Change-Id: I6128abbfc6227ee4d86dd65b8073c5ccdea542f0
* Restore Atmosphere version that was accidentally changed (#11506)Leif Åstrand2013-04-221-1/+1
| | | | Change-Id: I99353b7b63ca70b4fa83462c433f7873d805ce3f
* Set PushMode.AUTOMATIC as the default @Push value (#11653)Leif Åstrand2013-04-221-3/+9
| | | | Change-Id: I3db47e1bd87e4e58a404b93a23da24270f764e14
* Load vaadinPush.js on demand (#11506)Leif Åstrand2013-04-191-1/+1
| | | | | | | 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
* Initial support for toggling push on the fly (#11506)Leif Åstrand2013-04-194-19/+79
| | | | | | | Still missing is the ability to load vaadinPush.js if it has not yet been loaded. Change-Id: Ibe3596c38a7c4e3432b0396072866ee3072e6d30
* Clean the connector map after pushing (#11624)Leif Åstrand2013-04-182-14/+1
| | | | | | | Removing UidlRequestHandler.postHandleRequest should not affect backwards compatibility as UidlRequestHandler is a new class. Change-Id: I7f3753b1c3d37afcc973d3e5571c0d1708177bf9
* Separate generic UI finding and locking from event handling (#11506)Leif Åstrand2013-04-181-93/+143
| | | | | | | | | | 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
* Move push mode to UI and add @Push annotation (#11506)Leif Åstrand2013-04-1810-74/+239
| | | Change-Id: Idc0e5e00a8f3ddd3f56d87484089c290d52715c2
* Restrict longer padding to IE8 as Chrome fails without the original padding ↵Artur Signell2013-04-181-2/+7
| | | | | | (#11573) Change-Id: I00742d66052e318a023ed8ec2e3e5afbc7a3199f
* Build a minified version of vaadinPush.js in vaadin-push.jar (#11630)Artur Signell2013-04-172-7/+3
| | | | | | | | * 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
* Replaced Atmosphere portal implementation with the jQuery implementation ↵Artur Signell2013-04-171-2/+2
| | | | | | | | (#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
* Add PushMode.isEnabled() (#11626)Leif Åstrand2013-04-175-9/+5
| | | | Change-Id: I416dc73566e2404a6dce35045fc79f9038e8dd5e
* Remove redundant locking (#8894)Leif Åstrand2013-04-171-9/+4
| | | | Change-Id: I2a5176fe0c329e66d9e7a87825fc99a03fb5d708
* Don't assign PushConnection to UI before it has been connected (#11506)Leif Åstrand2013-04-174-47/+43
| | | | Change-Id: I728c830d6740f77a200ea69925772924e58f45a4
* Log message instead of printing to stdout (#11556)Artur Signell2013-04-171-2/+2
| | | | Change-Id: I0b297e2eb48e6c52558745650a18d9c466e4b8c2
* Fixed invalid log parameter references (#11622)Artur Signell2013-04-162-8/+8
| | | | Change-Id: I93232d6696a5813f9cdad222c43444769ecf2fcf
* Handle JSONException and InvalidUIDLSecurityKeyException the same way in ↵Artur Signell2013-04-169-188/+176
| | | | | | PushHandler and UIDLRequestHandler (#11556) Change-Id: Ide3a162bd77fb9b2ec3d44ea4422b5841d19eec8
* Use text/plain instead of application/json (#11610)Artur Signell2013-04-151-1/+1
| | | | Change-Id: Id578d2204f99986b54174022febc3e2d4510a414
* Consider context root redirect when pathInfo is null (#11552)Leif Åstrand2013-04-151-1/+1
| | | | Change-Id: I752b8de4ff3f7288cc6822bfc5a583caa4f27179
* Add isPushRequest() check to VaadinServletService.isOtherRequest() (#11556)Johannes Dahlström2013-04-154-13/+13
| | | | | | | * 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
* Ignore duplicate ?restartApplication during UI init (#11587)Leif Åstrand2013-04-122-4/+24
| | | | Change-Id: I8d3519bbf0ec47ec66bf08faea15ca00eb45af66
* Make AtmosphereResource field transient (#11512)Leif Åstrand2013-04-122-1/+7
| | | | | | | Also add assert to catch theoretical case when old push connection is still active even though session has been deserialized Change-Id: I5b11a4ef273e36e90d97bfa84bf7e90bc2395fd7
* Fix minor issues raised in #111 code reviewJohannes Dahlström2013-04-111-0/+2
| | | | Change-Id: Ibca25fea1d08e98271e68e3d4703afe5aeaae182
* Use longer padding for streaming requests to avoid IE8 issues (#11573)Leif Åstrand2013-04-111-0/+14
| | | | Change-Id: Ib9fd7634065719146a492318916a4f7a1527e2a0
* Set character encoding before writing any response (#11501)Artur Signell2013-04-111-2/+2
| | | | Change-Id: I2a319d2b970d5d0953ece3717af17057c32f2041
* Implemented poll interval for UI (#11495)Leif Åstrand2013-04-101-0/+34
| | | | Change-Id: Ic56b0123970f18e282c75d67863569ac55c72ea8
* Added SharedUtil for helpers shared by client and serverLeif Åstrand2013-04-102-13/+14
| | | | Change-Id: Ie289e8eefd962631a43f35dbb47fa192fcf60abf
* Don't bind PushConnection API to Atmosphere (#11551)Leif Åstrand2013-04-094-107/+146
| | | | Change-Id: Iaf04069c724a603b15fbf09778d2cec983432272
* Fix missing or invalid copyright headersLeif Åstrand2013-04-093-3/+29
| | | | Change-Id: I75e8713548a93b29fe97ab6e9aaf8cb65ab611be
* Show message for missing Atmosphere or version mismatch (#11499)Leif Åstrand2013-04-092-0/+46
| | | | Change-Id: I05ed55319092248db4a3f2d0975f918c9176a6c6
* Don't initialize PushConnection by default (#11512)Leif Åstrand2013-04-081-1/+1
| | | | Change-Id: I22a7524dd213058fe4a54852a2f3c67e8989b538
* Rendering a Tree with icons fails if no alternate text is given (#11511)michael2013-04-081-1/+2
| | | | Change-Id: I0ce84b77d5c1590988c2b9472bcf820a959cfd62
* Implement range for date field (#6241)johan2013-04-081-0/+175
| | | | Change-Id: I34458f676fede39e1992316cbed8d62193ce8509
* Push if there are dirty connectors, avoid push if there are NOT dirty connectorsArtur Signell2013-04-071-1/+1
| | | | Change-Id: Iebac314565e443eb67d206c755e2d4bb385cffe8
* Global code reformatLeif Åstrand2013-04-0527-14/+88
| | | | Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2
* Do not push only meta data to the client (#11490)Artur Signell2013-04-052-1/+15
| | | | Change-Id: I589ede89583be90e99fbed6fe5c0c6c1ac4d7c0a
* WAI-ARIA functions for Tree (#11389)michaelvogt2013-04-041-0/+51
| | | | | | All to navigate the tree with an assisitve device Change-Id: I531cefc95d7a720caf69aca579549e5a497ad586
* Wrap the atmosphere request instead of reusing an old request which might no ↵Artur Signell2013-04-042-19/+8
| | | | | | longer be available (#11489) Change-Id: I0623b056a657c341ec367d0249e5f66840119f87
* Maximize Restore for Window #3400Pekka Hyvönen2013-04-041-6/+141
| | | | Change-Id: I164ae83bd6cf98f7a3d7e76d8e717a56e8cb5183
* Server push (#111)Johannes Dahlström2013-04-0416-23/+630
| | | | | | | | | | | | | | | | * 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
* Updated javadoc to mention runSafely in addition to the manual locking patternArtur Signell2013-04-031-4/+21
| | | | Change-Id: Ia0ddf6149641b8dc609c5c6e53ad569c5bc9c555
* Write JSON response to a buffer instead of directly to the output stream ↵Artur Signell2013-04-032-33/+52
| | | | | | | | | | (#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
* Reworked fix for ignoring /APP/ (#11192)Artur Signell2013-04-032-10/+1
| | | | | | | | * 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
* Refactored how all requests are handled by VaadinServlet and VaadinPortlet ↵Artur Signell2013-04-0318-570/+658
| | | | | | | | | | | | | (#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
* Added example on how to get time displayed in the browser (#9033)Artur Signell2013-04-031-0/+11
| | | | Change-Id: I349120b3e1ead2428009b7a0d77ec30a775eb34a
* Do not clean connectors before client rpc is sent (#11192, #7891)Artur Signell2013-04-031-6/+5
| | | | Change-Id: I9b0f6f3fb48cad8f870bfa9ccfe99a5725f24b8e
* Integrate Calendar into core #11079John Ahlroos2013-04-0318-0/+4467
| | | | | | Everything else integrated, except TB3 tests (ticket #11090, old TB2 tests used instead) Change-Id: If1700d7680a6c0a45f84d6e3c7b80e6536da78c8
* Implemented changes to CSS injection based on API review #5500John Ahlroos2013-04-031-57/+47
| | | | Change-Id: I2bed5f5a5c3cfc6b97e94cbd218bb06f446c7325
* Enable setting loading indicator delays from the server (#7448)Artur Signell2013-04-032-0/+171
| | | | | | * Refactored LoadingIndicator to a separate class on client side to enable customization and to remove clutter from ApplicationConnection Change-Id: I12e94294beed9c65a5710bdfe2486bc0f1b92bd9