summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Fix @since for isIPhone() and isIPad(). (#14424, #14423)Sauli Tähkäpää2014-10-161-0/+2
| | | | Change-Id: I8b72b362134d564165a7037e0722c3ff28f59497
* Update atmosphere-runtime to 2.1.2.vaadin6. (#14674, #14861)7.3.3Sauli Tähkäpää2014-10-151-1/+1
| | | | Change-Id: Ie239bf110909f8acb47f2141431965061f9ac407
* Use workaround for JDK6 Introspection bug JDK-6788525 (#14839).Denis Anisimov2014-10-142-3/+106
| | | | Change-Id: Ib7ef769b7537675c681ac1fab24a425d19a267e7
* isIPad() and isIPhone() methods are added to WebBrowser (#14424,#14423).Denis Anisimov2014-10-141-0/+20
| | | | Change-Id: I7b3556d5f9c1dd84beec638d7fbff1c5382070a4
* FieldGroup.commit throws NPE if not bound to an item (#14732).Sergey Budkin2014-10-142-2/+41
| | | | | | Added null check and corresponding test. Change-Id: I197dad14d6b5f7bf9bedcdf083d4b1f0f20efdcd
* Check eventRouter value against null in Page class (#14803).Denis Anisimov2014-10-142-5/+100
| | | | Change-Id: Ia7dd54c4cf10a2c56a5ef36864a6bb94f1d9167f
* Assign timezone before setting initial date in DateField. (#14653)Sauli Tähkäpää2014-10-141-6/+4
| | | | Change-Id: I3b527084d23ee8bd49887bef3d018c1003f492e2
* Call endUpload() in finally block of fail handling (#14677).Denis Anisimov2014-10-142-12/+115
| | | | Change-Id: I0b5976abf0d8804e8cd34c5dd489da8617ef89f1
* Read input stream logic is corrected (#14533).Denis Anisimov2014-10-132-13/+160
| | | | Change-Id: I1a8a895d631889e04f7acbde29306e86da344a23
* Exception on closing inactive UI causes issues (#14651)Sergey Budkin2014-10-071-0/+1
| | | | | | Added proposed fix Change-Id: I88085546c2bf47f1e0952d64efadfc40bac12987
* Possible VaadinSession deadlock when invalidating HTTP session (#14452)Sergey Budkin2014-10-072-9/+94
| | | | | | VaadinService.fireSessionDestroy: session.accessSynchronously -> session.access Change-Id: I72e08c9285e6b34dac54401c6c84b7175133e481
* Add @since to isWindowsPhone(). (#14425)Sauli Tähkäpää2014-09-261-0/+1
| | | | Change-Id: Ia4c212ead39d7b71c56db586c0a8559935cae263
* Added support PORTLET_CONTEXT for vaadin.resources.path value (#14640)Taras Hupalo2014-09-242-1/+7
| | | | Change-Id: Ie801a17ed1eff29a7dc6be61755241777071ab8f
* Set internal value instead of converted value when locale has changed. (#14400)Sauli Tähkäpää2014-09-241-1/+2
| | | | Change-Id: I2440f6471b8bbb016497bf59cffd023b013460dd
* Document that current session and UI are referenced weakly (#14595)Leif Åstrand2014-09-242-3/+14
| | | | Change-Id: Iccf6a2b0da6e47b5b14c40e0ebaab52df1eef92a
* Fixed ComboBox filtering when page length is zero (#14509)Teemu Pöntelin2014-09-241-7/+9
| | | | Change-Id: I663b39a37bcdf4383fa76d04acd127503ced11df
* Fix invalid parameter name (#14602)Leif Åstrand2014-09-241-2/+2
| | | | Change-Id: Ia746e41b7dd81b3465895aad4ca39991aac17d89
* WebBrowser.isWindowsPhone() is added (#14425).Denis Anisimov2014-09-241-0/+11
| | | | Change-Id: Ia279c4da78ca04e0d3727b605e2ce68b99e8cd65
* Improve proxy comparison support (#14639)Juuso Valli2014-09-152-6/+75
| | | | Change-Id: I114ea5bf9d55c78826c1163206caf585b96143ef
* Make Vaadin component handling proxy-friendly (#14639)Juuso Valli2014-09-1514-21/+53
| | | | | | Comparisons with the ==-operator between a proxy and it's underlying instance fail, so we should use a custom equals method instead. Change-Id: Iaa86ae830fecbedfb1f55636e25f5affebf5aba3
* Update to Atmosphere 2.1.2.vaadin5 (#13877)Sergey Budkin2014-09-151-1/+1
| | | | | | | | New version of vaadin atmosphere, picked change from main codebase: https://github.com/Atmosphere/atmosphere/commit/9eeb5768 Tested manually against Jetty 9.2.3 Change-Id: I90f4a90b1ff651cc475eb01c2156d3c58abd8c2c
* DateField ValueChange is now fired after flags are set (#14487)Guillermo Alvarez2014-09-121-3/+35
| | | | | | | | When the UI had an invalid string the ValueChange event was fired before setting all the flags causing an invalid isValid result when handling ValueChange. Now the event is fired after the flags are set. Change-Id: Ie4e6ba21edc81bf41c2c661aa27e0ace71e1bef0
* Fix potential invalid JSON output in MetadataWriter (#14591)Johannes Dahlström2014-09-122-0/+15
| | | | Change-Id: I90ec428ae11727b9762d53ebb8d94f8c850c425b
* StreamResource methods equals() and hashCode() are corrected (#14027).Denis Anisimov2014-09-122-8/+62
| | | | Change-Id: I68a629a29cc0d6efd2dd7788875a1dc4182ee6bf
* Bump Atmosphere-runtime version number to 2.1.2.vaadin4 (#14038)Johannes Dahlström2014-09-121-1/+1
| | | | Change-Id: Ifcfe1f90b795072c12d3118db33f3df6c96c568b
* Handle byte[] type in StatementHelper and correct SQLException (#13305).Denis Anisimov2014-09-122-25/+83
| | | | Change-Id: I235ebe6250b9c03bbea393df7e8eb8823d119a2c
* Ignore files from the classpath for scss cache timestamps (#14506)Leif Åstrand2014-08-281-3/+13
| | | | Change-Id: I82e3caef915b6a8683608f1834130468b3f16dbf
* Remove defunct __gwt_historyFrame (#11560)Leif Åstrand2014-08-271-8/+0
| | | | Change-Id: Id3829562f7bb898ee0df873de90f0339ad06adff
* Add option for collapsing empty rows/columns in GridLayout (#14392)7.3.0.rc1Artur Signell2014-08-211-0/+29
| | | | | | | | This reverts the new default behavior introduced in fix for #8855. If you want empty rows/columns to be ignored when rendering, use GridLayout.setHideEmptyRowsAndColumns(true) Change-Id: I38a8717d79cec7739b649174654b615db9d8dc7e
* Depend on sass-compiler, not the old theme-compiler (#14009)Artur Signell2014-08-211-1/+1
| | | | Change-Id: I0635ea0a390c868162695291176d0ce416dfaf4c
* fixes incorrect JSONArray/String usage in ServerRpcHandler (#14471)Fabian Lange2014-08-201-2/+2
| | | | | | | | | | As described by Johannes, the RPCRequest constructor first takes whole JSON as string and builds its attribute json from it (by parsing). Then it reads from this parsed JSON the array called "rpc". However it previously did a .toString on it only to re-parse it. Newer json versions complain that "rpc" is not a string, but an array. Change-Id: If4bb45abad551b183d757f0aa326c37c070ce103
* Fixes DragAndDropWrapper does not support choosing a custom component as the ↵Sebastian Nyholm2014-08-181-0/+41
| | | | | | | | | drag image (#13836) Amend : Fixes the comments for the last commit. Amend 2: Fixes a nullpointer found in a certain test scenario Change-Id: I72327f5f8ab9e46d88e1ebed8f1db3a7da39d7d8
* Add new "colored" style for Label (Valo)Jouni Koivuviita2014-08-151-0/+5
| | | | | | | | | Makes any Label text colored, by default the same as $v-selection-color. Modify the Forms and Labels examples to use the new style, and remove the fixed color from “light” style form layout for header labels. Change-Id: I27a4fce56b1f734aa5c2c837bf1684284b0d96cc
* Add two new size variants for Valo, tiny and hugeJouni Koivuviita2014-08-151-3/+66
| | | | | | | Available as additional style names for buttons, text fields/text areas, combo boxes, date fields and labels. Change-Id: I12f36935a690f5bf3f12333f5bd4ac986d4efd1f
* Update Font Awesome to the latest version (#14396)Jouni Koivuviita2014-08-111-327/+461
| | | | | | | | | | | | Update the font icon to version 4.1.0. The enum is now sorted alphabetically by the icon name, while previously it was sorted by the code point. The new list is copied from http://fontawesome.io/cheatsheet/ which contains all the icons in the font. Change-Id: I41a69248a9e3bd25c90b7f79b5814cdb46b10bbc
* Do not call requestStart/end multiple times when using push (#14228)Artur Signell2014-08-071-5/+15
| | | | | | | All HTTP request based push request invoke onRequestStart/End in the servlet. We need to trigger start/end separately in push handler only for websocket messages Change-Id: I16064ea88b0c70812f247028ddb23560536db70d
* Document remaining additional style names for Valo (#14107)Jouni Koivuviita2014-08-061-9/+163
| | | | Change-Id: I079492e8a2f3d37d44de3213a2dffb746f726079
* Fix regression caused by #14147 patch (#14147)Anthony Guerreiro2014-08-061-212/+227
| | | | | | The previous patch caused TestCurrentPageFirstItem to fail. Change-Id: I6eec8818f5ba2ce847a696afa40ba423ec482668
* Reverting multiple commits that caused 100+ regression tests to fail.Markus Koivisto2014-08-051-1/+1
| | | | | | | | | | Commits reverted: * 392e8a0 - Minor refactor to #14147 patch * 8d470c9 - Context menu is not shown in Table body on mobi... (#13694) * f7dc719 - Fix Table stuck scroll position after setting ... (#14147) Change-Id: I3f5ed7fa15a9cfebce7a57662d229bf46118c5d6
* Adding a constant for vaadinBootstrap.js (#14284)Fabian Lange2014-08-051-13/+14
| | | | | | | If for any reason a developer wants to parse the bootstrap html, this constants allows easy identification of the bootstrap js. Change-Id: I894cf6e22a7e6d9154c3c9124dda911a86a99475
* Allow changing theme on the fly (#2874, #14139, #14124)Artur Signell2014-08-041-5/+22
| | | | | | | | | | * Updates UI and overlay container class names when the theme changes * Initially verifies that the theme has actually been loaded (for the embed case) and class names have been properly set * Forces a state change to all components to re-translate theme:// URLs * Runs a full layout after the new theme has been loaded and activated Change-Id: I5a7391abe1bb467130bbb4660e4829b43f3e4255
* Disable automatic removal of trailing whitespace and reformatted using LunaArtur Signell2014-07-317-14/+16
| | | | | | | | | | Automatic removal of trailing whitespaces in Eclipse does not work even in a nearly consistent way across platforms, versions or even on the same maching within the same workspaces. Saving the same file multiple times even alternates between adding and removing a whitespace on empty block comment lines when saving. Change-Id: I0efd307fd48869ea688eb79aa77c9ba38de5a4a6
* Fix Table stuck scroll position after setting scroll to last page (#14147)Anthony Guerreiro2014-07-291-1/+1
| | | | Change-Id: I9c39db5c2ccafd495a1ecc8b28687eeeebe3b6c2
* TextArea size get reset when css resize is set (#14080)Bogdan Udrescu2014-07-282-29/+42
| | | | | | | Listen to MouseUp event on the <textarea> and notify the state with the width and height if changed. Add com.vaadin.client.Util.Size to manipulates the css width/height. Change-Id: I96a308658d2877f1f6c05feaa7840a268bb06709
* Fallback to finding disconnected UI based on AtmosphereResource (#14251)Leif Åstrand2014-07-221-7/+43
| | | | Change-Id: Icdac51322a90c32c122a182bc692c4eff3d8285b
* Improves performance of VaadinService.requestEnd(). (#14218)Fabian Lange2014-07-212-130/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing two times session.accessSynchronously is unnecessary effort in multiple aspects: * The session will be locked twice. * CurrentInstances are set twice. * CurrentInstances are restored twice. * VaadinSession being checked for being the current via VaadinService.verifyNoOtherSessionLocked(this); When we leave requestEnd we unset all CurrentInstances. There is no need to just restore them before doing so. When we are in requestEnd, VaadinSession is set to "current" by PushHandler.callWithUi() or VaadinService.handleRequest(). Also, the cleanupSession code does not need any of these thread locals, so not having them set would also not hurt. having an extra accessSynchronously call for just setting the duration does not make a lot of sense. While it somehow wants to make the previous accessSynchronously call to be counted completely into the duration it invests an the same time that would have been left out additionally. VaadinService removeClosedUIs is a cleanup which also locks and sets CurrentInstances just to figure out that the UI it is checking is not closing. This change moves that check out of ui.accessSynchronously. In the end, the resulting code is a tiny bit less robust, however it eliminates over 50% response time on trivial push request/responses. Change-Id: If71d1dbbae5d1fd57d3d4e735c592fd263261a81
* Fixed javadoc for Upload class (#14266)Heikki Ohinmaa2014-07-211-80/+80
| | | | Change-Id: Ib16d4b8922a139b37d551797ada163b6d6b5e720
* Add asserts checking for negative container sizes (#14232)Leif Åstrand2014-07-176-2/+69
| | | | Change-Id: I5b6298be367e4fe820320a5e3fd6bf5aaa7e2047
* Update Atmosphere runtime to 2.1.2.vaadin3 (#13971)Sauli Tähkäpää2014-07-161-1/+1
| | | | | | | Atmosphere 2.1.2.vaadin3 includes fix for: https://github.com/Atmosphere/atmosphere/issues/1643 Change-Id: I67c07dc3b32ebb3b0eed634bf143bac9a7e5efe2
* Mention Date serialization in javadocs related to JavaScript (#14143)Leif Åstrand2014-07-152-0/+4
| | | | Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac