summaryrefslogtreecommitdiffstats
path: root/server/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Use widget set specified by init parameter (#20276)"7.7.2Leif Åstrand2016-09-221-9/+2
| | | | | | | | | Breaks all use of AppWidgetset together with @VaadinServletConfiguration This reverts commit 516c428ca127e3c31b7b4d74220e4b7eed4571be. Change-Id: I9e9bd792479ee1f4dde08c5d2a4d87e06b77f519
* Format Java files using Eclipse Neon and Vaadin settingsArtur Signell2016-09-20504-10078/+10292
| | | | | | | Using the same formatting in the 7.7 branch and the master branch eases porting of fixes Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
* Fix regression that broke widget set compilation in 7.7.1 (#20285)Ingo Kegel2016-09-161-1/+1
| | | | | | | | | | The fix for https://dev.vaadin.com/ticket/20262 broke widget set compilation on Windows, possibly only under certain circumstances Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2
* Use widget set specified by init parameter (#20276)Artur Signell2016-09-151-2/+9
| | | | | | | | 1. If a UI has @Widgetset, use that 2. If a "widgetset" init parameter has been specified, use that 3. If there is an AppWidgetset, use that 4. Use DefaultWidgetSet Change-Id: I522210220bb9e3eb339e9d226833d0fa8eb65839
* Handle encoded URL characters correctly when constructing widget set name ↵Artur Signell2016-09-131-8/+9
| | | | | | (#20262) Change-Id: Idfdd5e6021444af5b08d48ddf90745b47ff4643d
* Prevent editor from being canceled while it is being saved (#19458)Artur Signell2016-09-051-1/+17
| | | | Change-Id: I062e097134035856f6c120584f48a5f3601bd9ac
* Fix ComboBox paging when number of items equals page length (#20213)Artur Signell2016-09-051-7/+10
| | | | | | | | When pageLength == number of items, no paging should be shown except if null selection is allowed, then there should be a second page with one item. Change-Id: I01c00f0c9d75a1dbb80d11b07c37c8ad7334ea07
* Discard for DateField when the data source contains null (#8069)Patrik Lindström2016-09-021-0/+18
| | | | | | | | | | | | | Earlier discard did not work (#8069) if the data source contained null and the user entered an invalid value for date fields. The discard logic has been changed such that the error indicators and internal state of the date field is cleared also if the value entered by the user is invalid and the data source is null. attach() updates the value from the data source in the same way as discard. The old logic in attach is retained. Change-Id: I5d798a2fdc3d2f0e82a037ea3cb2f57b6432039e
* Use servlet context classloader when finding servlet class for websockets ↵Artur Signell2016-08-301-3/+7
| | | | | | (#20024) Change-Id: Ia885ecebe854c0aeda47be2bbc9a9d8a47a03d5c
* Prevent Atmosphere from resurrecting a destroyed broadcaster (#20026)7.7.0.rc1Artur Signell2016-08-161-0/+5
| | | | Change-Id: Ifdf6d8f61eb1f5f19736e057e9314b400d6030ee
* Fixed the compare filter to handle subclasses (#17169)Pontus Boström2016-08-011-3/+9
| | | | | | | | | Earlier the comparision worked only if the item value was a subclass of the value in comparator, but not in the other way around. Now the compairision works if the one is a subclass of the other and both implements Comparable. Change-Id: I1bcbba94f1263915f838e948ed9d8b68a14aefd0
* Changed logic to retrieve readonly state (#8643)Felype Santiago Ferreira2016-07-291-3/+12
| | | | Change-Id: Ibc86d36ce4c8f68eec400ad264546651353709f1
* Document onUnregister in JS component/extension javadocs (#19799)Marco Collovati2016-07-192-0/+4
| | | | Change-Id: I659561533420af1977003f918eb8f3f6479c6b6f
* Support static inner classes when reading/writing declarative files (#20038)Artur Signell2016-07-131-4/+31
| | | | | | | | Uses outer class name as package name for static inner classes. When reading, there is no way to know that the class is an inner class so only when creating a class fails, an inner class is tried as a backup. Change-Id: I3ebf5b2da11384f9dc64072a3dc8ee132607237c
* Update @since for 7.6.8Teemu Suo-Anttila2016-07-121-1/+1
| | | | Change-Id: Ib740904674e289b11116fdb8ea13abbbac81fdfe
* Update @since for 7.6.7Teemu Suo-Anttila2016-07-121-1/+1
| | | | Change-Id: I4abedb7726b0ae152df8c449cde162854d50c8ad
* Allow reaching the wrapped Item through GeneratedPropertyItem (#20032)Anna Koskinen2016-07-061-2/+14
| | | | Change-Id: Ic38c2803b3d83e76fa74d21490a4277c6037b950
* Fix navigation to same view with different parameters (#20029)Teemu Suo-Anttila2016-07-061-17/+20
| | | | Change-Id: I0ecc18f0ee5aecac42cfc6c9422932e2e308ab83
* Fix RpcDataProviderExtension serialization issue (#19906)Teemu Suo-Anttila2016-06-291-8/+28
| | | | Change-Id: I74e8e82df2a7bb26c45c9c3797d044061ec3c24d
* Make sure AtmosphereFramework is always properly destroyed (#17581)Artur Signell2016-06-191-1/+31
| | | | | | | If servlets have never been initialized, then destroy must happen in the context destroy method Change-Id: I9c5188884637be8d1bd2cdf11167e3bdd6081bea
* Provide a way to disallow navigation to the same state twice (#12107).Denis Anisimov2016-06-131-14/+41
| | | | Change-Id: I831a02f26929cc7ec4dac5177cb68f84bd0bfc2b
* Fix a Javadoc typo that crashes Checkstyle (yes, really)Johannes Dahlström2016-06-021-1/+1
| | | | Change-Id: Ib0ca5ad40a8e68a21c707941c7d533c9206a9129
* New login form (#8171)Ingo Kegel2016-06-011-232/+260
| | | | | | | | | The legacy LoginForm is substituted with the new one which is compatible in API. The patch contains modified code from the addon https://vaadin.com/directory#addon/loginform Change-Id: I2178291c97c2f66840f832a0bf932271534beb49
* Suggestion pop-up width API for ComboBox (#19685)Jonni Nakari2016-05-311-1/+32
| | | | | | | | | | | | | | Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now has three different width modes: 1. Legacy "null"-mode: width is determined by the longest item caption for each page. This looks & feels like the old implementation. This is the default mode 2. Relative to the ComboBox. e.g. 100% 3. fixed width using any CSS definition Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
* Update missing @since for 7.7Henri Sara2016-05-302-2/+2
| | | | Change-Id: I9c35e50fd4b56c6b70a4194526cbbbe7870add6e
* Send an ack message after push has removed connectors (#19822)Artur Signell2016-05-271-0/+5
| | | | | | | The server side needs to know the client has removed the connectors to be able to do cleanup Change-Id: Ic3d41cc5cbab035a53bf5c99496d74858c376e73
* Correctly check if validators are present (#11450)Artur Signell2016-05-271-1/+5
| | | | Change-Id: Ibc0173f96a1000e709bd7ee90cccd500fad1a223
* Load CustomLayout templates like other theme resources (#8578)Artur Signell2016-05-204-26/+51
| | | | Change-Id: I0ee79c357a1a3e4c5ce1cb8a93ac0cf1ba4d4163
* Throw exception early on null itemId (#16541)vilo2016-05-201-0/+3
| | | | Change-Id: Iff42a6e9e5e00006c96fa82e102ff145449c6f88
* Ensure ContainerOrderedWrapper returns itemIds in expected orderArtur Signell2016-05-191-1/+17
| | | | | | (#19427) Change-Id: I79cfe68cf5e9e37db27c53d2f7a1aa9a1573df90
* Remove shortcut listener from subclasses of AbstractComponent (#16498).Edoardo Vacchi2016-05-171-3/+1
| | | | | | | e.g., Panel shadows actionManager with its own instance field * solution: always invoke getActionManager() Change-Id: Ibeca2ad53cb1175ae1ebcfb4d68b3d2bf36ea8b2
* Change GridLayout to no longer be a legacy componentArtur Signell2016-05-161-19/+1
| | | | Change-Id: I9d5c135dbfbe108c17fea6334966d4df09ac61ca
* Eliminate rounding errors for GridLayout expand ratios (#19797)Artur Signell2016-05-161-33/+13
| | | Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
* Fix typo in VariableOwner error messageLeif Åstrand2016-05-161-8/+8
| | | | Change-Id: I80f038903e0f32e8b6cb38d6e7931362c4f0f285
* Remove guava URL encode dependencyMarkus Koivisto2016-05-111-2/+10
| | | | Change-Id: I7b76c7736f470dd5016370b61d3872300c3331a9
* Eliminate most server-side Guava useHenri Sara2016-05-114-30/+105
| | | | Change-Id: Iac0f5c96d827e2078ace0be76bc14aa34f379d57
* Update to Atmosphere 2.2.9.vaadin2 (#19742)Artur Signell2016-05-111-3/+2
| | | | Change-Id: I634e44971c6e4f653ecdcbf694be78ae67ef728f
* Fix UIProvider backwards compatibility with AppWidgetsetTeemu Suo-Anttila2016-05-112-7/+29
| | | | Change-Id: Ia3171f4398caa9824f9b511da6576baa7b40be07
* Fix comment for AttachListener interface (#19792)7.7.0.alpha2Anton Yegorov2016-05-101-1/+1
| | | | Change-Id: I45fe48134b05c961e09043f0626763a9fc9e0093
* Fix null selection to work again (#19787)Artur Signell2016-05-092-7/+24
| | | | | | Reverts the fix for #15181 Change-Id: I9ec45b1c9aad9788559d0de2b086bf5cf4af6b12
* Clarify expand javadoc for GridLayoutArtur Signell2016-05-091-6/+16
| | | | Change-Id: If68e81c7116c9294754167981ea3fb53360501bb
* Add @since for DesignContextHenri Sara2016-05-061-2/+2
| | | | Change-Id: I92fbe5ed5bc8e770b6289b4cfae725f837b8eaef
* Revert "Better default for nullRepresentation (#13221, #12877)"feature/standard-sassIlia Motornyi2016-05-042-48/+1
| | | | | | This reverts commit 85870ccd9f93cebd839d22d2bd63ec817bb90a3d. Change-Id: Ifb9bbac0ee36e71d2251c31b936a12f1f3ea7315
* Revert "Documentation fix for null representation (#13221)"Ilia Motornyi2016-05-041-3/+3
| | | | | | This reverts commit 41e29dd2e32d8ca70bfcec25a1883f7965e53296. Change-Id: I4065d4db8dcc2dc652b171ab0472186bbe40ee17
* Throw IAE in setExpandRatio() if given ratio is less than 0Maciej Przepióra2016-05-031-0/+8
| | | | Change-Id: Ie7f92edea210c54400f6dce38e1376e3c0eae575
* Ensure addItem(null) returns nullArtur Signell2016-05-032-8/+4
| | | | Change-Id: I67823b306e68637b469ed35fad00f6af64e8cc15
* Documentation fix for null representation (#13221)elmot2016-05-021-3/+3
| | | | Change-Id: Ib532fbd9efd587080a75155139ae1a7a219c1003
* Better default for nullRepresentation (#13221, #12877)Matti Tahvonen2016-05-022-1/+48
| | | | Change-Id: Ia4662c79b20ee699b3a9741ffa24c4de6645b775
* Add interface for AppWidgetset (#19770)Markus Koivisto2016-04-295-43/+263
| | | | | | | | | This allows selecting the widgetset name and URL simply by placing a class in the default package if nothing is explicitly give by the user. This can be used e.g. by the Maven plug-in and other build automation tools to automatically generate widgetsets or use one from CDN. Change-Id: If3a7b35e3b25371e08e6d9b504fcda6f66de5119
* Clarify error message for column mismatches (#18323)Leif Åstrand2016-04-281-5/+9
| | | | Change-Id: I94b0819b68dbdda96fb1036e503bf63390a800d7