summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Replace setRequired & HasRequired with setRequiredIndicatorPekka Hyvönen2016-11-0110-66/+141
| | | | | | | | | | | Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy). Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect. Internally it is still handled on AbstractComponent & -Connector level. Changes the declarative syntax, required -> required-indicator-visible. Fixes vaadin/framework8-issue#419 Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
* Implement focus/blur events for RadioButtonGroup.Denis Anisimov2016-10-311-1/+39
| | | | | | Fixes vaadin/framework8-issues#333 Change-Id: I55f5d6a0cd690f2c0b5e757318a5f528a67ef34e
* Implement focus/blur listeners for NativeSelect.Denis Anisimov2016-10-311-3/+41
| | | | | | Fixes vaadin/framework8-issues#332 Change-Id: I19996ea83ed1fbe2b115d92d6be5e6a5e158f283
* Implement focus and blur events for CheckBoxGroup.Denis Anisimov2016-10-317-41/+115
| | | | | | | Fixes vaadin/framework8-issues#334 Change-Id: I4c7ca424cc4f4a1f0cdecd7671827465ab74ace7
* Remove Locale from BeanValidator because of ValueContextPekka Hyvönen2016-10-313-54/+25
| | | | | | Fixes vaadin/framework8-issues#417 Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90
* Serve static files also in servletPath/VAADIN (#14398)Artur Signell2016-10-292-22/+98
| | | | Change-Id: I6891827a1fb99216d4e286c761d1384a88000604
* Remove JavaDoc mentions of RepaintRequestEvent (#19953)Leif Åstrand2016-10-284-19/+3
| | | | Change-Id: Ief1191b34018e6049c8d20d341150c0b9804f621
* Add ValueContext to ValidatorsTeemu Suo-Anttila2016-10-2617-122/+88
| | | | Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
* Rename Binder methodsPekka Hyvönen2016-10-2614-263/+288
| | | | | | | | | | | save -> writeBean, saveIfValid -> writeBeanIfValid, load -> readBean, bind -> setBean, unbind -> removeBean. Now setBean accepts null to reset the bean instead of throwing NPE. Closes vaadin/framework8-issues#91 Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
* Disable default null representation one way converter.Denis Anisimov2016-10-263-20/+161
| | | | | | Fixes vaadin/framework8-issues/#404 Change-Id: I9e07a7de5f67bbd7a5a59cf10cc1a8579cdfbbad
* Introduce "shouldWriteDefaultValues" property to DesignContext.Denis Anisimov2016-10-2621-72/+101
| | | | Change-Id: I979448e5af032333a6a2f7b99b11ab16c41d7b18
* Remove undocumented, unused extra default methods from ConverterTeemu Suo-Anttila2016-10-251-11/+0
| | | | Change-Id: I36a1deaadbb85d4b699c581058c80a7cd6e314fc
* Grid html/component content in headersAleksi Hietanen2016-10-252-20/+173
| | | | Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7
* Fix setValue() methods behavior null argument value + javadocsTeemu Suo-Anttila2016-10-2520-28/+274
| | | | Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
* Update ValueChange API to use Component and HasValue<>.Denis Anisimov2016-10-2521-134/+166
| | | | Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
* Binder.bindInstanceFields(Object) method implementation (#47).Denis Anisimov2016-10-256-5/+697
| | | | | | Binds class instance fields using reflection using Binder.forField() Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15
* Correct serializable issues and test that components can be serializedLeif Åstrand2016-10-2424-135/+400
| | | | Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
* Add ValueContext parameter for ConvertersTeemu Suo-Anttila2016-10-2440-144/+394
| | | | Change-Id: I47179b06b9e345f5a454ac1806d0bc9bcac24bcf
* Move old SelectionEvent to V7 and create a new selection event supertype Denis Anisimov2016-10-245-136/+128
| | | | Change-Id: I17496c803f81fdaa98e47cbfcc9bdc91625c134f
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-2412-44/+292
| | | | Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
* Add utility for outputting the full declarative syntax of componentsAleksi Hietanen2016-10-242-3/+17
| | | | Change-Id: I4bc740154ffb5a30892b1859a7550a7aeff94fb3
* Derive Listing components from HasValue.Denis Anisimov2016-10-2110-228/+370
| | | | | | | Single select components implement HasValue<T> and mutliselect components implements HasValue<Set<T>>. Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698
* Provide declarative tests for all V7 field components.Denis Anisimov2016-10-2114-167/+838
| | | | Change-Id: I6bd65efe355730f358fdbc38b9cc592e27077de2
* Revert "Initial support for null representations in Binder"Denis Anisimov2016-10-206-159/+36
| | | | | | This reverts commit 9f672890c143098b266ede6397e89379a38cc098. Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-206-36/+159
| | | | Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9
* Implement basic footer support for GridTeemu Suo-Anttila2016-10-192-0/+259
| | | | Change-Id: I3db51521320767a28bc3acd9586b1453764a15bc
* Throw exception from multiple columns with same identifierTeemu Suo-Anttila2016-10-192-3/+15
| | | | Change-Id: Ibb002cb862a7d0069ce4757e4c11482f6ae4d354
* Add "valo-menu-hover" stylename to make responsive menu appear w/o adding ↵Marc Englund2016-10-171-3/+23
| | | | | | | | | code (#19019) Adding the optional "valo-menu-hover" style to the "valo-menu" element will make the menu appear on hover - i.e when mousing over on desktop, when tapping on touch devices (which also triggers hover). Change-Id: I4ee83cdd0e4198e02782cfcda945193305c41152
* Use identifiers for Grid ColumnsTeemu Suo-Anttila2016-10-172-23/+101
| | | | Change-Id: Id229e533fc4ff58bdd2ce3862481f72210ed9e89
* Use diffstate for JS connectors (#20335)Leif Åstrand2016-10-173-7/+124
| | | | Change-Id: If2401d724f782ee76f92a6b89c54e51f90218bee
* Use placeholder instead of inputPrompt for DateFieldPekka Hyvönen2016-10-142-26/+13
| | | | | | | | | Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
* Move all themes except Valo into a new compatibility-themes packageAleksi Hietanen2016-10-136-870/+3
| | | | Change-Id: Ife0707c69bac83f190b5497af5fef1af43af6e46
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-1310-154/+37
| | | | | | | | | | | | | All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
* Update Binder to consistently use "bean" instead of "item"Aleksi Hietanen2016-10-121-41/+41
| | | | Change-Id: I1a33e451df8a28f82a02b5210ad0a538f3e12633
* Separate immediate mode for Upload from AbstactComponent.immediatePekka Hyvönen2016-10-071-20/+31
| | | | | | | | Makes it possible to remove the immediate from AbstractComponent. Part 2 / 2 of adding proper Upload immediateMode, first was to move old Upload to v7 compatiblity packages. Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0
* Add support for binder status change events (#208).Denis Anisimov2016-10-065-24/+764
| | | | Change-Id: Ic8dee407569ee310f007ebe32660a1d2922e9493
* Reintroduce reordering of grid columnsAleksi Hietanen2016-10-061-31/+220
| | | | Change-Id: If8a23427ef5500a0177081c4be8065d2d5a0ca4c
* Make Valo the default themePekka Hyvönen2016-10-062-2/+5
| | | | | | | | | | LegacyApplication explicitly uses "reindeer" as default theme. Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit. All new tests should be based on AbstractTestUI. Also added AbstractReindeerTestUIWithLog for those that needed it. Removed all found @Theme("valo") and used proper parent test class. Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad
* Make ColorPicker subcomponents HasValuesJohannes Dahlström2016-10-0512-583/+210
| | | | Change-Id: Ia0502ef515e2b44f105a3a4c6ae7b0b62b8ab6bb
* Update documentation (+javadoc) references to obsolete OptionGroup #237.Denis Anisimov2016-10-051-5/+5
| | | | Change-Id: Ie90e91f61a5795c90de3c690c3b6af80ec1448d9
* Clean up ColorPickerPopupJohannes Dahlström2016-10-031-55/+32
| | | | Change-Id: I3d7f398b34c0a2627a99d29f731c08be0c6df4c9
* Make ColorPicker an AbstractField<Color>Johannes Dahlström2016-10-033-152/+99
| | | | | | | Remove old ColorSelector API from ColorPicker. The various subcomponents still implement ColorSelector for now. Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089
* Do not derive DataSource from Function and replace apply method #307.Denis Anisimov2016-10-037-23/+31
| | | | Change-Id: Ic0587e75c9a50c802a64673b1db0b8828b37889c
* Migrating 7.7.1, 7.7.2, 7.7.3 to V8.Denis Anisimov2016-10-035-18/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 11c3f8bd9ea65f7a7b8da9a282c31a127bd475a6 - Test and its UI class are added (both V8 and V7). Required functionality should be available via modern GWT version. commit 729dbf96fe76e7627168ab2c9d1d71c4eb7214c8 - About update release notes. No need to be included. commit 675f38349c43ac45dae40cf33a7b1fd0f8f261ca - V8 already contains correct Import-Packages section which uses osgi.javax.servlet.version variable whise version is 3.0.0 at the moment. commit 5da7c052f55cb4703b74f38f5bb19fc3f3fa2a76 - Use Vaadin plugin 7.7.0 from 7.7.0.alpha1. Is not applicable. commit 1df80001ab6c916effa917781dba652d09d01056 - Updated tutorial to Vaadin 7.7.0. Is not applicable. The tutorial already contains correct links and updated source code snippets. commit 8b4f0ed8a894b04902a5d4258119dcdc8e76d1e0 - set-property-fallback name="user.agent" value="safari". Is already there. commit 28ed04e827669cc4dd329331dac9699bd93f70bc - Fix animation end listeners so they are always removed. Is already there. commit 408253bc3f8bd3975f0525ce6832be214a3552e9 - Use servlet context classloader when finding servlet class for websockets. Is already there. commit 7a6f250d89474849648ed2ee96a6bfb78c3b9ca8 - Fire actions before removing menu from the DOM. Is already there. commit 9b66c6eb9bebf657d3f2def8c767e0e9d51cc92c - Do not run test on IE8 as IE8 is broken. Transplanted. commit 3faa43ff39ecda56587b93f0c5e262a2907871a7 - Discard for DateField when the data source contains null. It is not applicable for V8 (There is no anymore discard method in DateField (and no datasource suport in field)). Transplanted for DateField in compatibility. commit e0c1f91a3d6d1884e07ce8d1ba957aff6a9bf29a - Fix ComboBox paging when number of items equals page length. It's already done by another fix which replaced ComboBox in compatibility package to the V7 version. commit 83a1b8a0961cc9b2d43e01757530cefd035b0a22 - Update DOM and update escalator row count in the correct order. Transplanted. commit 45f2fba8ff7a4b62680618a325d4afcebfb7a1e9 - Prevent editor from being canceled while it is being saved. Transplanted to compatibility package. Is not applicable to modern Grid. commit ad67f7f43afb0feec5e029aea90297f2abe4f2c1 - Delete broken stylesheet and revert to default style until a new stylesheet is created. Is already there. commit c970a78d42a2d8f1745df7a11a74f3731f8be9a5 - Always show loading indicator for JavaScript RPC. Transplanted. commit 2aad3416061586f7e2649160bd832eefe03702ad - Make test independent of any converters present in the factory. It's already there. commit c9ad48430be135d18fe9f30868e091dd51c57b94 - Do not include yuicompressor for Sass compiler. Transplanted. Exclusion is added into vaadin/pom.xml commit 52d01a68e91ce73306b3a1747af97e928048ecdf - Test for Firefox download disconnecting push channel. Transplanted. commit 4bc375d1d21f468e6433da3a183150e0bfe0cae4 - Handle encoded URL characters correctly when constructing widget set name. Transplanted. commit 17ba88eaf87e15e6f3c729e5c7f8e875d5f86d8d - Update version to 7.7-SNAPSHOT. Is not applicable. commit 47b7b13e5c959de3bd925693b074d85e7625a87e - Ensure Firefox always updates the grid scrollbar. Transplanted. Made changes in the logic to the test for modern Grid component. commit 4d851ba21d1b8f35685b631d2845731f8fb33252 - Calculate column widths immediately if there is data. Transplanted to both client side modules. commit 8f0b1a1dd026a756912c9f21bd2b34ea46897c7f - Skip Maven enforcer plugin during demo validation. Transplanted (one build file is affected). commit 62815353e1b9d3cd126809f5c818ad35bf913807 - Build demos from 7.7 branch (now for master branch). FW8 demos are added (one build file is affected). commit 815d72115d5aaf3676daefd5642115577e4151ef - Make test pass on all browsers. Transplanted to both V7 and V8 version tests. commit 516c428ca127e3c31b7b4d74220e4b7eed4571be - Use widget set specified by init parameter. Transplanted to the one UIProvider class. commit b00c580ed70f682a42afbfa91f978921bb86c2cd - Use correct column index when calculating min width during resize. Transplanted into both client side classes (main and compatibility) as is. Test for V7 is transplanted as is. Test for V8 is written from scratch based on V7 version. commit 7dd91cf057eb06a09009096a8278f34aad9bd8d9 - Fix regression that broke widget set compilation in 7.7.1. It's already there. commit c665731b0b97b697e80c47955d3558c19f0c81cb - Ensure temporary layout manager state is cleared at the end of a layout phase. Transplanted to the one LayoutManager class. commit 57a965251afdb5ee9ac1913a0101d854d8215aa6 - Fix assertion error when column widths are calculated. Transplanted to both versions of the client Grid widget. commit c5c52684eb30d924cb75a632b526a0f879d5a33c - Format Java files using Eclipse Neon and Vaadin settings. Only formatting changes. Is not transplanted. f5d06d877165bf413ec71c4fc88cf46c8c57a372 - Change javadoc to a style Eclipse formatter can handle. Transplanted to both versions of the client Grid widget. commit 6033e13c20b3d6e8b6f5add0f786d5ab2e1bb3fe - Make initially disabled grid work when enabled. Transplanted to both client side modules. commit a2d6e4fb4b1fd13e9a1b88f2ab1b78d14d8b64a9 - Use requestAnimationFrame when scrolling in Grid. Transplanted to both client side modules. commit fe9438e7b77c606855cfd739dd7e30b3f8cd4165 - Specify branch also for Sampler. Is not applicable for master branch. commit 1ec5d8ef7cb8bbd82bae1c9b79a376a5dca28f48 - Update to Chrome 53. Is already there. commit 961851bfbc4844474299433c34af6c9e4323d891 - Updated link to new step 1 video in tutorial. Is already there. commit 41dc2fe1611adc70d00e6f77debb2a6d4dcdefb0 - Revert "Use widget set specified by init parameter. Transplanted to the one UIProvider class. commit 092b4f7f3192555fe3ae22ac03a89ac2ada2a2dd - Use widget set specified by init parameter. Transplanted to the common server side classes. commit 977cec7e3107c2da306d46449dbf32f6544313be - Fix widget set builder to create widget set in correct location. Transplanted to the one ClassPathExplorer class file. commit 6c12ad89ea1064cd4cc0456baca5ee00ae76d032 - Format project pom files using correct settings. Is not transplanted: only formatting changes for POM files. commit 0aad93ecc1ce743dffc093ce7ae2ef88831f6073 - Add tests for widgetset compilation in different modes. Transplanted. New test projects. commit 0a3a1ef8321ed421be2337034fdb1cae2c434c3d - Use versions-maven-plugin 2.3 to avoid NPE while setting project version. Is already there. Change-Id: Ie3a5088f25de1772f01ea30c4a5eba0b169ee0ab
* Make AbstractDateField based on LocalDate (#125).Denis Anisimov2016-09-3010-325/+222
| | | | Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
* Fix RadioButtonGroup client-side NPE which breaks item icons.elmot2016-09-301-3/+3
| | | | Change-Id: I3a9c887196b503eaa8c2307d7a714ce61e6deacc
* Unify listeners on the server sideAleksi Hietanen2016-09-2957-689/+545
| | | | | | | | | | | This patch updates server side add*Listener methods to return a registration object and deprecates their corresponding remove*Listener methods. Additionally this patch removes add/removeListener methods which were deprecated in 7.0. Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
* Fix item caption generators in RadioButton/CheckBoxGroupAleksi Hietanen2016-09-293-46/+62
| | | | | | | | | | This patch corrects the behavior of setting caption generators that may return null. Additionally renames RadioButtonGroup's ItemIconProviders to generators, unifying it with other select components. Change-Id: I5e8491834dccce1c37ab9c2002acc475e8945f4b
* ListSelect with new data binding API8.0.0.alpha3Pekka Hyvönen2016-09-283-1/+204
| | | | | | | | No single select mode for list select. Based on AbstractMultiSelect. Removes feature for adding new items. Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d
* Implement default header row in new GridJohannes Dahlström2016-09-285-49/+287
| | | | Change-Id: Id26a98caca022ed2a4dbe0128a79721a54f5b267