summaryrefslogtreecommitdiffstats
path: root/server/tests/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Fixed UI.getPushConfiguration().getTransport() always returning null (#16499)wodencafe2015-02-021-0/+46
| | | | Change-Id: I31a923faf5ae369ffc2160cdeb12584ca0babc9d
* Handle cases when start/end date is not set for Between filter (#13354).Denis Anisimov2015-02-021-0/+61
| | | | Change-Id: If75998b1bc87b0bd7d2fa83298e1f17d65a18745
* ICON_ONLY mode should not show icon row header for TreeTable (#14799).Denis Anisimov2015-01-201-0/+72
| | | | Change-Id: If854186547e3d7b8e67710113ec6754bc84ace2f
* Throw IllegalArgumentException on non-existent version column. (#15290)Sauli Tähkäpää2015-01-051-65/+91
| | | | | | | Change-Id: I68fdea1144253feba906acd882b573d469f39a30 Conflicts: server/tests/src/com/vaadin/data/util/sqlcontainer/SQLContainerTableQueryTest.java
* Make addNestedContainerBean work with existing bean item container items ↵Artur Signell2014-12-161-0/+42
| | | | | | (#15355) Change-Id: I04a91349fce452aa26c304413061440ad74465cc
* SQLContainer removeItem Error when isModified (#8802)Ilya Ermakov2014-12-091-0/+14
| | | | | | This patch makes commit() work properly if an item was modified and later deleted. Change-Id: I5a00024112e7b6bb7ab3750c292a872937f03af9
* Add null check to UI.setTheme. (#15326)Sauli Tähkäpää2014-12-091-9/+55
| | | | Change-Id: I2ab2d24ec05bb618969f59ea15d3a971f88009ca
* Escape dynamic and configured theme names in the same way. (#15309)7.3.6Leif Åstrand2014-12-021-0/+43
| | | | Change-Id: Ib7fd42e6017d0b78e6d5e6bd7f531f0cd6c8c0ab
* Prevent NPE in AbstractBeanContainer.getType() method (#15173).Denis Anisimov2014-12-022-0/+26
| | | | Change-Id: Ieaed329ed85c68d0da8bd169b4cc5c5886dde212
* Optimizing and avoiding NPE in RowId and ReadOnlyRowId toString(#10410).Denis Anisimov2014-11-282-0/+15
| | | | Change-Id: I6f16b9c55f661f5f75628ff627a01f8ec35e714e
* Add null check to FieldGroup.bind. (#14729)Sauli Tähkäpää2014-11-101-0/+40
| | | | Change-Id: I56ee44f34307d76c8c98ca3346feed8e7ee2f72e
* Change the way classloader for VaadinService is selected (fixes #11295)Maciej Przepióra2014-11-103-2/+9
| | | | Change-Id: I2a25b4149f927ee7940edf596e8cebaaa48dcd0d
* Upload: OutOfMemory if stream already been read (#10096)Sergey Budkin2014-11-101-0/+64
| | | | | | Added -1 check and test. Change-Id: I3f6c61417353884d22d8e6b33ef21319475c1907
* Fire attach/detach events when Window is added/removed from UI (#14908).Denis Anisimov2014-11-101-0/+44
| | | | Change-Id: Idc51aa5ab97a9d3f7a1f316d9536ae1cbaeafe38
* FieldGroup should not throw NPE when data source is not set (#14901).Denis Anisimov2014-10-291-0/+55
| | | | Change-Id: I74bea857306fac5123aa86cdabc70d81c2a72094
* All day property support is added to ContainerEventProvider (#14178).Denis Anisimov2014-10-161-0/+88
| | | | Change-Id: I8d5580895a218440a8295ed79453d6cbe24195b1
* Use workaround for JDK6 Introspection bug JDK-6788525 (#14839).Denis Anisimov2014-10-141-0/+41
| | | | Change-Id: Ib7ef769b7537675c681ac1fab24a425d19a267e7
* FieldGroup.commit throws NPE if not bound to an item (#14732).Sergey Budkin2014-10-141-0/+33
| | | | | | Added null check and corresponding test. Change-Id: I197dad14d6b5f7bf9bedcdf083d4b1f0f20efdcd
* Check eventRouter value against null in Page class (#14803).Denis Anisimov2014-10-141-0/+92
| | | | Change-Id: Ia7dd54c4cf10a2c56a5ef36864a6bb94f1d9167f
* Call endUpload() in finally block of fail handling (#14677).Denis Anisimov2014-10-141-0/+101
| | | | Change-Id: I0b5976abf0d8804e8cd34c5dd489da8617ef89f1
* Read input stream logic is corrected (#14533).Denis Anisimov2014-10-131-0/+148
| | | | Change-Id: I1a8a895d631889e04f7acbde29306e86da344a23
* Possible VaadinSession deadlock when invalidating HTTP session (#14452)Sergey Budkin2014-10-071-8/+93
| | | | | | VaadinService.fireSessionDestroy: session.accessSynchronously -> session.access Change-Id: I72e08c9285e6b34dac54401c6c84b7175133e481
* Improve proxy comparison support (#14639)Juuso Valli2014-09-151-0/+50
| | | | Change-Id: I114ea5bf9d55c78826c1163206caf585b96143ef
* Fix potential invalid JSON output in MetadataWriter (#14591)Johannes Dahlström2014-09-121-0/+14
| | | | Change-Id: I90ec428ae11727b9762d53ebb8d94f8c850c425b
* StreamResource methods equals() and hashCode() are corrected (#14027).Denis Anisimov2014-09-121-0/+55
| | | | Change-Id: I68a629a29cc0d6efd2dd7788875a1dc4182ee6bf
* Handle byte[] type in StatementHelper and correct SQLException (#13305).Denis Anisimov2014-09-121-0/+54
| | | | Change-Id: I235ebe6250b9c03bbea393df7e8eb8823d119a2c
* Disable automatic removal of trailing whitespace and reformatted using LunaArtur Signell2014-07-311-1/+2
| | | | | | | | | | 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
* Add asserts checking for negative container sizes (#14232)Leif Åstrand2014-07-171-0/+59
| | | | Change-Id: I5b6298be367e4fe820320a5e3fd6bf5aaa7e2047
* Remove csrfToken if disable-xsrf-protection is true (#14111)Bogdan Udrescu2014-07-151-0/+248
| | | | | | | If the server sends no token and the client value remains "init" then it's not sent back to the server. Change-Id: I74fc470c5c22d57c4a48eab3e4476ae4cc2dd242
* Avoid object creation in getAllChildrenIterable in most cases. (#14142)Fabian Lange2014-07-041-0/+2
| | | | | | | | | | | | API change from: public static Iterable<ClientConnector> getAllChildrenIterable(final ClientConnector connector) to public static Iterable<? extends ClientConnector> getAllChildrenIterable(final ClientConnector connector) avoids creating wrappers in case the component has either no subcomponents or no extensions. This covers the vast majority of components. Change-Id: I48ffd2f26f09c265fae6e1aaabdbaa655d52ffb8
* Add conf option for disabling sync id checking (#14084)Leif Åstrand2014-07-011-0/+10
| | | | Change-Id: If3fcc88e69d797b219f5af5906853a42d81f693c
* Reading properties of components should not set state to dirty (#14060).Fabian Lange2014-06-241-0/+100
| | | | | | | | | Added Automatic Testcase. The testcase needs a default constructor, which has been added. The test also found an edge case in Form.java which has been corrected, as well as one missing getState(false) in AbstractMedia. Change-Id: Id764c9e1596123015a84f6c2a9507f03bde383b1
* Allow use of Collection<String> and others with addItems (#13865)Artur Signell2014-05-281-0/+76
| | | | Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0
* Properly deserialize push connection (#12235)Johannes Dahlström2014-05-261-0/+56
| | | | | | | | | | The UI.pushConnection field is transient no longer; instead PushConnection implementations must take care of serialization internally. When a session is serialized, the client should notice that push was disconnected and try to reconnect. A deserialized PushConnection should be in a "disconnected" state so the eventual client reconnection works correctly. Change-Id: I38cfc5a5cdbd3643311f830f8d580458dcd85c56
* Prevent adding/setting parent component as child (#12720).Denis Anisimov2014-05-222-0/+109
| | | | Change-Id: I9b7b43f176e88d9edca591001297b94475a31854
* Remove some unnecessary semicolonsLeif Åstrand2014-05-221-1/+1
| | | | Change-Id: I8698a9ecf691adde9a3bc2e92047be5f3036df1e
* Don't use deprecated Assert classLeif Åstrand2014-05-1635-54/+43
| | | | Change-Id: I0dbef06d0fa319628f6fa528f5ab3adfd5752c11
* Allow editing colorpicker values in colorpicker in textfield #13469John Ahlroos2014-05-141-0/+57
| | | | | | | | This fix adds support for typing in color values according to http://www.w3schools.com/cssref/css_colors_legal.asp into the colorpicker popup input textfield. Change-Id: If14ead791725c3052c05aa31e12e237e90c32348
* Merge changes from origin/7.2 into masterJonatan Kronqvist2014-05-0555-57/+173
|\ | | | | | | | | | | | | | | | | | | 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-2316-18/+18
| | | | | | | | Change-Id: I1fc2bd735b538ebac6d4f41fc8536f26795cc85f
| * Merge changes from origin/7.1Artur Signell2014-04-2339-40/+40
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1638-39/+39
| | | | | | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
| * | Merge changes from origin/7.1Artur Signell2014-04-232-0/+148
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * ContainerEventProvider returns style names from container. Fixes #10718Maciej Przepióra2014-04-161-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | ContainerEventProvider doesn't actually return style names from container in certain situations (copy-pasted code). This patch fixes the problem. Change-Id: I512ea260f34a6db0572b614db393699da152fa8d (cherry picked from commit 4709b75bb47d28630dacbb240bb43de16d972371)
| | * Add test for TransactionalPropertyWrapper memory leaksTeemu Suo-Anttila2014-04-141-0/+116
| | | | | | | | | | | | Change-Id: I69d0d759f95100f1dd9e2dbba57ec2c246e3aca9
| * | Merge branch 'master' into 7.2Jonatan Kronqvist2014-04-149-3/+653
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 72d0aa0 Update Window Javadoc based on 7.2 API review changes ee203f5 Apply abstract ordered layout settings for replaced component (#13568) 02998d8 Updated Window API based on 7.2 API review cd94b21 Discourage use of setNeedsLayout while a layout is running (#13542) f374bc7 Make ComboBox always immediate (#4054) aec102a Update 3rd party license information (#13449) 013d32d Remove old widget from tab content on replace (#12931). 3d0ff32 Prevent duplicate detach() calls with push (#13261) a452bad Refactor VaadinPortletRequest extending. (#13551) 55dfd29 Prevent duplicate session destroy events (#12612) 2067d4e Don't allocate unnecessary memory for empty array of Objects in MethodProperty (#10446). 00a9af5 Refactor PushConfigurationTest. Merge: no Change-Id: I6563769a77f91a68cfeadcb3306dd71fe431863c
* | | | Ensure session is set before writing timeout interval (#13617)Artur Signell2014-04-281-0/+95
| | | | | | | | | | | | | | | | Change-Id: I4a4f85fe400b9d6e60b81fd5c6c8dbc3b3eac02c
* | | | Fix findUI throwing NullPointerException when extending Vaadin (#13556)Juuso Valli2014-04-231-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | findUI sometimes threw a NPE when the session wasn't set but the UI ID was. Doesn't occur in normal use, just when doing custom things with requestStart/requestEnd or runPendingAccessTasks Change-Id: Id7733567923fa30dcab4946c43b73200c2a0fac2
* | | | Clean Table.propertyValueConverters if the property is removed (#8168)Juuso Valli2014-04-231-0/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean Table.propertyValueConverters if the property it attached to is removed, or if the container is changed and the new container does not contain a property with that identifier with a matching type. Change-Id: I894ee6462ea7b9c1f9138a24fcb84db829165c7d
* | | | Fix test depending on default localeJuuso Valli2014-04-171-1/+1
| | | | | | | | | | | | | | | | Change-Id: I4b90e01ddaa4535131df3262ac53a1e2e634b2ac