summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui
Commit message (Collapse)AuthorAgeFilesLines
* Remove ThreadLocal references from CurrentInstance (#11914)Leif Åstrand2013-05-281-2/+2
| | | | Change-Id: Ic7389a06726026383b96de80b0d038ed11e9d273
* Define how CurrentInstance works with access() (#11897)Leif Åstrand2013-05-281-3/+8
| | | | Change-Id: I7ca62c5706fd37e7c44ed46703bcdce159b367f4
* Added ComponentConnector.isAttached (#11928)Artur Signell2013-05-283-3/+3
| | | | Change-Id: I70d7d78a0d9de76080f6e0770a48504af8abdd84
* Make access() enqueue the runnable if the session is locked (#11897)Leif Åstrand2013-05-282-22/+98
| | | | Change-Id: If162e81a29bbc982857e2a165a983e161ea837ee
* Modified the logic in setPropertyDatasource which determines if a new ↵Artur Signell2013-05-222-12/+12
| | | | | | | | | | converter is needed (#11863) The previous logic had two flaws * It allowed converter model type to be a sub type of the model type but not vice versa. Similarly for presentation type. * If the user has set a converter it should be used and not be replaced unless it is absolutely sure that it cannot in any possible way handle conversion (e.g. converter from integer to double cannot handle string to list conversion). If there is a slight chance that it can handle conversion, let it be and let the user set another converter when needed. Change-Id: I2e1c0b3aac90be63ddbc780195f8428398e28ada
* Merge changes from origin/7.0Leif Åstrand2013-05-171-3/+8
|\ | | | | | | | | | | | | | | | | | | | | | | 1a6200e Merge #6880 test from 6.8; fix itself is not needed in Vaadin 7 67696f3 SQLContainer.indexOfId() also searches backwards (#11849, #10376) 611e5f9 Test for #11267 adapted from 6.8. 609acd1 Fixed table height rendering in Android 2.3 #11331 63dd611 Centers VOverlays in visual viewport on iOS, Android, fixes #11614 5a33d7d Test for #11775 0c8edf1 Avoid marking AbstractField dirty in primitive getters (#11201) Change-Id: I7437e0b249c1a95372d6f349e9d6336fb85f08a4
| * Avoid marking AbstractField dirty in primitive getters (#11201)Artur Signell2013-05-171-3/+8
| | | | | | | | Change-Id: Ie289c15d5c56d3b602d87174f022b6197f0fedf0
* | Merge changes from origin/7.0Leif Åstrand2013-05-171-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | 55ea6dc More specific workaround for no rows in TreeTable with pagelenght = 0 (#9203) dca728c Warn if using old widgetset (#11836) 936439d Verify that tests are run with the expected JRE version (#11835) 29eeda5 Merge "Clean up Table popup menu close handler to prevent a memory leak" from 6.8 (#11840) 6d7f5e4 Eliminate unnecessary conversions of option keys b8c6a15 Clear items in ComboBox only if changed (#10924) 42545ac Fix NPE if there's no query in the URI (#11836) Change-Id: I2e50ba59b45720a879c6e476333369523a730b9c
| * Clear items in ComboBox only if changed (#10924)Henri Sara2013-05-141-2/+2
| | | | | | | | | | | | | | Selection is now sent only as a key, removed redundant attribute on the item. Change-Id: I882d4ae17a1dc91f7a55a0b4a94e47c078ffc022
* | Tooltip accessibility fixes (#11799)michaelvogt2013-05-171-0/+24
| | | | | | | | | | | | | | Remove previously added attribute for WAI-ARIA live area Set overlay container as live area instead Change-Id: Ie75c2993fdb42f29f307cbd294ae3352d2ef1ce3
* | Send browser window resizes if there is a listener (#10055)Henri Sara2013-05-171-3/+9
| | | | | | | | | | | | | | This also introduces PageState, which is at the moment a part of UIState. Change-Id: I4f927e6b8217fa789d83ce5e0d8254b141f485c7
* | Fix typo (#11754)Leif Åstrand2013-05-021-3/+3
| | | | | | | | Change-Id: Ib9f75c81a18a555b34cd620260f85063c58c90ce
* | Make access() throw if another session is already locked (#11757)Leif Åstrand2013-05-021-0/+10
| | | | | | | | Change-Id: Ic8571b0d078c3ff64e8b9914e55c51766ae49024
* | Rename runSafely() to access() (#11756)Leif Åstrand2013-05-022-8/+26
| | | | | | | | Change-Id: I640244732fb561d9f55da58f8ba94fd02875c191
* | Close push connection when UI is detached (#11596)Artur Signell2013-04-261-0/+16
| | | | | | | | Change-Id: Ibfc5923406b386786ae399b7f53cea47ac885f48
* | Fixed incorrect assert (#11720)Artur Signell2013-04-251-1/+2
| | | | | | | | Change-Id: I723230420c893ed9d5f498309b0763afaf55d6a5
* | Verify CSRF token before accepting new CSRF connection (#11635)Leif Åstrand2013-04-251-4/+0
| | | | | | | | | | | | | | | | | | | | * Can't open push connection during client-side init because CSRF token is not available at that point. This allows simplifying the initialization because the push state will not be checked until the first response has been processed. * Add helper for checking the CSRF token Change-Id: I31da1ac669dc9a581cbd66f58c07f10ea4b8b676
* | Global code clean upLeif Åstrand2013-04-252-4/+4
| | | | | | | | Change-Id: I380d6afbc6b30d817ea6cca3d6b4634ab12522b1
* | Update javadoc to reflect moved getPushMode method (#11506)Leif Åstrand2013-04-241-1/+1
| | | | | | | | Change-Id: I712791e829be699a75b26bdad9709121ebe7a55d
* | Replaced Filterable.hasContainerFilters with getContainerFilters (#11234)Artur Signell2013-04-241-2/+2
| | | | | | | | Change-Id: Ie0b05e55c1d8fc8d10d073c508b112da740c3333
* | Re-added Property.toString warning messages (#10916)Artur Signell2013-04-242-4/+67
| | | | | | | | | | | | * Made it possible to toggle the toString() behavior using the "legacyPropertyToString" init parameter. The default value is "warning" which enables the legacy Property.toString implementation and logs a warning message when it is used. Other supported values are "true" which enables the legacy mode and "false" which disables it. Change-Id: Ife19352b86590464c8e441b7f82f4fec3b1f3235
* | Merge commit 'feb9a8c3510afc76c079fafcd9e507205bde139c'Artur Signell2013-04-231-1/+6
|\| | | | | | | | | | | | | | | Conflicts: WebContent/release-notes.html theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java Change-Id: Iad9ee95b2f399ff93f0e426a0810b18d923f8ff6
| * Fixed date reset when calendar is first initialized #11387John Ahlroos2013-04-121-1/+6
| | | | | | | | Change-Id: I48a839cceeab3cfc6722657eac8681a8766ab396
* | Renamed loading indicator states to 'first','second','third' (#11668)Artur Signell2013-04-231-38/+39
| | | | | | | | Change-Id: I127070e2014bebf8aa09778b2dffee5481845ab4
* | Renamed UI.getLoadingIndicator -> getLoadingIndicatorConfiguration (#11665)Artur Signell2013-04-232-9/+9
| | | | | | | | Change-Id: If80abf821abd9c6c025e49b249339eb20d56f7ce
* | Renamed UI.getTooltip to getTooltipConfiguration (#11663)Artur Signell2013-04-232-9/+9
| | | | | | | | Change-Id: Idd33f68171b40b4097454418b78f75aee8f76eab
* | Renamed DisplayState to WindowMode (#11662)Artur Signell2013-04-231-60/+57
| | | | | | | | Change-Id: I0f70c4195a0871185a1924b008ebd855068e5787
* | 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
* | Initial support for toggling push on the fly (#11506)Leif Åstrand2013-04-191-15/+24
| | | | | | | | | | | | | | Still missing is the ability to load vaadinPush.js if it has not yet been loaded. Change-Id: Ibe3596c38a7c4e3432b0396072866ee3072e6d30
* | Move push mode to UI and add @Push annotation (#11506)Leif Åstrand2013-04-181-1/+49
| | | | | | Change-Id: Idc0e5e00a8f3ddd3f56d87484089c290d52715c2
* | Add PushMode.isEnabled() (#11626)Leif Åstrand2013-04-171-2/+1
| | | | | | | | Change-Id: I416dc73566e2404a6dce35045fc79f9038e8dd5e
* | Don't assign PushConnection to UI before it has been connected (#11506)Leif Åstrand2013-04-171-2/+13
| | | | | | | | Change-Id: I728c830d6740f77a200ea69925772924e58f45a4
* | Fix minor issues raised in #111 code reviewJohannes Dahlström2013-04-111-0/+2
| | | | | | | | Change-Id: Ibca25fea1d08e98271e68e3d4703afe5aeaae182
* | 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
* | Fix missing or invalid copyright headersLeif Åstrand2013-04-091-1/+3
| | | | | | | | Change-Id: I75e8713548a93b29fe97ab6e9aaf8cb65ab611be
* | 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-0517-4/+81
| | | | | | | | 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
* | Maximize Restore for Window #3400Pekka Hyvönen2013-04-041-6/+141
| | | | | | | | Change-Id: I164ae83bd6cf98f7a3d7e76d8e717a56e8cb5183
* | Server push (#111)Johannes Dahlström2013-04-041-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | 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
* | 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
* | WAI-ARIA field corrections (#11407)michaelvogt2013-04-021-0/+20
| | | | | | | | | | | | Implementation of suggestions from usage test by an screen reader user Change-Id: If02512f3d4ee60e3e115023af9d9e600dc11321a