summaryrefslogtreecommitdiffstats
path: root/client-compiler
Commit message (Collapse)AuthorAgeFilesLines
* replaced all org.json.* usages with elemental.json.* (#8942)Taras Hupalo2014-08-261-25/+18
| | | | Change-Id: I4809fbbdb48f3e36c8e1da8552ff3fa734714105
* Allow for multiple license keys in a single license file #14408Jonatan Kronqvist2014-08-132-9/+158
| | | | | | | | | | | | | | | | | | License files can now contain multiple keys to support different versions of a product. The keys are identified by the major version number followed by an equals sign and the key for that version, e.g. 1 = foo-bar-baz 2 = baz-foo-bar The license file can also contain a "default" license key, which is used for all versions except for the explicitly defined ones, e.g. foo-bar-baz 3 = baz-bar-foo 4 = bar-baz-baz Change-Id: Id07d22e9fdc44189c4298b634006cf0df128bfd9
* DelegateToWidget will now be run even for parent states for extendingMikael Grankvist2014-08-073-20/+28
| | | | | | | | states (#14059) Updated the code to encompass Leif's suggestion. Change-Id: I70c0a4a93b9fe9ee8b2c458d666a1fec791f20b4
* Box and unbox long values in state fields (#14176)Leif Åstrand2014-07-091-10/+2
| | | | | | | | | | | | | We actually want to pass around the primitive long values emulated by GWT even though JavaScript code can't do anything with the values. Skipping the unboxing caused long fields to always be 0 since that's how JavaScript converts an object into a number. This patch also makes the test assert that the expected state values are received and updates those values to actually make sense in some situations. Change-Id: Id9c3696d699593bd9e59e249c5daf077873b85fc
* Add missing @since 7.3 to javadocHenri Sara2014-07-032-7/+11
| | | | Change-Id: I62610ef647fbbb5a7cfae25ac5c7628f78f2c6ff
* License Checker for vaadin cval products (#13696 #13474)Manolo Carrasco2014-06-267-5/+1474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - This patch includes four elements: 1.- A class able to validate a licensed product against Vaadin license server. It can be used in any vaadin product (thought for non addons like TB) just adding vaadin dependency, or copying the class. 2.- A class able to inspect all addons in the classpath and figure out, based on the MANIFEST.MF info, whether we have to check developer license. 3.- A modification to Vaadin connector generator to use the classes above and to stop compilation in case. 4.- A modification to ConnectorBundleLoader, so as when a new connector is instatiated, we check whether it is using an evaluation license and show a notice. We only show the notice once. - In addition to validating developer licenses, the checker caches the server response for using it when there are connection problems. - This stuff is in Vaadin core, so as we dont maintain license code in each addon. For checking an addon license we just add the license type to the manifest when packaging the artefact. - It checks expiration time, product name and major version. Fixes: #13696 In some-way related with: #13474 Change-Id: Ib61b1c2e9c3cacd463a1ce5db02c2cfbc06851c2
* Don't generate GWT.create for bean superclasses (#13813)Leif Åstrand2014-06-051-2/+2
| | | | Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771
* Use more appropriate dependencies for Jetty (#13682)Artur Signell2014-05-131-1/+5
| | | | Change-Id: Ic977ae403068e41a64eabc42cd00c4a933d02a95
* Support long in state again (#13692)Jonatan Kronqvist2014-05-122-2/+14
| | | | | | | | | | The fix to #9379 broke the support for long type fields in state classes. This patch bypasses the unboxing of long values and adds the @UnsafeNativeLong annotation to the methods which may fetch and return (without modifying) long values. SerializerTest is extended to test the different data types in States. Change-Id: I29fd2c6af13cd9a0d29ecb1444ed9eb8a2b013e3
* Make SuperDevMode work again (#13682)Artur Signell2014-05-121-3/+4
| | | | | | | | 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
* Merge changes from origin/7.2 into masterJonatan Kronqvist2014-05-0520-20/+20
|\ | | | | | | | | | | | | | | | | | | 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-231-1/+1
| | | | | | | | Change-Id: I1fc2bd735b538ebac6d4f41fc8536f26795cc85f
| * Merge changes from origin/7.1Artur Signell2014-04-2319-19/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1619-20/+20
| | | | | | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* | | Report an error if RPC interface is parameterized (#10392).Denis Anisimov2014-04-242-0/+13
|/ / | | | | | | Change-Id: I887c14b1df282c56a1e839eae5a4534501fa3911
* | Override the cssparser dependency from sass-compiler (#13532)Jonatan Kronqvist2014-04-031-1/+4
| | | | | | | | | | | | | | | | vaadin-sass-compiler depends on an older version of cssparser than the one used in client-compiler. This change overrides all sass-compiler provided cssparser deps with the newer version. Change-Id: I06d2b957d66dd3abbef161ae2643eec0cdf7e13a
* | Update commons-io to the same version in all modules (#13531)Jonatan Kronqvist2014-04-031-1/+1
| | | | | | | | | | | | Adds a commons-io.version property to the build.properties file Change-Id: I57a72f8841846d77ba73d567bd9bc3c8415b243c
* | Implement @OnStateChange (#12958)Leif Åstrand2014-04-016-37/+201
| | | | | | Change-Id: I8ea2b781fab42458bf55a751c1229e391365e965
* | Make Invoker support non-public methods (#12959)Leif Åstrand2014-04-011-31/+133
| | | | | | | | Change-Id: Ie449489f3c9222bbe4a4221841c4ebc20693f969
* | Remove theme-compiler and replace with external vaadin-sass-compilerJonatan Kronqvist2014-03-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * Moves CompileTheme from the theme-compiler to buildhelpers * Refactors CompileTheme to get the Vaadin version on the command line instead of using the Version class found in vaadin-shared * Refactors build scripts to pass the version number on the command line when running CompileTheme * Removes the theme-compiler module/project/whatchamacallit * Replaces the theme-compiler dependency with vaadin-sass-compiler 0.9.0 from maven Change-Id: I4f98d15b60e18a826bf264eb55d12b3e736e8e54
* | Avoid using toString method to access to SCSS serialized state (#9530).denisanisimov2014-03-131-1/+1
| | | | | | Change-Id: I387ae1bbc960acd5a5a588b38c6791a9c9a90690
* | Reduce generated ConnectorBundleLoaderImpl size. (#9379)denisanisimov2014-02-125-205/+296
| | | | | | | | Change-Id: I49411e6893f3adc1c41cc690aca35cd919769625
* | Merge changes from origin/7.1Jonatan Kronqvist2014-02-071-2/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8245079 Decrease the websocket buffer size due to a Jetty 9.1 issue (#13087) ea8f381 Show the widgetset name to more easily spot misconfigurations 797ebdf Allow user to override Atmosphere init params set by Vaadin (#13088) 65c2f2b Properly remove shadow event listeners to prevent IE8 memory leak (#13129) e9a547a Fixed spelling mistake in log message. 0b95f8d Moved selection of selected rows in TableConnector to occur after the new rows are created (#13008) 0579fba Upload control with empty selection (#9602) db4dba4 Ensure event listener is a widget before casting #13130 5e8e866 Changes padding for Textfields with Chameleon theme. (#12974) 171e68d Only use ClientRcp and ServerRpc types that are interfaces (#13056) e41a2ce Add helper for adding multiple components to AbstractTestUI 407bdb3 Ignores scroll events while update from server is in progress (#11454) Change-Id: I5d21b4071165b02da0f53bd055fb1c64e90cae5b
| * Only use ClientRcp and ServerRpc types that are interfaces (#13056)Leif Åstrand2014-01-081-2/+6
| | | | | | | | Change-Id: I73b062628052ec545d5f53314a0cc479806ee89d
* | Exclude Jetty orbit which causes build issues (#12871)Artur Signell2014-01-291-2/+4
| | | | | | | | Change-Id: I06d1343dc25598e45c7a960c36fee2ef4869b651
* | Use new client-compiler-deps (1.1.0) (#12871)Artur Signell2014-01-291-1/+1
| | | | | | | | Change-Id: I3036cb357a144edee56ec37870c9632b0cd90565
* | Use ICU4J from Maven central (#13252)Artur Signell2014-01-271-0/+3
| | | | | | | | Change-Id: Id3837571a0fac020819c83e2bae17eda8ca51267
* | Update nekohtml + xalan dependencies (#12871).Artur Signell2014-01-271-0/+9
| | | | | | | | | | | | | | nekohtml 1.9.15 -> 1.9.19, now directly from Maven central xerces 2.9.1 -> 2.11.0, now directly from Maven central Change-Id: I7b9acd066f73ea546d46ce88065496c628ad5799
* | Update httpcomponents dependencies (#12871).Artur Signell2014-01-221-0/+7
| | | | | | | | | | | | | | | | httpclient 4.1.2 -> 4.3.1, now directly from Maven central httpcore 4.1.2 -> 4.3, now directly from Maven central httpmime 4.1.2 -> 4.3.1, now directly from Maven central Change-Id: I0056993edc1e14262da7697ed550b70cc2ed79c9
* | Update dependencies to match GWT master (#12871)Artur Signell2014-01-221-10/+12
|/ | | | | | | | | | | cssparser 0.9.5 -> 0.9.11 jetty 6.1.11 -> 8.1.12.v20130726 commons-codec 1.3 -> 1.8 commons-logging 1.1.1 -> 1.1.3 commons-io 2.2 -> 2.4 commons-lang 2.6 -> 3.1 Change-Id: Ie5f1b7d1c0b2e31533806640d9a5236e76787d2e
* Unified xml files to end with new lineArtur Signell2013-09-041-1/+1
| | | | Change-Id: Ifb1393e7e5c5c1002b924223957767b3e584d5ab
* Reformatted using Ant editor (#12040)Artur Signell2013-06-101-5/+4
| | | | Change-Id: If8afd65d5905302c64f12ef7f76ee7e63073c474
* Formatted XML files using defined rules (#11956)Artur Signell2013-05-302-105/+109
| | | | Change-Id: Iecd621321fdde29d2d89d910ba46e9dadee58995
* Updated client-compiler to depend on client-compiler-deps 1.0.2 #11879John Ahlroos2013-05-221-1/+1
| | | | Change-Id: I1c98c353314197047265d26a0464ab7cc9c79520
* Moved WidgetSetBuilder to server as ClassPathExplorer dependends on it (#11591)Artur Signell2013-04-231-213/+0
| | | | Change-Id: I1091de12737e242129cd8fb62daba9e2273e67ff
* Moved SASSAddonImportFileCreator and ClassPathExplorer to vaadin-server #11591John Ahlroos2013-04-232-716/+0
| | | | Change-Id: I81f453d6a74a0a47c7007e0bfe20c72b866134c7
* Updated commons-io dependency to 2.2 (#11643)Artur Signell2013-04-231-1/+1
| | | | Change-Id: Ia134929a67328e2a759028b2ee5b64206dc78883
* Ensure addon css styles are before scss styles in addons.scss #11390John Ahlroos2013-04-181-1/+26
| | | | Change-Id: I3737a94f076917cd896bd90e2936a5b752ccd801
* Enabled closure compiler for default widget set (#9103)Artur Signell2013-04-151-1/+1
| | | | Change-Id: I3edc50f73635f4529fb25dec1466b8f1d5f5cba6
* Updated client compiler deps to 1.0.0 #11590John Ahlroos2013-04-121-1/+1
| | | | Change-Id: I362ee3e84b81c76e193aec2067d4d9f0b6558f7f
* Scan for addon styles in server-side only addon jars as well. #11390John Ahlroos2013-04-081-0/+3
| | | | Change-Id: I9c2e6f426d65095631e392780733c408f66474a7
* Require implementing hasTooltip if there's custom tooltip logic (#11052)Leif Åstrand2013-04-083-69/+0
| | | Change-Id: I3038b97d9a7c7e144a325ce87aa849309b9b31c4
* Global code reformatLeif Åstrand2013-04-052-7/+7
| | | | Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2
* Added standalone class for creating an addons.scss from Vaadin addons on the ↵John Ahlroos2013-03-262-14/+228
| | | | | | classpath #11390 Change-Id: Ifcdb5c3b267cdf90ca9b981dccef3de6f9481ced
* Renamed "tests" target to "test" and added "test-all" (#9998)Artur Signell2013-03-011-2/+2
| | | | | | | The "test" target runs all tests which do not require additional servers or setup. Can be run immediately after cloning the project. The "test-all" target runs also integration tests and UI tests which require access to servers or additional setup. Change-Id: I2f5371dc5be805ba12766c8187a2b58fbc7f7db4
* Merge remote-tracking branch 'origin/7.0'John Ahlroos2013-03-011-1/+1
|\ | | | | | | Change-Id: Ifdc095169c31731cb013727f14d92839ecc775db
| * (#10563) Logging now uses parameters.Mikael Grankvist2013-02-281-1/+1
| | | | | | | | Change-Id: Icc807cc2eb391fb0118800383fc93d1e23b04570
* | Merge remote-tracking branch 'origin/7.0'Artur Signell2013-02-223-0/+70
|\| | | | | | | Change-Id: Id48ccb3c400a78cddb8bb5c7bbcf2d65174e59d0
| * Only add tooltip listeners when needed (#11051)Leif Åstrand2013-02-183-0/+70
| | | | | | | | Change-Id: I2b097ed67d59260390cd939b2f2d844548b5fced
* | Fixed typo in ivy configuration (#9851)Artur Signell2013-02-191-1/+1
| | | | | | | | Change-Id: I9aa90a523c16b7974c39fbe014140ba5fe64cd5e