summaryrefslogtreecommitdiffstats
path: root/client/src
Commit message (Collapse)AuthorAgeFilesLines
* Prevent browser to scroll when space it pressed on a TabSheet (#14320)Bogdan Udrescu2014-08-141-1/+15
| | | | | | | | | | Browser page scroll by default when space key is pressed. The TabSheet uses the space key (32) to select the tab when navigating using left/right keys. So when the space is pressed the default browser page scroll behavior is now prevented. Change-Id: I8c3c7c4904109018d2f91447235e30dbd29eec5d
* Workaround for super dev mode line offset issue (#14051)Artur Signell2014-08-131-0/+4
| | | | Change-Id: I29f59fce90b7060a97787d3c3ce12f890af40079
* Pressing [down]+[enter] on a combobox now closes the popup. (#14379)Guillermo Alvarez2014-08-131-8/+12
| | | | | | | | Pressing down to open the popup menu and then pressing enter to select the same item as is already selected will now cause the same behavior as pressing the escape key when there are suggestions. Change-Id: I6052608cc5916d306a981aa0f98b0ae822da5eb4
* Correctly display an item which is too long for the textfield. (#13477)Guillermo Alvarez2014-08-132-6/+59
| | | | | | | New JSNI function allows direction parameter in setSelectionRange. This allows setting selection backward and fixes the issue in FF. Change-Id: I1e34b70983e3f525b7009668877038f108d286a7
* ResponsiveConnector should request layout update when breakpoints changeJouni Koivuviita2014-08-071-3/+14
| | | | | | (#14354) Change-Id: Ie995268f8d89a951e9ebb351edde4ba1e824101e
* Notification delay is not set to 0 when the notification is clicked (#14368)Jouni Koivuviita2014-08-071-20/+21
| | | | | | | | Reintroduce the delay timer which triggers the hiding of the notification. When the notification is clicked, no timer is used, the notification is hidden immediately. Change-Id: I93ecc5dcc34c10092b85f4e0daf7ecacfef77f7a
* Context menu is not shown in Table body on mobile browsers (#13694)Heikki Ohinmaa2014-08-071-30/+197
| | | | | | Includes updated tests. Change-Id: I928b888302a2cd22b7c94600fd4f8b7608ba0ca8
* Correctly display an item which is too long for the textfield. (#13477)Guillermo Alvarez2014-08-071-6/+17
| | | | | | | As setSelectionRange is not working correctly in IE the current approach sets the direction before setting the text and resets it to the original immediately after that. Change-Id: I33f40f9ae436122092d995fa17c35a9cbe38aedb
* Fix the closing of a popup DateField (#14086, #14375).Mika Murtojarvi2014-08-071-1/+1
| | | | | | The popup is made non-modal. Change-Id: Ia396ff1e2e88639b97c9f556d7d3866f76755436
* Fix table.setCurrentPageFirstItemIndex(n) to load only needed rows (#14135)Anthony Guerreiro2014-08-071-2/+35
| | | | Change-Id: I0186ce32f915b39a012bb653e501b0cad72a9f32
* Add method for widgets to tell there is work to be done (#13565)Dmitrii Rogozin2014-08-063-3/+77
| | | | Change-Id: I4b961443f6c175aaf2e2272f1257670fe6bc9607
* Fix regression caused by #14147 patch (#14147)Anthony Guerreiro2014-08-062-8/+8
| | | | | | The previous patch caused TestCurrentPageFirstItem to fail. Change-Id: I6eec8818f5ba2ce847a696afa40ba423ec482668
* Revert "Keyboard shift-selection now works as expected in VScrollTable. ↵Markus Koivisto2014-08-051-10/+9
| | | | | | | | | (#14094)" This reverts commit 441371a. The commit caused rows selected in a multiselect table to no longer be focused, which caused a number of regressions. Change-Id: I42d960cec9dfe24852b40a623f32e2b467704491
* Fix the behavior of PopupDateField when changing resolution (#14174).Mika Murtojarvi2014-08-052-4/+22
| | | | Change-Id: I99b325d71d9d6830349b92cc1226d6ad80066569
* Reverting multiple commits that caused 100+ regression tests to fail.Markus Koivisto2014-08-052-325/+218
| | | | | | | | | | 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
* Allow changing theme on the fly (#2874, #14139, #14124)Artur Signell2014-08-0410-56/+410
| | | | | | | | | | * 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-318-18/+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 typo that caused spanned cells to be removed in Gridlayout (#14335)Markus Koivisto2014-07-311-10/+10
| | | | | | | | Gridlayout removes columns and rows with no content. Gridlayout is supposed to check for spanned cells and not remove otherwise empty rows or columns if they are covered by a span. Change-Id: I1c25a8e6426e6ce0e24f9110a6b994598c395e7a
* Minor refactor to #14147 patch (#14147)Anthony Guerreiro2014-07-292-10/+10
| | | | Change-Id: I78cdbbad41fa6980f445ae770f7e7a8d7db39176
* Context menu is not shown in Table body on mobile browsers (#13694)Heikki Ohinmaa2014-07-291-210/+310
| | | | Change-Id: I095401164a931f3a69dea91037a6cbf35b197121
* Fix Table stuck scroll position after setting scroll to last page (#14147)Anthony Guerreiro2014-07-292-1/+8
| | | | Change-Id: I9c39db5c2ccafd495a1ecc8b28687eeeebe3b6c2
* TextArea size get reset when css resize is set (#14080)Bogdan Udrescu2014-07-282-56/+272
| | | | | | | 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
* Fix VWindow Vai-Aria roles for alertdialogs (#14289)Juuso Valli2014-07-281-4/+4
| | | | Change-Id: Ie33ef684f2177fe1807f95bf234031cc3a44f317
* Keyboard shift-selection now works as expected in VScrollTable. (#14094)Markus Koivisto2014-07-281-9/+10
| | | | Change-Id: I0dcd9f75cd30fe91c17ca0755241e73a37da79ec
* Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)Antti Tanhuanpää2014-07-283-136/+392
| | | | Change-Id: Idfeb20a385fc68c6527f1947bdbf238d9d4af918
* Bottom component click scroll up the parent panel in a window (#12943)Bogdan Udrescu2014-07-285-89/+53
| | | | | | | | | | | | | | | Due to old fix for (#11994) the v-scrollable div of the window would expand to 110% of its size then immediately back to the original size. The first action, expanding the v-scrollable to 110% would decrease the scrollTop value of our panel, while increasing its height. When the revert back action would set the v-scrollable to its own size, the panel's scrollTop would remain decreased, causing the scroll bar to move up, hiding the ~10% at the bottom. Fixed by calling Util.runWebkitOverflowAutoFix(); instead of changing the height. Change-Id: I79eafd1f9500c2e4c10dadbfc7100608c0732e04
* Fix NativeButton clickEvent coordinates in IE11 (#14022)Anthony Guerreiro2014-07-251-1/+3
| | | | | | | | Two clicks were being triggered for IE11, the first with coordinates (0,0) and the second with the correct coordinates. Change-Id: I6f0feb520710b254eac6542f082a5012de2c5f85
* Fixes memory leak in VScrollTable (#14159)Dmitrii Rogozin2014-07-172-6/+29
| | | | Change-Id: I59596630b71f5a6b78c13bc5dbeaf7ef5dfaccf9
* Remove csrfToken if disable-xsrf-protection is true (#14111)Bogdan Udrescu2014-07-152-109/+115
| | | | | | | If the server sends no token and the client value remains "init" then it's not sent back to the server. Change-Id: I74fc470c5c22d57c4a48eab3e4476ae4cc2dd242
* Adds a scrollbar to table column drop down (#14156).Felype Santiago Ferreira2014-07-141-0/+2
| | | | Change-Id: I7ce7c61f842a09af1842a14fedec3412120944c7
* Fix for drag-and-drop text to TextField in Firefox (#14056)Anthony Guerreiro2014-07-111-8/+49
| | | | | | Couldn't created an automated test in selenium - can't get it to drag text. Change-Id: I1a0beab97840401423e3b446015ff0c729bc2ca2
* Remove extra shadow from combobox popup for IE9 and IE10.(#14195)Dmitrii Rogozin2014-07-101-0/+8
| | | | Change-Id: I733f21f5fc0795633ed3a658b6b19681d8f26b22
* Fix box shadow bug with resizing elements in IE9 and IE10.(#14173)Dmitrii Rogozin2014-07-082-1/+22
| | | | Change-Id: I513340db4123c40bba0832f8af77ec5e725c24e6
* Return a value on __gwtStatsEvent in Profiler (#11709)Bogdan Udrescu2014-07-071-14/+14
| | | | | | | | Calling GWT RPC throw an exception when __gwtStatsEvent doesn't return a boolean. This was in the Profiler.ensureNoLogger where the function assigned was empty. Change-Id: If97e15eb3c2c6512e80f3bde81ba180b8c95c947
* Remove unused VWindowOverlay (#14055)Artur Signell2014-07-033-83/+5
| | | | Change-Id: I3125dec887106e746b95c220f587a8d3e39be0f0
* Remove shadow div for Overlay elements except IE8 (#9303).Henri Sara2014-07-031-38/+52
| | | | Change-Id: I7bdaf849e79191183013ca05e7420e10411f0b2e
* Revert "Allow changing theme on the fly (#2874)"Henri Sara2014-07-039-368/+54
| | | | | | | | | | | | | | | | This reverts commit 1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 as well as the related changes to @since, release notes etc. Conflicts: client/src/com/vaadin/client/ResourceLoader.java client/src/com/vaadin/client/communication/TranslatedURLReference.java client/src/com/vaadin/client/ui/ui/UIConnector.java server/src/com/vaadin/ui/UI.java shared/src/com/vaadin/shared/ui/ui/UIState.java uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java Change-Id: Id882dc730f51055f6d17200964bcaf8a1f87a35f
* Add missing @since 7.3 to javadocHenri Sara2014-07-035-22/+33
| | | | Change-Id: I62610ef647fbbb5a7cfae25ac5c7628f78f2c6ff
* Add missing @since 7.2.4 in javadocHenri Sara2014-07-033-0/+4
| | | | Change-Id: I48c37a377d6764333b83512dc613798aaf39423c
* Merge branch 'valo' to masterHenri Sara2014-06-3014-172/+1057
|\ | | | | | | | | | | | | | | Updated release notes to the form previously used in master. The ticket list link needs to be updated separately in the 7.3 branch. Change-Id: I7b7d09a1281261d3a1b8793cfff9ba8951a07798
| * Merge branch 'master' into valoHenri Sara2014-06-302-3/+29
| |\ | | | | | | | | | Change-Id: Ifeb36e6c0acd156b7714f96f32ad7d4ff8416100
| * \ Merge branch 'master' into valoJouni Koivuviita2014-06-2710-97/+437
| |\ \ | | | | | | | | | | | | Change-Id: Iffe877e047ee29dbd4e5b3a6098f82da3d0a47cc
| * \ \ Merge branch 'master' into valoJouni Koivuviita2014-06-2618-274/+340
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I9f804f3ba10922a3d59999df06a23f2daa4cd4e8
| * | | | Fix notification default delayJouni Koivuviita2014-06-181-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default hiding delay should be 0ms instead of 1000ms, according to the server side class at least. Change-Id: I064c01b2fdc9df4cbcbd74def8e494add22ee749
| * | | | Fix VOverlay animation-out jitterJouni Koivuviita2014-06-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An improper fix to an issue with the closing animation that was left there mistakenly. Change-Id: I645c6983058fb128cf060a3c7bb2766cb47e3a81
| * | | | Fix overlay animation-in/out for VNotification and PopupViewJouni Koivuviita2014-06-164-27/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Notification delay now applied to browsers without CSS animation support - PopupView now also supports animation-in and animation-out, and also shows the “loading” widget when the popup is opened and the server response takes a little longer. The popupComponentWidget is also kept in the popup during the animation-out Change-Id: Idb26d87a8cf75cfa3e145ea670dacc1c87ce75d6
| * | | | Fix multiple VOverlay animation-in/out related issuesJouni Koivuviita2014-06-165-100/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any running animation-in is now finished before animation-out is triggered. Moved windowClone variable into WindowConnector where it should be. Change-Id: I0ee733d05558d46a08e5e46f821104ad98783118
| * | | | Notification position should be controllable with CSS (#13990)Jouni Koivuviita2014-06-161-23/+49
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic04f97d00745c2b7d1b4c143b2a458ab47188fd2
| * | | | Merge branch 'master' into valoJouni Koivuviita2014-06-1611-140/+336
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build.properties Change-Id: I2477f2b420506d1b41d29d9bb1e361d66bedb68d
| * | | | | Fix copyright header in AnimationUtilHenri Sara2014-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I768d93e8eb7f4b6415f17c80bc4564053313dc56