summaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Removes double spacing from gridLayout which has empty rows or columns (#8855)Dmitrii Rogozin2014-06-112-52/+158
| | | | | | | | | | If row has no elements or only invisible elements, its size will be set to zero. When row expand ratio was set, its size will be assigned to the value according to an expand ratio. If component takes several rows of the gridLayout, these rows are considered as non-empty and won't be removed. Change-Id: I10ddd22a6c9535b9978769bab7b496e11a28b78a
* Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)Antti Tanhuanpää2014-06-111-15/+30
| | | | Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82
* Assigning both primary style and style name is now handled correctly (#12190)Teemu Pöntelin2014-06-111-8/+10
| | | | Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0
* Fix tooltip positioning near screen edges (#12870)Juuso Valli2014-06-091-4/+49
| | | | Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa
* Prevent tooltip open if cursor leaves element (#13695)Juuso Valli2014-06-091-3/+1
| | | | Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b
* Fix for 'Aborting layout after 100 passess' (#13359)Tomi Virtanen2014-06-054-23/+271
| | | | | | | | | | | | | | | | | | | 'Aborting layout after 100 passes.' is caused by LayoutManager falling into a loop on rounding fractional layout slot sizes up and down while trying to fit layout's content in the space available. LayoutManager round always up, that causes this issue with IE9+ and Chrome. This change helps LayoutManager to round fractional sizes down for browsers that causes problems if rounded up. Browsers may fall into the loop especially with a zoom level other than 100%. Not with any zoom level though. Problematic zoom level varies by browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test for Chrome is the only one that really is able to reproduce error without the fix. IE9/10 would too, but the zoom level could not be set exactly to the required 95% for IE. Test works best as a regression test for other browsers. Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a
* Fix menu item tooltips showing up too early (#13914)Juuso Valli2014-06-031-4/+4
| | | | Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322
* Fix for handling a breakpoint with 0 as the lower bound (#13588)Teemu Pöntelin2014-06-021-3/+3
| | | | | | | Added explicit isNaN checks to the results of parseInt function because JavaScript would always convert 0 to false. Change-Id: Ic904c321c0195ce50d9a498005459425b0c30d4c
* Fix regression with error tooltips (#13695)Juuso Valli2014-06-021-0/+3
| | | | Change-Id: Ia076ba95ec3abd6625e81e17bdcf000a20349f4e
* Fix VAbstractOrderedLayout scrollbar in IE8 (#10106)Juuso Valli2014-06-021-0/+1
| | | | Change-Id: I188e28736e8092b30a813aeeb78247f5aec33295
* Fix tooltip delay (#13695)Juuso Valli2014-05-271-76/+69
| | | | Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e
* Allow using modifier + enter as shorcuts in TextArea (#13811)Artur Signell2014-05-261-4/+7
| | | | Change-Id: I99db3d6280f0066ed1249cb348da7e82381b45c2
* Fix caption listener leak and caption measurement (#13741)Juuso Valli2014-05-232-24/+13
| | | | | | Reverting the previous fix to caption measurement, it caused a leak with the listeners. Change-Id: If1c06db692c0e829d91528eceb49a9a07f58ed4a
* Fix issue when typing fast in combobox edit box plus then press TAB (#12325)Dmitrii Rogozin2014-05-221-11/+12
| | | | Change-Id: I35375d2b39fbd666d848f6ffa62aa0ce1c0d4fad
* Replace use of deprecated DOM.setStyleAttribute method (#13781)Leif Åstrand2014-05-2220-191/+208
| | | | | | | | | | | | This change is only a brain dead replacement of one specific method. In some cases, there were some oddities in the surrounding code as well, but these were left unresolved on purpose. It should also be noted that DOM.setStyleAttribute just delegates to element.getStyle().setProperty(), so any null references would have caused problems already in the existing code. Change-Id: I340122ac0767af9928076376f76e5bd2c5e19f9f
* Make Hearbeat available to other modules (#13250)Manolo Carrasco2014-05-222-42/+114
| | | | | | | | | | | - When a mobile app goes online/offline we need to change Heartbeat interval and restart the schedule. - We also need to be notified about response status in order to show the appropriate offline UI, etc. Related with Issue #13250 and review https://dev.vaadin.com/review/#/c/3376/ Change-Id: I428501306e37fb8c2ee0ed6022a4c588bd8456db
* Treat initial rendering and style changes separately. (#13444)Markus Koivisto2014-05-221-6/+12
| | | | | | | This fixes a regression caused by a previous patch, which led to empty comboboxes being initialised with a zero width. Change-Id: I7e5ca0c563625c453e0e3006d91ed52ad227d6f0
* Fix caption measurement in VAbstractOrderedLayout (#13741)Juuso Valli2014-05-211-0/+23
| | | | Change-Id: I7bb9a404c789f352477b752537ffdedfc60da91c
* Keep all checkbox related data in Map don't address it via the index #11772Denis Anisimov2014-05-211-10/+17
| | | | Change-Id: I2c9c68134d9fe958e2881975d1d845dea819a761
* Fix keyboard navigating in combo box (#11333).Dmitrii Rogozin2014-05-212-55/+81
| | | | | | Extract code which focuses on item after changing the page. Deferring this method allows to update the list of items before focusing. Change-Id: I7d249c2abbd5c24ca2d798736e483f2b7dfa59f1
* Change forceUpdate flag to always force recalculation of width. Fix tests. ↵Markus Koivisto2014-05-161-1/+2
| | | | | | (#13444) Change-Id: Ie666e2867908160b1544d3bf8251802ea771660f
* Avoid Vaadin entry-point being run twice (#13730)Manolo Carrasco2014-05-161-0/+8
| | | | | | | - Prevent bootstrap script fail if registerWidgetset is called twice with the same widgetset. Change-Id: I8b8069b442ea91c1aa0f0b7dd73c41902e75094b
* Made user-initiated column resizing take precedence over other updates (#13432)Juho Nurminen2014-05-161-2/+7
| | | | | | | VScrollTable ignores server-initiated changes to column size while the user is dragging a table resizer element. Change-Id: I2866246e7975a8ddddbfdc12a9d99fb2c813a870
* Set "v-formlayout" as the first style for VFormLayout (#13509).Denis Anisimov2014-05-151-2/+2
| | | | Change-Id: I63f0b1c8da52d426b5c370097256b08dbd44b5d7
* Fix table scrolling up on select (#10106)Juuso Valli2014-05-141-1/+11
| | | | Change-Id: I4d13bee983817ce299d1f7e52ddd6cdc725fee6f
* Fixed disabled and read-only modes of InlineDateField (#10262)Teemu Pöntelin2014-05-141-6/+6
| | | | Change-Id: If95d50954a4122b1039174ffcacd7874f7f1f71e
* Force recalc of width when the ComboBox style has changed (#13444)Markus Koivisto2014-05-132-3/+37
| | | | Change-Id: I7bb500c1b64502881824875e967cf43c5e49a999
* Do not update state on the client side (#13743)Artur Signell2014-05-121-5/+5
| | | | Change-Id: I2e1d714d1bb07db127758cf3f2d741ac50884266
* Add missing @sinces to JavaDocTeemu Suo-Anttila2014-05-123-3/+4
| | | | Change-Id: Ib36d9c591c5089eeacacc94f68e4fbb064e5418d
* Fix SelectedItemIcon rendering on IE (#13731)Teemu Suo-Anttila2014-05-121-0/+4
| | | | Change-Id: Ie6a3464399aba76b9299bcb7d326ef4e6b6c858b
* Make SuperDevMode work again (#13682)Artur Signell2014-05-122-9/+14
| | | | | | | | VNotification now works without ApplicationConnection again. Dependencies needed by codeserver are now dependencies for client-compiler Error message now takes into account that devModeRedirect is enabled by default Change-Id: I079d162d9975f99fe7b91e14ad100459c80a5587
* Ignore PointerEvents in VDragAndDropManager (#13720)Teemu Suo-Anttila2014-05-091-4/+3
| | | | Change-Id: I1fca0b71fec883c7dc2fafbaa1da20da33fe707e
* Rename base on API review (#13557)Artur Signell2014-05-093-10/+10
| | | | Change-Id: I3174d19d2595232b66f4120ba8fb6fbb1c6d8be8
* Remove ComponentLocator which conflicts with package name (#13729)Artur Signell2014-05-091-36/+0
| | | | Change-Id: I771d827ab88f005f8cbef6c6cbefecb1b3f498e0
* Resize PopupView's overlay on content resize (#13666)Antti Tanhuanpää2014-05-091-2/+16
| | | | Change-Id: Iad410f26ed7f20bb03f15c46673f6f18081261d9
* Fix table focusing when scrolled from the server (#10522)Juuso Valli2014-05-091-21/+16
| | | | Change-Id: Ib18a60ae7e41af8c6c119e5b2e12e4fd5bf1069c
* Fix occasionally misplaced error indicators in Buttons (#13723)Teemu Suo-Anttila2014-05-081-2/+1
| | | | Change-Id: Id34a8463ff40b1351d4d8b171e561a21fc76d747
* Fix misleading message. Close does not always mean reconnectArtur Signell2014-05-061-1/+1
| | | | Change-Id: Ic41189ee138980322204c897b58e29252dfc5cd8
* Fix header and Javadoc issuesTeemu Suo-Anttila2014-05-052-3/+3
| | | | Change-Id: I171067273aedc7248e9c044bea0ebf67155fd7a9
* Disable border width storing from TabSheet (#13706)Teemu Suo-Anttila2014-05-051-14/+4
| | | | Change-Id: Ibf6ee26e3a1a6604bb850355855c4ef53b9bafc2
* Merge changes from origin/7.2 into masterJonatan Kronqvist2014-05-05369-460/+1294
|\ | | | | | | | | | | | | | | | | | | Conflicts: build.properties client/src/com/vaadin/client/ApplicationConnection.java client/src/com/vaadin/client/extensions/ResponsiveConnector.java server/src/com/vaadin/server/Responsive.java Change-Id: I49f90521611d1b86704a60c3d003cdeea9c3b864
| * Update remaining copyright years to 2014Artur Signell2014-04-2334-37/+37
| | | | | | | | Change-Id: I1fc2bd735b538ebac6d4f41fc8536f26795cc85f
| * Merge changes from origin/7.1Artur Signell2014-04-233-1/+16
| |\ | | | | | | | | | | | | | | | | | | 9c29442 Replace SelectionRangeDragging TB2 test with TB3 test 9fa230d Avoid eagerly layouting from VScrollTable.updateFromUIDL (#13188) Change-Id: I4f1395a13e8b1eae44a0030a3679475a3db9160a
| | * Avoid eagerly layouting from VScrollTable.updateFromUIDL (#13188)Tomi Virtanen2014-04-173-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closing a modal sub-window at the same time when TreeTable item is removed, caused the detached Window being re-opened by WindowConnector.postLayout() call. This change adds a check in postLayout: continue operation only if the window is attached to DOM. Or else, log a warning message about the invalid postLayout call. Another change is in TreeTableConnector and VScrollTable to disallow Util.notifyParentOfSizeChange(Widget, boolean) with a boolean 'false' argument, when rendering is in progress. 'false' causes an immediate LayoutManager.layoutNow() call, which is the main reason for this issue. Change-Id: I6f3e331b0feff9e7814ae1d749f6f7812dcd49ac
| * | Merge changes from origin/7.1Artur Signell2014-04-23334-381/+381
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e77e73c Update copyright year to 2014 Conflicts: client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ConnectorBundle.java client/src/com/vaadin/client/ApplicationConnection.java server/src/com/vaadin/data/util/converter/StringToNumberConverter.java shared/src/com/vaadin/shared/ui/ui/PageState.java shared/src/com/vaadin/shared/ui/window/WindowState.java theme-compiler/src/com/vaadin/sass/SassCompiler.java theme-compiler/src/com/vaadin/sass/internal/ScssStylesheet.java theme-compiler/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluator.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryExpression.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryOperator.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/ArithmeticException.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/IncompatibleUnitsException.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandler.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandlerImpl.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSErrorHandler.java theme-compiler/src/com/vaadin/sass/internal/parser/CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/Generic_CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/LexicalUnitImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/LocatorImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/MediaListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/ParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSLexicalUnit.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/SelectorListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/Selectors.java theme-compiler/src/com/vaadin/sass/internal/parser/ThrowedParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Token.java theme-compiler/src/com/vaadin/sass/internal/parser/TokenMgrError.java theme-compiler/src/com/vaadin/sass/internal/resolver/ClassloaderResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/FilesystemResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/ScssStylesheetResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/VaadinResolver.java theme-compiler/src/com/vaadin/sass/internal/selector/SelectorUtil.java theme-compiler/src/com/vaadin/sass/internal/tree/BlockNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ExtendNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ForNode.java theme-compiler/src/com/vaadin/sass/internal/tree/FunctionNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ImportNode.java theme-compiler/src/com/vaadin/sass/internal/tree/KeyframesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListContainsNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListModifyNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListRemoveNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MediaNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MicrosoftRuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinNode.java theme-compiler/src/com/vaadin/sass/internal/tree/NestPropertiesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/Node.java theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/SimpleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/VariableNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/EachDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfElseDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfNode.java theme-compiler/src/com/vaadin/sass/internal/util/ColorUtil.java theme-compiler/src/com/vaadin/sass/internal/util/DeepCopy.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayInputStream.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayOutputStream.java theme-compiler/src/com/vaadin/sass/internal/util/StringUtil.java theme-compiler/src/com/vaadin/sass/internal/visitor/BlockNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/EachNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ExtendNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/IfElseNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/NestedNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/VariableNodeHandler.java theme-compiler/tests/src/com/vaadin/sass/AbstractTestBase.java theme-compiler/tests/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluatorTest.java theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java theme-compiler/tests/src/com/vaadin/sass/resolvers/VaadinResolverTest.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Interpolation.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Selectors.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AbstractDirectoryScanningSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AutomaticSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ControlDirectives.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Extends.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Functions.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Imports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Mixins.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/NestedProperties.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Nesting.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentImports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentSelector.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTestsBroken.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassTestRunner.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Variables.java theme-compiler/tests/src/com/vaadin/sass/tree/ImportNodeTest.java uitest/src/com/vaadin/tests/push/BasicPushTest.java uitest/src/com/vaadin/tests/push/PushConfigurationTest.java uitest/src/com/vaadin/tests/push/PushReconnectTest.java Change-Id: Ic08c4f9aecd4c684ce74408de4e0b0d0ff617273
| | * Update copyright year to 2014Artur Signell2014-04-16333-381/+381
| | | | | | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
| * | Merge changes from origin/7.1Artur Signell2014-04-232-38/+40
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d4080b ContainerEventProvider returns style names from container. Fixes #10718 6e91bdf Add test for TransactionalPropertyWrapper memory leaks f0aaf89 Fixed resetting of ComboBox if focused and new items allowed (#13413). e033fcd Always initialize WebBrowser for new sessions (#13571) 168de1f Revert "Drag image for text-area should contain text of text-area (#13557)" 35e2a34 Fix FieldGroup and TransactionalPropertyWrapper memory leaks (#13438) 7e5d44d Introduce a drag threshold for Drag and Drop (#13381) f227f0c Drag image for text-area should contain text of text-area (#13557). Change-Id: Idb01471f8ab0c7118fa884c364e6bc200d13948a
| | * Fixed resetting of ComboBox if focused and new items allowed (#13413).Tapio Aali2014-04-141-1/+3
| | | | | | | | | | | | Change-Id: Ibea81666101ff119e1b3e48726224f369e59b00f
| | * Revert "Drag image for text-area should contain text of text-area (#13557)"Teemu Suo-Anttila2014-04-143-85/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f227f0c1068f17e5491bd399d9f5bde16a0c8272. Synchronising content after IE wraps the given element into a table with a body causes a NullPointerException on client side. This patch also contains new API and should be targeted to master branch. Change-Id: Ia19acd9fa31c7b67507bf797a2bab7c28ea37b4b
| | * Introduce a drag threshold for Drag and Drop (#13381)Teemu Suo-Anttila2014-04-111-37/+37
| | | | | | | | | | | | | | | | | | Based on partial fix by Fabian Lange. Change-Id: I1a18c6ea105d87496b196b93e701aaccb987b3e7