aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
Commit message (Collapse)AuthorAgeFilesLines
...
* Make ColorPicker an AbstractField<Color>Johannes Dahlström2016-10-032-150/+97
| | | | | | | 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-034-12/+20
| | | | 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-305-245/+168
| | | | 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-2952-657/+484
| | | | | | | | | | | 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-292-45/+61
| | | | | | | | | | 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-281-0/+124
| | | | | | | | 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-283-31/+182
| | | | Change-Id: Id26a98caca022ed2a4dbe0128a79721a54f5b267
* Initial support for multiple headers in new GridJohannes Dahlström2016-09-273-5/+570
| | | | Change-Id: I7a3fa34749322451ab5cef4465d4d7c76029c097
* TwinColSelect with new databinding APIPekka Hyvönen2016-09-274-217/+511
| | | | | | | | | | | | | | | | Removes feature for adding new items. Introduces a AbstractMultiSelect-abstraction layer, which is used in server side by TwinColSelect & CheckBoxGroup and on client side only TwinColSelect for now. Plan is to use it for ListSelect too. Further improvement would be to make AbstractMultiSelect use SelectionModel that extends AbstractSelectionModel and is thus used as an extension both as client & server side. Updates to JUnit 4.12 for easier use of @Parameterized test.. Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4
* Update DateRangeValidator to be LocalDate based (#320).Denis Anisimov2016-09-262-23/+13
| | | | Change-Id: I46500d5dd740b806bfa8c3849c54253c6ae92187
* Extract validation availability check out of BeanValidator (#251).Denis Anisimov2016-09-233-53/+74
| | | | | | | BeanValidator uses and depends on javax.validation classes. So JSR303 presence check is extracted out of it to avoid ClassNotFoundException. Change-Id: I8df9a9da873cf694a326c9abb05315c8e94a0a96
* Migrate AbstractJavaScriptRenderer to the new Grid (#182).Denis Anisimov2016-09-231-0/+179
| | | | Change-Id: Ic514875fab8d90484b3a73b073bcc9d53697de75
* Rename PopupDateField to DateField #297.Denis Anisimov2016-09-234-937/+938
| | | | | | | DateField becomes abstract AbstractDateField, PopupDateField becomes DateField Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
* Reintroduce grid column sizingAleksi Hietanen2016-09-231-14/+347
| | | | Change-Id: Ie5e91c3e9c8f2c9d8c05415d5602e2eaf3bd960b
* Re-add back Form to compatibility package (#296).Denis Anisimov2016-09-221-0/+53
| | | | Change-Id: Id187402e78e3c368ae6530f7b7ea68d2e6c4a6ca
* Fix typo in documentationSteven Spungin2016-09-221-1/+1
| | | | Change-Id: I1829680ae358d436b7b657125a9981827f173dd6
* Make CheckBoxGroup.SimpleMultiSelectModel return a selection copy #293.Denis Anisimov2016-09-211-1/+1
| | | | | | | getSelectedItems() must return a copy to fulfill the contract specified in SelectionModel: it must be a snapshot of the current state and safe to iterate over while changing selection. Change-Id: Ie2f15eb626dd80df2036bcb2d4e9387fc31389c9
* Avoid explicit casting to getter return type in getDescriptor() (#292).Denis Anisimov2016-09-211-1/+10
| | | | | | | BeanBinder may throw a ClassCastException in some cases because of explicit "cast" call which doesn't do boxing/unboxing. Change-Id: I8fc61612c2912f2626c075a4fc19cb812adf8aa2
* Move ItemIconProvider out of ComboBox, rename to IconGeneratorAleksi Hietanen2016-09-212-28/+61
| | | | Change-Id: I884a52c75b3be5573cf6634f211d72d09de69d80
* Reintroduce grid column hidingAleksi Hietanen2016-09-201-3/+227
| | | | Change-Id: I8a0344dffe3f2ef84f8134e05d9b7340d9b603a0
* Move ItemCaptionProvider out of ComboBox (#184).Denis Anisimov2016-09-202-29/+61
| | | | Change-Id: I7dc98de04127c7495aed81b9e0cd2be8cb12b10c
* Override forSelect methods for BeanBinder to return narrowed type.Denis Anisimov2016-09-201-0/+17
| | | | Change-Id: Ib97117d8d0b450edc49309902df535361e901942
* Move ItemStyleProvider out of ComboBox and unify with GridAleksi Hietanen2016-09-203-68/+98
| | | | Change-Id: Ic49fdbf651e9e3ef4ffd6944de597c2fd2f185da
* Create a RadioButtonGroup that replaces the single select case of OptionGroupelmot2016-09-161-0/+236
| | | | Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8
* 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
* Add CheckBoxRendererAleksi Hietanen2016-09-151-0/+46
| | | | Change-Id: I32d31d758ee3c313133c7b122bb3ea8dcfcc1cc3
* Update @since tags for 8.0Henri Sara2016-09-141-1/+1
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Implement support for binding multi-select componentsLeif Åstrand2016-09-144-45/+195
| | | | | | | Also updates ComponentTest.getRpcProxy to use an approach that doesn't require the component to be attached to a UI. Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76
* DataSource.refreshAll() for notifying components to reload (#233).Denis Anisimov2016-09-147-16/+270
| | | | | | | The method refreshAll() fires an event which is handled by UI components to reload their content. Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa
* Use state for ComboBox selectionHenri Sara2016-09-141-14/+1
| | | | Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41
* Convert ComboBox to inherit AbstractSingleSelectHenri Sara2016-09-142-100/+62
| | | | | | | ComboBoxState now inherits AbstractSingleSelectState, but still effectively communicates its selection via RPC. Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157
* Implement support for binding single-select componentsJohannes Dahlström2016-09-143-21/+130
| | | | Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329
* Add multi selection support to CheckBoxGroupLeif Åstrand2016-09-143-55/+255
| | | | | | | | This patch adds multi selection support only for CheckBoxGroup without even trying to generalize anything. Adopting the concepts to work with other components will be done separately. Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54
* Utility functions for helping to use elemental.json with Java 8Artur Signell2016-09-141-0/+247
| | | | Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-131-0/+262
| | | | Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1
* Fix invalid javadoc in ListDataSourcePekka Hyvönen2016-09-131-3/+11
| | | | Change-Id: I71e808554d10657ead61271c1c5cc76981214ee3
* Fix binder.load to reset validation status in the endPekka Hyvönen2016-09-131-0/+4
| | | | | | | Otherwise any validation triggered by field value changes listeners would cause errors to be visible after loading a new bean. Change-Id: I741529f491ae6b36ff2a9aa4326c394cc12fb320
* Fix inconsistent API naming in Binder and remove unused handlerPekka Hyvönen2016-09-1310-157/+108
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Clear binder errors after load/bindPekka Hyvönen2016-09-133-3/+61
| | | | | | | Adds an unresolved validation status to make it possible to clear visible field validation errors, even if status is not yet valid. Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2
* Add context event support to new GridArtur Signell2016-09-131-1/+91
| | | | Change-Id: I21c5bb95feb3dbab1b543943adc0584aa8eec87b
* Change ColorPicker to use new ComboBoxArtur Signell2016-09-1313-0/+2696
| | | | | | | ColorPicker is moved back to vaadin-server now that it no longer requires any old components Change-Id: Iebb34cc0724a4bba6eff53073400e803d9ffddd1
* Refactor Binder Status Handling APIPekka Hyvönen2016-09-1211-441/+544
| | | | | | | | | | | BinderStatusHandler is now triggered only once per validation. Unified ValidationError and BinderResult into BinderValidationStatus. Renamed ValidationStatusChangeEvent into ValidationStatus. Unified handler names for validation status. Next patch will fix resetting of field errors on reset. Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0
* Update ComboBox for new DataSource and communication mechanismHenri Sara2016-09-121-0/+690
| | | | | | | | This simplifies the client side state machine. This change does not modify the CSS class name v-filterselect. Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342
* Add hasChanges to BinderAleksi Hietanen2016-09-121-2/+33
| | | | Change-Id: Id308bd9b08973804e61706192c96118fd6446d3f
* Add selection support to NativeSelectJohannes Dahlström2016-09-121-19/+2
| | | | Change-Id: Iabe563852150a7d690f6e2edaa40253d03127881
* Update NativeSelect to use DataSource, extend AbstractListingJohannes Dahlström2016-09-121-0/+114
| | | | | | Selection and focus/blur support not yet implemented. Change-Id: I76752084442216e60055d93367475c1c0a612787
* Remove unused SingleSelectionJohannes Dahlström2016-09-121-144/+0
| | | | Change-Id: I33afc94a581d77984f459b0cbd0ff7fe49df8e79
* Reimplement Grid selection model in terms of AbstractSingleSelectionJohannes Dahlström2016-09-121-6/+42
| | | | Change-Id: Id21cb0df32e07bd01f90a29a814dcf0775067bfa