summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Server push (#111)Johannes Dahlström2013-04-0425-38/+913
| | | | | | | | | | | | | | | | * 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
* Renamed Calendar tests to be more consistent with other tests (#11079)Artur Signell2013-04-0417-0/+0
| | | | Change-Id: I3c057c6c6ebf3cad982b5f8d2821b579f7aa57ea
* Fixed issue with IE8 showing loading indicator when it should not (#7448)Artur Signell2013-04-041-3/+54
| | | | Change-Id: I07fd3f3051d3114e419a3a75a7a102c6ea52ab53
* 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-033-12/+3
| | | | | | | | * 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
* Fix for CheckBox and Layout (#11407)michaelvogt2013-04-033-1/+26
| | | | | | | Change in CheckBoxConnector led to wrong enabled behaviour and addition to top coordinate to prevent scrollbars with VPopupCalendar Change-Id: I381ab7c8a605535280ae58716181ef4c346997f7
* 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-0380-0/+17204
| | | | | | Everything else integrated, except TB3 tests (ticket #11090, old TB2 tests used instead) Change-Id: If1700d7680a6c0a45f84d6e3c7b80e6536da78c8
* Removed unnessesary pixel calculations from AbsoluteLayout #11177John Ahlroos2013-04-032-89/+25
| | | | Change-Id: Ib3f8b48e5712e895abab159616aa1b2a1ec589c8
* Implemented changes to CSS injection based on API review #5500John Ahlroos2013-04-034-125/+71
| | | | Change-Id: I2bed5f5a5c3cfc6b97e94cbd218bb06f446c7325
* Merge commit '5d8b1862b63d32070b4084d7e49cae1f4bc66953'Artur Signell2013-04-0313-368/+1168
|\ | | | | | | Change-Id: I329cab3a4a039cd41486353d41d678abf29cb6a9
| * Unified all portal integration tests to be based on JSR286Portlet (#8013, ↵Artur Signell2013-03-2113-368/+1168
| | | | | | | | | | | | | | | | | | | | | | | | | | #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
* | Enable setting loading indicator delays from the server (#7448)Artur Signell2013-04-037-83/+526
| | | | | | | | | | | | * 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-037-10/+650
| | | | | | | | 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-0215-116/+225
| | | | | | | | | | | | 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-0215-22/+67
| | | | | | | | 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-023-23/+89
| | | | | | | | | | | | * 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-284-8/+40
| | | | | | | | | | | | 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-285-0/+95
| | | | | | | | Change-Id: I8ec7edbc370388d8b36a474a8845e846395f26ed
* | Removed CommunicationManager and PortletCommunicationManagerJohannes Dahlström2013-03-2728-351/+254
| | | | | | | | | | | | | | | | | | * 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-274-182/+110
| | | | | | | | | | | | | | 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
* | Id changed because of id generation for wai-ariaArtur Signell2013-03-261-1/+1
| | | | | | | | Change-Id: Ib216994e540d34179fc0e5498e0461bdf82f8794
* | Added standalone class for creating an addons.scss from Vaadin addons on the ↵John Ahlroos2013-03-262-14/+228
| | | | | | | | | | | | classpath #11390 Change-Id: Ifcdb5c3b267cdf90ca9b981dccef3de6f9481ced
* | Removed code which calculates size incorrectly (#11395)Artur Signell2013-03-251-4/+0
| | | | | | | | Change-Id: I2fbe7031ee1d778f8ebe96a8e773113d8529fba9
* | Fixed ComponentLocator to be backwards compatibleArtur Signell2013-03-251-3/+11
| | | | | | | | | | | | The WAI-ARIA fix (#11180) introduced a new FlowPanel in a PopupDateField popup which is now handled properly. Change-Id: I192018c95d6d1502e3a50e5c30d4125d467ddf94
* | 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
* | Moved CSSInjectWithColorpicker to correct packageJohn Ahlroos2013-03-211-1/+1
| | | | | | | | Change-Id: I8b7d283b68da60d236748364cac4c5ac3310f836
* | Merge commit 'e4c9eda51082a443822b66864df2fe14be7dc6d7'Artur Signell2013-03-2146-376/+1798
|\| | | | | | | | | | | | | Conflicts: uitest/test.xml Change-Id: I2c82fa7117b21bddad313abdd2f3f43143317c12