summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* 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-0535-29/+104
| | | | Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2
* Do not push only meta data to the client (#11490)Artur Signell2013-04-052-1/+15
| | | | Change-Id: I589ede89583be90e99fbed6fe5c0c6c1ac4d7c0a
* Made vaadin-server jar not depend on Atmosphere (#11492)Artur Signell2013-04-051-1/+1
| | | | Change-Id: Ib57ce4f4336df2806f58a5d65bda61907e76591a
* 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
* Include atmosphere javascript files into vaadin-server (#111)Artur Signell2013-04-041-0/+2
| | | | Change-Id: Ib5db34e9d09649b72dc824d491f699e4f6b7891b
* Maximize Restore for Window #3400Pekka Hyvönen2013-04-041-6/+141
| | | | Change-Id: I164ae83bd6cf98f7a3d7e76d8e717a56e8cb5183
* Server push (#111)Johannes Dahlström2013-04-0417-23/+634
| | | | | | | | | | | | | | | | * 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-0320-0/+5039
| | | | | | 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
* Made is possible to configure tooltip on the server (#8065)Artur Signell2013-04-032-0/+251
| | | | Change-Id: I35af6df1dfa75ef1de1268eb630fc0f4b9306170
* Fixed minimal (empty hashmap) memory leak on redeploy (#9993)Artur Signell2013-04-032-9/+171
| | | | Change-Id: I2b3f83220070f1f46730d956abb24ba9edf02f20
* WAI-ARIA field corrections (#11407)michaelvogt2013-04-021-0/+20
| | | | | | Implementation of suggestions from usage test by an screen reader user Change-Id: If02512f3d4ee60e3e115023af9d9e600dc11321a
* Show session expired instead of throwing exception (#4252)Artur Signell2013-04-021-1/+13
| | | | Change-Id: Ic3ba079d91293fd804c3c95d6cc19fc6e3cf82cc
* Enable setting default alignment for VerticalLayout, HorizontalLayout, ↵Artur Signell2013-04-025-1/+181
| | | | | | GridLayout (#11421) Change-Id: I56b14a6a027dc700748f2bd7219b47e1134bb56a
* Use updated CurrentInstance API (#9945)Leif Åstrand2013-04-021-4/+3
| | | | Change-Id: I6576c4be4d6c909ce95e8b48904529477ae755f9
* Fixed locking issue in testsArtur Signell2013-04-0214-21/+61
| | | | Change-Id: I3706cfa46f82615b8cc677bcaaa207d5ab05bf40
* Exclude ColorPickerPreview as it has no no-arg constructorArtur Signell2013-04-021-0/+2
| | | | Change-Id: I245aa609b2cce17cd5116be1b80f2b9c437b975d
* Fixed locking and cleaned up error handling in FileUploadHandler (#10569)Artur Signell2013-04-021-64/+120
| | | | Change-Id: I6ed72b866ee4ca28957726f8dbe0bda6316e8685
* Fixed locking problem with serviceException (#10569)Artur Signell2013-04-022-35/+56
| | | | Change-Id: I363ac3508f558769a79098572cb268cadfc4b1e2
* Fixed locking in RequestHandlers and documented that RequestHandlers are ↵Artur Signell2013-04-0222-177/+333
| | | | | | | | | | 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
* Ensure session is locked during cleanup (#10569)Artur Signell2013-04-022-22/+74
| | | | | | * At the same time ensures request timer handling is done while session is locked (#10108) Change-Id: Ifc36e1ac66d02e25fe98616319c014137bd94c10
* Correctly set thread locals when session times out (#11361, #10995)Artur Signell2013-04-022-10/+147
| | | | Change-Id: I5051cef344f03af276be24a28471a6d6c15b0da6
* Moved request start/end handling to VaadinService (#11400)Artur Signell2013-04-024-126/+94
| | | | | | * VaadinService.requestStart/requestEnd is called for all requests, including static resource requests Change-Id: Ic19f33f069d0b4f4127fdafc7b5c3a2fa1a3b5dc
* Redefined UI.runSafely so it throws an exception if session can't be locked ↵Artur Signell2013-03-312-13/+56
| | | | | | (#11219) Change-Id: I300bfb25c4040d0df18d3a11594efe2ce6b0679d
* Convert value if locale changes and field has converter (#11419)Artur Signell2013-03-312-9/+90
| | | | Change-Id: Icb33ee2db9e36d4282c19b46203054a2da4abdbd
* WAI-ARIA button (#11380)michaelvogt2013-03-281-0/+30
| | | | | | Accessibility functions for Button Change-Id: I12ddfd8232d4d35135add1cb4406bfdc20b758f2
* Refactored VaadinPortlet to have same structure as VaadinServlet (#10569)Artur Signell2013-03-281-23/+29
| | | | Change-Id: Ia012fd3b200a97b394c18dca549d048695b88a43
* Verify lock is held while updating VaadinSession or connector state (#9515)Artur Signell2013-03-282-16/+103
| | | | Change-Id: Iceacb7dae6c4f433ccf747fca5a89514622baba4
* Changed VaadinSession locking to be based on a session attribute (#8894)Artur Signell2013-03-282-29/+208
| | | | | | 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
* Convenience methods for running code in the UI or VaadinSession context (#11219)Artur Signell2013-03-284-2/+188
| | | | Change-Id: If31a965f925ca2bedb25c712b83ccb070a9e71a0
* Added Page.reload (#10250)Artur Signell2013-03-281-0/+7
| | | | Change-Id: I8ec7edbc370388d8b36a474a8845e846395f26ed
* Removed CommunicationManager and PortletCommunicationManagerJohannes Dahlström2013-03-2727-350/+253
| | | | | | | | | * 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
* Remove synchronous AJAX support (#11254)Johannes Dahlström2013-03-272-41/+0
| | | | | | | SJAX was used in Vaadin 6 only for window close events, and those are not supported in Vaadin 7. Change-Id: I3ca7137d5a16252f63051314743e0bee2890caf1
* Fix off-by-one bug preventing all server RPC handlingJohannes Dahlström2013-03-271-1/+1
| | | | Change-Id: I2e3e277cb6b385f4713a72129f51c34d8c893995
* Refactor server-side communications (#11192, #7891)Johannes Dahlström2013-03-2735-2490/+3364
| | | | | | | | | | * 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
* Fixed tree memory leak when removing expanded items from Tree (based on new ↵John Ahlroos2013-03-222-5/+31
| | | | | | Filterable API introduced by #11234) #11053 Change-Id: I397124cbfa355417717d2e81bf67b15b202bf16a
* Added Container.hasContainerFilters() API #11234John Ahlroos2013-03-226-2/+41
| | | | Change-Id: I223dbc7a8419a5c4b58321b708e8bd7c8bb8134b
* Merge commit 'e4c9eda51082a443822b66864df2fe14be7dc6d7'Artur Signell2013-03-218-256/+400
|\ | | | | | | | | | | | | Conflicts: uitest/test.xml Change-Id: I2c82fa7117b21bddad313abdd2f3f43143317c12
| * Deprecated AbstractComponentContainer.getComponentIterator (#11328)Artur Signell2013-03-141-0/+6
| | | | | | | | Change-Id: I24298165f0b078d42415cfce65118eed5587623c