summaryrefslogtreecommitdiffstats
path: root/client-compiler/src/com
Commit message (Collapse)AuthorAgeFilesLines
* License Checker for vaadin cval products (#13696 #13474)Manolo Carrasco2014-06-264-5/+731
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* 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
* 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
* | 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
* | 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
* Only use ClientRcp and ServerRpc types that are interfaces (#13056)Leif Åstrand2014-01-081-2/+6
| | | | Change-Id: I73b062628052ec545d5f53314a0cc479806ee89d
* 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
* Ensure addon css styles are before scss styles in addons.scss #11390John Ahlroos2013-04-181-1/+26
| | | | Change-Id: I3737a94f076917cd896bd90e2936a5b752ccd801
* 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
* (#10563) Logging now uses parameters.Mikael Grankvist2013-02-281-1/+1
| | | | Change-Id: Icc807cc2eb391fb0118800383fc93d1e23b04570
* Only add tooltip listeners when needed (#11051)Leif Åstrand2013-02-183-0/+70
| | | | Change-Id: I2b097ed67d59260390cd939b2f2d844548b5fced
* Enable overriding which connectors are in the widgetset (#10710)Leif Åstrand2013-01-101-7/+36
| | | | Change-Id: I98d09a1a9c1855e3385b6d48950a45c0388ba0bb
* Updated copyright notices and added missing license headersArtur Signell2013-01-0421-32/+113
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Prevents scss files leaking out into the web content folder when anmichael2012-12-261-5/+4
| | | | | | exception is thrown during linking (#10594) Change-Id: I6c29b5c08722f5a90095d76c93be3ec949c15c9d
* Allow the linker to handle deeper folder hierarchies inside the publicmichael2012-12-211-1/+1
| | | | | | folder (#10593) Change-Id: Ice5ed6f3d83fdc200201cd329089ed95b4e6744b
* Fix regressions in RPC handling (#10549)Leif Åstrand2012-12-191-1/+1
| | | | | | | | * Generate parameter types based on RPC interface instead of defining interface * Don't try to find parameter types for JavaScript RPC invocations Change-Id: I0e61e74f57dd34665c8befe826aa2759aeb01b54
* Encode all values based on declared type (#10549)Leif Åstrand2012-12-182-2/+6
| | | | | | | | | * ServerRpc encoding uses type data from the interface * Beans encoded on the server use reflection based on declared type * Remove row numbers to enable adding test without changing old indices * Update test to send non-primitive map values Change-Id: I0462b547cb7de252564b3569420b0b24cee4515f
* Fix exception loggingmichael2012-12-171-29/+53
| | | | | | | | | | Code cleanup Delete temporary files Does not send mixin files to the compiler Ticket #10202 Change-Id: I961688720c3cad943aa169ea0ef1ece566e908a7
* Merge "SassLinker for (public folder) Sass support in plain GWT, fixes ↵Artur Signell2012-12-151-0/+195
|\ | | | | | | #10202 Originally by Michael Vogt (+ added log message, moved)"
| * SassLinker for (public folder) Sass support in plain GWT, fixes #10202Marc Englund2012-12-141-0/+195
| | | | | | | | | | | | Originally by Michael Vogt (+ added log message, moved) Change-Id: I565207b4fa5223f470e1e5bbdc196d4c343a8142
* | Use new GWT Compiler in WidgetsetCompiler (#10511)Henri Sara2012-12-131-17/+8
|/ | | | | | | This change should be used together with related changes to the Eclipse plug-in which uses the class. Change-Id: I5419b6e7195982b17e599dbb102a8b1766c1d7e0
* Split method at roughly 30000 chars to avoid size limit (#10221)Leif Åstrand2012-11-221-15/+163
| | | | Change-Id: Ib7f03f1d5dbd66bc5478cf424664e89672069c8d
* Make code splitting work (#8636)Leif Åstrand2012-11-221-6/+24
| | | | Change-Id: I25c1494d29d20c89dc9c259995ed4b87067e859b
* @Connect lastonly -> lastOnly (#10244)Leif Åstrand2012-11-161-2/+2
| | | | Change-Id: I5d587852d00b485eb57e10ad3ba874ea1b500a19
* Use class hierachy for resolving @Connect conflicts (#9826)Leif Åstrand2012-10-112-21/+79
| | | | Change-Id: Ic268bfb5704a5c9113dee80017196c72b5236b93
* Abort widgetset compile for conflicting @Connect mappings (#9343)Leif Åstrand2012-10-101-3/+22
| | | | Change-Id: I07f760501f956a720bdb840d64c293984b9cf948
* Remove WidgetMapGenerator and subclasses (#9720)Leif Åstrand2012-09-244-606/+0
|
* Abort compile if there's an RPC method with a return type (#9704)Leif Åstrand2012-09-213-4/+27
|
* Clarify logic and add some comments (#9561)Leif Åstrand2012-09-171-10/+17
|
* Include getWidget return type even if createWidget is defined (#9561)Leif Åstrand2012-09-171-8/+9
|
* Merge branch '6.8'John Ahlroos2012-09-101-0/+2
| | | | | | | | | | | | | | | | Conflicts: WebContent/VAADIN/themes/base/common/common.scss server/src/com/vaadin/server/VaadinServlet.java server/src/com/vaadin/ui/AbstractField.java src/com/vaadin/terminal/gwt/client/ui/VUriFragmentUtility.java tests/testbench/com/vaadin/tests/components/datefield/DateFieldExtendedRange.java tests/testbench/com/vaadin/tests/components/datefield/PopupDateFieldExtendedRange.java tests/testbench/com/vaadin/tests/components/table/TableReduceContainerSize.java tests/testbench/com/vaadin/tests/tickets/Ticket8291.java uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldExtendedRange.html uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldExtendedRange.java uitest/src/com/vaadin/tests/tickets/Ticket8291.java uitest/test.xml
* Renamed UI package which accidentally had been renamed to upper caseArtur Signell2012-09-041-1/+1
|
* Reformatted projectArtur Signell2012-08-301-2/+1
|
* Additional fixes for com.vaadin.terminal removal (#9431, #9432)Artur Signell2012-08-291-1/+1
|
* Renamed com.vaadin.terminal.gwt.widgetsetutils -> ↵Artur Signell2012-08-2924-36/+36
| | | | com.vaadin.server.widgetsetutils (#9431)
* Merged com.vaadin.terminal.gwt.server into com.vaadin.server (#9431)Artur Signell2012-08-291-1/+1
|
* Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)Artur Signell2012-08-2910-31/+31
|
* Include UnknownComponentConnector in eager ConnectorBundle (#9371)Leif Åstrand2012-08-283-5/+14
|
* Rename Root related classes and package to UI (#8908)Artur Signell2012-08-241-2/+2
| | | | | | | | | | Automatic renames in Eclipse of: - package com.vaadin.terminal.gwt.client.ui.root to .UI - RootConnector to UIConnector - RootServerRpc to UIServerRpc - RootState to UIState - VRoot to VUI - RootRequiresMoreInformationException to UIRequiresMoreInformationException