summaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Avoid creating an instance of every view while searching for the correct ↵Artur Signell2013-05-231-5/+8
| | | | | | | | | | | | view (#11722) Change-Id: Ifab9aa0021bde58280fd75370e5df46fb5efa7a7
* | Modified the logic in setPropertyDatasource which determines if a new ↵Artur Signell2013-05-223-16/+58
| | | | | | | | | | | | | | | | | | | | 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
* | Fixed order of parameters in javadoc (#11158)Artur Signell2013-05-221-3/+3
| | | | | | | | Change-Id: I523140051e1034b5fab501517e70209f29b6b869
* | Extracted common code for number conveters to abstract super class (#11900)Artur Signell2013-05-225-229/+148
| | | | | | | | Change-Id: I53e413f8e9c8754915d80c30d3dca97eb1881c74
* | Disable Atmosphere version number check (#11890)Leif Åstrand2013-05-211-1/+6
| | | | | | | | Change-Id: I8f04cc0ddc034ce7cb43cc7f6646ddffcba64a4b
* | Upgrade to Atmosphere 1.0.13 (#11861)Johannes Dahlström2013-05-211-2/+2
| | | | | | | | Change-Id: Ie9281ff5e9805be89942bf3ca8259740f49e15ab
* | Derive current servlet/portlet from the current service (#11779)Leif Åstrand2013-05-213-78/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement VaadinPortlet.getCurrent() to use VaadinService.getCurrent() instead of having a separate thread local variable. This is done to avoid classloading issues when determining which instances to preserve in CurrentInstance.setThreadLocals. The two current instances have previously been kept in sync in all cases except during VaadinPortlet.init where VaadinService has not yet been created. VaadinPortlet.setCurrent() is removed as no way of preserving its semantics has been found. This breaks API compatibility, but is probably better than having a deprecated implementation that can not work as expected in all situations. The same changes have also been made to VaadinServlet to maintain the symmetry. Change-Id: I0a1ccc07a4aeecec558a9aaae211bd56207313d8
* | Use "\0" instead of "|" as a push message delimiter (#11692)Johannes Dahlström2013-05-212-10/+16
| | | | | | | | | | | | | | | | | | | | Used with TrackMessageSizeInterceptor and with client-to-server Websocket message splitting (see #11648) The original issue that the delimiter can not appear in the message (unescaped) is apparently fixed in Atmosphere 1.0.13 Also ensure the max size of a websocket fragment in bytes does not exceed the buffer size (#11842) Change-Id: I768524bb54a5b8b9479dc7bda821256bd843dc52
* | Merge changes from origin/7.0Leif Åstrand2013-05-172-6/+13
|\| | | | | | | | | | | | | | | | | | | | | | | 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
| * SQLContainer.indexOfId() also searches backwards (#11849, #10376)Henri Sara2013-05-141-3/+5
| | | | | | | | Change-Id: Iea3f832cd50314f747b82b774c3be57797f9ac1d
* | 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-172-10/+55
| | | | | | | | | | | | | | This also introduces PageState, which is at the moment a part of UIState. Change-Id: I4f927e6b8217fa789d83ce5e0d8254b141f485c7
* | Merge changes from origin/7.0Leif Åstrand2013-05-101-6/+63
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 7d9f544 Test for #11396 (merged from 6.8 branch). Depends on a blur event so cannot be autotested with TB. 1b18807 Remove pre-loader element after pre-loading, fixes #10863 ce9c818 Instead of applying workaround to the root panel, apply it to the sub window content element instead to prevent scrolling of the document when a sub window is removed. #11713 (#10776) 3f5d022 Liferay 6.2 compatibility (#11751) ffd1c1b Don't ignore child component margins in AbstractOrderedLayout (#11553) 62ae5e1 More verbose output from running Jetty 21d9b67 Add a large number of debug calls to VFilterSelect (disabled by default) bdb7931 Merge test for #11623 to 7.0. 19e27a1 Move suggestion popup width calculation from connector to VFilterSelect Change-Id: I2d980126599e55fa5e4f6ec523dca16ba54107b5
| * Liferay 6.2 compatibility (#11751)Henri Sara2013-05-101-6/+63
| | | | | | | | Change-Id: I5a14aba47f3e92249b245392acaf5ff9bda62083
* | Only complain about other session if it is locked (#11757)Leif Åstrand2013-05-031-1/+2
| | | | | | | | Change-Id: I94ff6cecc52ae79724e45bb1c246401d9521a7cf
* | Fix typo (#11754)Leif Åstrand2013-05-021-3/+3
| | | | | | | | Change-Id: Ib9f75c81a18a555b34cd620260f85063c58c90ce
* | Allow setting push mode in UI.init (#11739)Johannes Dahlström2013-05-021-5/+5
| | | | | | | | Change-Id: Ied24bc42a25800033351fcbacdc5fc5e0be8eda1
* | Make access() throw if another session is already locked (#11757)Leif Åstrand2013-05-023-0/+41
| | | | | | | | Change-Id: Ic8571b0d078c3ff64e8b9914e55c51766ae49024
* | Rename runSafely() to access() (#11756)Leif Åstrand2013-05-026-30/+59
| | | | | | | | Change-Id: I640244732fb561d9f55da58f8ba94fd02875c191
* | Split client-to-server messages when websockets are used (#11648)Johannes Dahlström2013-04-293-9/+112
| | | | | | | | | | | | | | | | * First part of a fragmented message prefixed by total message length plus '|' * Atmosphere websocket buffer size set to 65536 * Fragment size is 65535 characters (Jetty requires less than buffer size) Change-Id: I8bf872bbb03b86386070fdc99c14ea805dd2ef3a
* | Merge commit 'd214efa39a011002eb88e683676508e438842fe4'Henri Sara2013-04-292-42/+50
|\| | | | | | | | | | | | | Conflicts: client/src/com/vaadin/client/ui/orderedlayout/Slot.java Change-Id: I2fb5d1ac4b5c10a1fe5b1a6f976c1f59283b9169
| * Ensure actions are handled in a deterministic order (#11735) (mergedHenri Sara2013-04-291-35/+25
| | | | | | | | | | | | | | | | from #11432 in 6.8 branch) svn changeset:25867/svn branch:6.8 Change-Id: Ie34cc4c4fe6524a23b2e7692b9e73a421443ac4f
| * Add content length header for static resources (#11699)Henri Sara2013-04-251-7/+25
| | | | | | | | Change-Id: Ie307198a05e5c4f1b8bd74ec17185b9086ff0577
* | Fixed NPE in UI check (#11714)Artur Signell2013-04-291-1/+2
| | | | | | | | Change-Id: I837a15c2ac58119ec203c1b214e19381184c8617
* | Fixed refresh after invalid CSRF has been received (#11635)Artur Signell2013-04-261-7/+21
| | | | | | | | Change-Id: I10648c5b375efc09d3d20ffe0a620ddf01675bc1
* | Moved message 'escaping' to AtmospherePushConnection to be able to send ↵Artur Signell2013-04-262-4/+4
| | | | | | | | | | | | pre-escaped messages (#11635) Change-Id: I732bb26cfea9c5f59d85d6119d19a61e73381f5b
* | Store security key in VaadinSession (#11717)Leif Åstrand2013-04-266-61/+36
| | | | | | | | | | | | | | * Also removes the WRITE_SECURITY_TOKEN_FLAG flag that was defined twice but never set Change-Id: I02d172b7ccd230df7c59b3b17227235bea9d2e7d
* | Send communication error if UI with given id is not found (#11485)Artur Signell2013-04-262-5/+39
| | | | | | | | Change-Id: I83da8e1732296b6549a56de62b8c09660e39a8ec
* | Wait max 1000ms before closing push channel (#11596)Artur Signell2013-04-261-4/+22
| | | | | | | | Change-Id: I85c8b0a1f499294b85f130eeb9061644aa8f2f4f
* | Handle session expired for UIDL requests correctly (#11705)Artur Signell2013-04-262-5/+35
| | | | | | | | Change-Id: I497e3b96387d16d9cb31fa9fce6daf0650af458e
* | Deal correctly with session expired during opening of push connection (#11705)Artur Signell2013-04-267-87/+168
| | | | | | | | | | | | | | * Added SessionExpiredHandler which any RequestHandler can implement to customize session expired handling * The issue can be tested by creating a non-serializable UI (e.g. new Object() in a field) and restarting the server. Change-Id: I3eb6bc56298e025bcde088af53ea656fb44e897b
* | Ensure RPC are not delivered to closed UIs (#11714)Artur Signell2013-04-261-0/+14
| | | | | | | | Change-Id: I7fadaa5d5190c36cd83a06249d7ae1d4475724e0
* | Close push connection when UI is detached (#11596)Artur Signell2013-04-264-3/+39
| | | | | | | | Change-Id: Ibfc5923406b386786ae399b7f53cea47ac885f48
* | Pass ServletConfig to atmosphere init (#11716)Leif Åstrand2013-04-256-15/+52
| | | | | | | | | | | | | | Furthermore, the exception that might get thrown from there is passed up through the call stack until it can be handled in a sensible way. Change-Id: I4a741b5ad4d9216255932c2328b49e73e92df2f4
* | 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-256-38/+78
| | | | | | | | | | | | | | | | | | | | * 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
* | Remove unused indirection (#11192)Leif Åstrand2013-04-251-10/+3
| | | | | | | | Change-Id: I6c0d2342b29b79d224dfb2d1f42eb9d95a589981
* | Support schemas and catalogs in TableQuery (#7827)Henri Sara2013-04-251-33/+167
| | | | | | | | Change-Id: Ib8282dc77e3d06d49ce8815a3f4b036541d9acea
* | 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-246-10/+65
| | | | | | | | Change-Id: Ie0b05e55c1d8fc8d10d073c508b112da740c3333
* | Re-added Property.toString warning messages (#10916)Artur Signell2013-04-249-53/+302
| | | | | | | | | | | | * 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
* | addons.scss should contain "addons"-mixin and include all found mixins into ↵John Ahlroos2013-04-241-10/+32
| | | | | | | | | | | | | | | | | | that. Also now that addon stylesheet metadata now contains the full path of the stylesheet, the @import should handle it by prefixing the paths with "../" . Change-Id: I9631e8151e053337e6d0fa2023c38faeec7a0a5b
* | Make WebBrowser information available in LegacyApplication init again (#11690)Artur Signell2013-04-231-0/+4
| | | | | | | | Change-Id: I254e3db6401efc2c14505a3ab0299a62c5fdb339
* | Moved WidgetSetBuilder to server as ClassPathExplorer dependends on it (#11591)Artur Signell2013-04-231-0/+213
| | | | | | | | Change-Id: I1091de12737e242129cd8fb62daba9e2273e67ff
* | Add patched AtmosphereFramework without support message (#11654)Leif Åstrand2013-04-231-0/+4
| | | | | | | | Change-Id: If0c236cf696d744b55a5288d4622b5d16e07a5cc
* | Moved SASSAddonImportFileCreator and ClassPathExplorer to vaadin-server #11591John Ahlroos2013-04-232-0/+716
| | | | | | | | Change-Id: I81f453d6a74a0a47c7007e0bfe20c72b866134c7