aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Do not log legacy warnings in JUnit tests (#11963)Artur Signell2013-05-311-5/+5
| | | | | | | | Change-Id: I5549a524d7fae32b1ef201073ab48cadcc4e8212
* | Fix stale info in javadoc for accessSynchronously (#11897)Leif Åstrand2013-05-312-8/+0
| | | | | | | | Change-Id: I0d562a5f617850e2e862f86758dbca0fc4c947a0
* | Fix streaming issue with iOS6 (#11934)Artur Signell2013-05-301-0/+7
| | | | | | | | | | | | It appears that iOS6 will not make new request (at least for images) to a server to which there is already a connection open which possibly will be kept alive after the current request is done (Connection: Keep-alive asked by the client and not denied by the server) Change-Id: If4e6233457fced3760a931b7953fa1713fee3452
* | Flush the output writer in case of SSE transport as well (#11955)Johannes Dahlström2013-05-301-1/+1
| | | | | | | | Change-Id: Id0d82eabab63681b9d01c0312588fdfe1659860f
* | Extract ProgressBar and deprecate ProgressIndicator (#11925)Leif Åstrand2013-05-292-87/+170
| | | | | | | | Change-Id: Id9eaee65762b0dadd59f3e730d3ff11712ab87fe
* | Moved Locale data handling to LocaleService (#11378)Artur Signell2013-05-297-274/+236
| | | | | | | | | | | | The locale data is now tracked per UI instance and no longer sent in every request. Change-Id: I4bebd00327da6f8d812181fd76a85eb6196d0010
* | Remove UI.runSafely and VaadinSession.runSafely (#11901)Leif Åstrand2013-05-292-21/+1
| | | | | | | | Change-Id: Ie72e1a3ab72be00c99548a740f16721fb7edab00
* | Avoid deadlock checking in runPendingAccessTasks() (#11897)Leif Åstrand2013-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The deadlock check in accessSynchronously() was triggered in cases where one session was locked and tryLock() in access() did manage to lock another session and thus attempted to run the runnable right away. runPendingAccessTasks() needed accessSynchronously() just for setting up the current session instance - the session was already locked and cleaning up the CurrentInstance values afterwards was not needed. Just setting the current session without accessSynchronously() gets rid of the inappropriate deadlock detection as well as some overhead with managing locks and CurrentInstance values. Change-Id: Ib956d68884d6703dce2633a455c4857bb06651af
* | Remove ThreadLocal references from CurrentInstance (#11914)Leif Åstrand2013-05-285-27/+36
| | | | | | | | Change-Id: Ic7389a06726026383b96de80b0d038ed11e9d273
* | Define how CurrentInstance works with access() (#11897)Leif Åstrand2013-05-283-35/+104
| | | | | | | | Change-Id: I7ca62c5706fd37e7c44ed46703bcdce159b367f4
* | Added ComponentConnector.isAttached (#11928)Artur Signell2013-05-288-16/+44
| | | | | | | | Change-Id: I70d7d78a0d9de76080f6e0770a48504af8abdd84
* | Add missing license headerArtur Signell2013-05-281-1/+1
| | | | | | | | Change-Id: Iadf8831b01a292d5e29fea26c877541ab4dc5919
* | Make access() enqueue the runnable if the session is locked (#11897)Leif Åstrand2013-05-287-53/+268
| | | | | | | | Change-Id: If162e81a29bbc982857e2a165a983e161ea837ee
* | Added Serializable where missing and ignore classes which do not need ↵Artur Signell2013-05-283-4/+7
| | | | | | | | | | | | Serializable Change-Id: I197b2d62282ee957458e05d9cac357df47f05e85
* | Added Java Date to Sql Date converter to better support sql dates (#11224)Artur Signell2013-05-242-0/+61
| | | | | | | | Change-Id: I83d8c96a6877ea33b270a1a4a2c6f360a8147518
* | 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