[HtmlUnit] [HtmlUnit/htmlunit-rhino-fork] 731bf1: Retain of comments and their position in the actua...

rbri <[email protected]> Sat, 18 Aug 2018 00:38:38 -0700
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <5b77ccfe930f8_55a42ac66dd20ed4354e@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/HtmlUnit/htmlunit-rhino-fork
  Commit: 731bf1814adbd1b87b1f7ba92e255d31d6762052
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/731bf1814adbd1b87b1f7ba92e255d31d6762052
  Author: Ravi Kishore <[email protected]>
  Date:   2018-08-10 (Fri, 10 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/Parser.java
    M src/org/mozilla/javascript/ScriptRuntime.java
    M src/org/mozilla/javascript/TokenStream.java
    M src/org/mozilla/javascript/ast/AstNode.java
    M src/org/mozilla/javascript/ast/AstRoot.java
    M src/org/mozilla/javascript/ast/Block.java
    M src/org/mozilla/javascript/ast/Comment.java
    M src/org/mozilla/javascript/ast/DoLoop.java
    M src/org/mozilla/javascript/ast/ExpressionStatement.java
    M src/org/mozilla/javascript/ast/ForLoop.java
    M src/org/mozilla/javascript/ast/FunctionCall.java
    M src/org/mozilla/javascript/ast/IfStatement.java
    M src/org/mozilla/javascript/ast/Scope.java
    M src/org/mozilla/javascript/ast/SwitchCase.java
    M src/org/mozilla/javascript/ast/TryStatement.java
    M src/org/mozilla/javascript/ast/VariableDeclaration.java
    M src/org/mozilla/javascript/ast/WhileLoop.java
    M src/org/mozilla/javascript/ast/WithStatement.java
    M testsrc/org/mozilla/javascript/tests/ParserTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/CommentsTestUtils.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/IfCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/LoopCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/MiscCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/SwitchCommentsTest.java

  Log Message:
  -----------
  Retain of comments and their position in the actual code after parsing. (#465)

* Ignoring inline comments which come within an expression or
 statement like c = a + b //test
 + d
Added pom.xml for WM to generate jar and push to repository.
Added minimum Java version requirement for compilation
- Handling of inline comments for "do" satement in a do-while
- Modified toSource methods of do and while AstNodes for handling of inline comments.
Handling of String literals if they are enclosed within backtick (`)
- Handling of inline comments if used after try, with, case
- adding messages resources to rhino.jar itself.
- Inline comments at the case level are handled properly
- Inline comments within object literal are ignored.
- Fix below scenario
     if(a == 3) {
   b = 3;
     }
     //inlinecomment 1
     else {
  b = 5;
     }
- Fix for a bug in function with no argument after last comma
     f1(a,b,);
- Added a setter method for updating the comment text.
- Modified minor version to avoid manual copy of new jar.
- Modified minor version to avoid manual copy of new jar. because in previous build, resource files are not copied.
- ignoring comments if they are placed after an incomplete statement like
   var a = 3
   /*  */ var t=3;

*  Ignoring inline comments which come within an expression or
 statement like c = a + b //test
 + d
Added pom.xml for WM to generate jar and push to repository.
Added minimum Java version requirement for compilation
- Handling of inline comments for "do" satement in a do-while
- Modified toSource methods of do and while AstNodes for handling of inline comments.
Handling of String literals if they are enclosed within backtick (`)
- Handling of inline comments if used after try, with, case
- adding messages resources to rhino.jar itself.
- Inline comments at the case level are handled properly
- Inline comments within object literal are ignored.
- Fix below scenario
     if(a == 3) {
   b = 3;
     }
     //inlinecomment 1
     else {
  b = 5;
     }
- Fix for a bug in function with no argument after last comma
     f1(a,b,);
- Added a setter method for updating the comment text.
- Modified minor version to avoid manual copy of new jar.
- Modified minor version to avoid manual copy of new jar. because in previous build, resource files are not copied.

- ignoring comments if they are placed after an incomplete statement like
   var a = 3
   /*  */ var t=3;
- Ignoring inline comments which come within an expression or  statement
like c = a + b //test  + d
- Handling of inline comments for "do" satement in a do-while
- Modified toSource methods of do and while AstNodes for handling of
inline comments.
- Handling of String literals if they are enclosed within backtick (`)
- Handling of inline comments if used after try, with, case - adding
messages resources to rhino.jar itself.
- Inline comments at the case level are handled properly
- Inline comments within object literal are ignored.
- Fix below scenario
     if(a == 3) {
  b = 3;
     }  //inlinecomment 1
     else {
  b = 5;
     }
- Fix for a bug in function with no argument after last comma.
    f1(a,b,);
- Added a setter method for updating the comment text.

- Modified try block parsing to capture inline comments.
- Added test cases testing inline comments of if, for, loops


  Commit: 57b8abc16a3d157da51e98244b590796bf9080e0
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/57b8abc16a3d157da51e98244b590796bf9080e0
  Author: rbri <[email protected]>
  Date:   2018-08-13 (Mon, 13 Aug 2018)

  Changed paths:
    M src/org/mozilla/classfile/ClassFileWriter.java
    M src/org/mozilla/javascript/Arguments.java
    M src/org/mozilla/javascript/BaseFunction.java
    M src/org/mozilla/javascript/ConsString.java
    M src/org/mozilla/javascript/Context.java
    M src/org/mozilla/javascript/ContextFactory.java
    M src/org/mozilla/javascript/DToA.java
    M src/org/mozilla/javascript/DefaultErrorReporter.java
    M src/org/mozilla/javascript/DefiningClassLoader.java
    M src/org/mozilla/javascript/Delegator.java
    M src/org/mozilla/javascript/Function.java
    M src/org/mozilla/javascript/IRFactory.java
    M src/org/mozilla/javascript/IdScriptableObject.java
    M src/org/mozilla/javascript/InterfaceAdapter.java
    M src/org/mozilla/javascript/InterpretedFunction.java
    M src/org/mozilla/javascript/Interpreter.java
    M src/org/mozilla/javascript/InterpreterData.java
    M src/org/mozilla/javascript/JavaAdapter.java
    M src/org/mozilla/javascript/JavaMembers.java
    M src/org/mozilla/javascript/JavaScriptException.java
    M src/org/mozilla/javascript/LazilyLoadedCtor.java
    M src/org/mozilla/javascript/MemberBox.java
    M src/org/mozilla/javascript/NativeArray.java
    M src/org/mozilla/javascript/NativeContinuation.java
    M src/org/mozilla/javascript/NativeDate.java
    M src/org/mozilla/javascript/NativeError.java
    M src/org/mozilla/javascript/NativeFunction.java
    M src/org/mozilla/javascript/NativeGlobal.java
    M src/org/mozilla/javascript/NativeJSON.java
    M src/org/mozilla/javascript/NativeJavaClass.java
    M src/org/mozilla/javascript/NativeJavaMethod.java
    M src/org/mozilla/javascript/NativeJavaObject.java
    M src/org/mozilla/javascript/NativeJavaPackage.java
    M src/org/mozilla/javascript/NativeJavaTopPackage.java
    M src/org/mozilla/javascript/NativeNumber.java
    M src/org/mozilla/javascript/NativeObject.java
    M src/org/mozilla/javascript/NativeString.java
    M src/org/mozilla/javascript/NativeSymbol.java
    M src/org/mozilla/javascript/NativeWith.java
    M src/org/mozilla/javascript/Node.java
    M src/org/mozilla/javascript/NodeTransformer.java
    M src/org/mozilla/javascript/ObjToIntMap.java
    M src/org/mozilla/javascript/Parser.java
    M src/org/mozilla/javascript/PolicySecurityController.java
    M src/org/mozilla/javascript/ScriptRuntime.java
    M src/org/mozilla/javascript/ScriptableObject.java
    M src/org/mozilla/javascript/SecureCaller.java
    M src/org/mozilla/javascript/SecurityController.java
    M src/org/mozilla/javascript/SecurityUtilities.java
    M src/org/mozilla/javascript/ThreadSafeSlotMapContainer.java
    M src/org/mozilla/javascript/TokenStream.java
    M src/org/mozilla/javascript/UintMap.java
    M src/org/mozilla/javascript/ast/ArrayLiteral.java
    M src/org/mozilla/javascript/ast/AstNode.java
    M src/org/mozilla/javascript/ast/AstRoot.java
    M src/org/mozilla/javascript/ast/ErrorCollector.java
    M src/org/mozilla/javascript/ast/ObjectLiteral.java
    M src/org/mozilla/javascript/commonjs/module/Require.java
    M src/org/mozilla/javascript/commonjs/module/provider/CachingModuleScriptProviderBase.java
    M src/org/mozilla/javascript/commonjs/module/provider/DefaultUrlConnectionExpiryCalculator.java
    M src/org/mozilla/javascript/commonjs/module/provider/ModuleSourceProviderBase.java
    M src/org/mozilla/javascript/commonjs/module/provider/MultiModuleScriptProvider.java
    M src/org/mozilla/javascript/commonjs/module/provider/UrlModuleSourceProvider.java
    M src/org/mozilla/javascript/jdk15/VMBridge_jdk15.java
    M src/org/mozilla/javascript/json/JsonParser.java
    M src/org/mozilla/javascript/optimizer/Codegen.java
    M src/org/mozilla/javascript/optimizer/Optimizer.java
    M src/org/mozilla/javascript/regexp/NativeRegExp.java
    M src/org/mozilla/javascript/regexp/RegExpImpl.java
    M src/org/mozilla/javascript/typedarrays/Conversions.java
    M src/org/mozilla/javascript/typedarrays/NativeDataView.java
    M src/org/mozilla/javascript/typedarrays/NativeFloat32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeFloat64Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt16Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt8Array.java
    M src/org/mozilla/javascript/typedarrays/NativeTypedArrayIterator.java
    M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java
    M src/org/mozilla/javascript/typedarrays/NativeUint16Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint8Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint8ClampedArray.java
    M src/org/mozilla/javascript/v8dtoa/DoubleConversion.java
    M src/org/mozilla/javascript/v8dtoa/DoubleHelper.java
    M toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java

  Log Message:
  -----------
  add @Override and some more cleanup


  Commit: 72d55e2fea36cc656623d16032e888aa84b5228c
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/72d55e2fea36cc656623d16032e888aa84b5228c
  Author: rbri <[email protected]>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/NativeDate.java

  Log Message:
  -----------
  fix ctor called with date arg


  Commit: 959852a1b555eb9b257df9e68336b79e7e1e036e
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/959852a1b555eb9b257df9e68336b79e7e1e036e
  Author: rbri <[email protected]>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/ScriptableObject.java
    M testsrc/test262.properties

  Log Message:
  -----------
  valueOf has to be called without any args


  Commit: ba4acd54d8ffc03444edefcacfbb445f88754817
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/ba4acd54d8ffc03444edefcacfbb445f88754817
  Author: rbri <[email protected]>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/NativeDate.java
    M testsrc/test262.properties

  Log Message:
  -----------
  fix remaining utc constructor case


  Commit: f14dda1361c2abe524aba71355ba91410ecf2ff5
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/f14dda1361c2abe524aba71355ba91410ecf2ff5
  Author: rbri <[email protected]>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/ScriptableObject.java

  Log Message:
  -----------
  minor cleanup


  Commit: 560b6b2e47f4dd3b5d661a44fd664b4893abfb6f
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/560b6b2e47f4dd3b5d661a44fd664b4893abfb6f
  Author: Gregory Brail <[email protected]>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/org/mozilla/javascript/NativeObject.java
    A testsrc/jstests/extensions/getset-null.js
    A testsrc/org/mozilla/javascript/tests/es5/GetSetNullTest.java

  Log Message:
  -----------
  Fix NullPointerException in __defineGetter__

__defineGetter__ and __defineSetter__ throw an NPE when called
with "null" as "this." This was causing tests from the Kangax
"compat-table" project to crash.


  Commit: b3d450810da3e1969f97fea1ad7af26e35349396
      https://github.com/HtmlUnit/htmlunit-rhino-fork/commit/b3d450810da3e1969f97fea1ad7af26e35349396
  Author: rbri <[email protected]>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M src/org/mozilla/classfile/ClassFileWriter.java
    M src/org/mozilla/javascript/Arguments.java
    M src/org/mozilla/javascript/BaseFunction.java
    M src/org/mozilla/javascript/ConsString.java
    M src/org/mozilla/javascript/Context.java
    M src/org/mozilla/javascript/ContextFactory.java
    M src/org/mozilla/javascript/DToA.java
    M src/org/mozilla/javascript/DefaultErrorReporter.java
    M src/org/mozilla/javascript/DefiningClassLoader.java
    M src/org/mozilla/javascript/Delegator.java
    M src/org/mozilla/javascript/Function.java
    M src/org/mozilla/javascript/IRFactory.java
    M src/org/mozilla/javascript/IdScriptableObject.java
    M src/org/mozilla/javascript/InterfaceAdapter.java
    M src/org/mozilla/javascript/InterpretedFunction.java
    M src/org/mozilla/javascript/Interpreter.java
    M src/org/mozilla/javascript/InterpreterData.java
    M src/org/mozilla/javascript/JavaAdapter.java
    M src/org/mozilla/javascript/JavaMembers.java
    M src/org/mozilla/javascript/JavaScriptException.java
    M src/org/mozilla/javascript/LazilyLoadedCtor.java
    M src/org/mozilla/javascript/MemberBox.java
    M src/org/mozilla/javascript/NativeArray.java
    M src/org/mozilla/javascript/NativeContinuation.java
    M src/org/mozilla/javascript/NativeDate.java
    M src/org/mozilla/javascript/NativeError.java
    M src/org/mozilla/javascript/NativeFunction.java
    M src/org/mozilla/javascript/NativeGlobal.java
    M src/org/mozilla/javascript/NativeJSON.java
    M src/org/mozilla/javascript/NativeJavaClass.java
    M src/org/mozilla/javascript/NativeJavaMethod.java
    M src/org/mozilla/javascript/NativeJavaObject.java
    M src/org/mozilla/javascript/NativeJavaPackage.java
    M src/org/mozilla/javascript/NativeJavaTopPackage.java
    M src/org/mozilla/javascript/NativeNumber.java
    M src/org/mozilla/javascript/NativeObject.java
    M src/org/mozilla/javascript/NativeString.java
    M src/org/mozilla/javascript/NativeSymbol.java
    M src/org/mozilla/javascript/NativeWith.java
    M src/org/mozilla/javascript/Node.java
    M src/org/mozilla/javascript/NodeTransformer.java
    M src/org/mozilla/javascript/ObjToIntMap.java
    M src/org/mozilla/javascript/Parser.java
    M src/org/mozilla/javascript/PolicySecurityController.java
    M src/org/mozilla/javascript/ScriptRuntime.java
    M src/org/mozilla/javascript/ScriptableObject.java
    M src/org/mozilla/javascript/SecureCaller.java
    M src/org/mozilla/javascript/SecurityController.java
    M src/org/mozilla/javascript/SecurityUtilities.java
    M src/org/mozilla/javascript/ThreadSafeSlotMapContainer.java
    M src/org/mozilla/javascript/TokenStream.java
    M src/org/mozilla/javascript/UintMap.java
    M src/org/mozilla/javascript/ast/ArrayLiteral.java
    M src/org/mozilla/javascript/ast/AstNode.java
    M src/org/mozilla/javascript/ast/AstRoot.java
    M src/org/mozilla/javascript/ast/Block.java
    M src/org/mozilla/javascript/ast/Comment.java
    M src/org/mozilla/javascript/ast/DoLoop.java
    M src/org/mozilla/javascript/ast/ErrorCollector.java
    M src/org/mozilla/javascript/ast/ExpressionStatement.java
    M src/org/mozilla/javascript/ast/ForLoop.java
    M src/org/mozilla/javascript/ast/FunctionCall.java
    M src/org/mozilla/javascript/ast/IfStatement.java
    M src/org/mozilla/javascript/ast/ObjectLiteral.java
    M src/org/mozilla/javascript/ast/Scope.java
    M src/org/mozilla/javascript/ast/SwitchCase.java
    M src/org/mozilla/javascript/ast/TryStatement.java
    M src/org/mozilla/javascript/ast/VariableDeclaration.java
    M src/org/mozilla/javascript/ast/WhileLoop.java
    M src/org/mozilla/javascript/ast/WithStatement.java
    M src/org/mozilla/javascript/commonjs/module/Require.java
    M src/org/mozilla/javascript/commonjs/module/provider/CachingModuleScriptProviderBase.java
    M src/org/mozilla/javascript/commonjs/module/provider/DefaultUrlConnectionExpiryCalculator.java
    M src/org/mozilla/javascript/commonjs/module/provider/ModuleSourceProviderBase.java
    M src/org/mozilla/javascript/commonjs/module/provider/MultiModuleScriptProvider.java
    M src/org/mozilla/javascript/commonjs/module/provider/UrlModuleSourceProvider.java
    M src/org/mozilla/javascript/jdk15/VMBridge_jdk15.java
    M src/org/mozilla/javascript/json/JsonParser.java
    M src/org/mozilla/javascript/optimizer/Codegen.java
    M src/org/mozilla/javascript/optimizer/Optimizer.java
    M src/org/mozilla/javascript/regexp/NativeRegExp.java
    M src/org/mozilla/javascript/regexp/RegExpImpl.java
    M src/org/mozilla/javascript/typedarrays/Conversions.java
    M src/org/mozilla/javascript/typedarrays/NativeDataView.java
    M src/org/mozilla/javascript/typedarrays/NativeFloat32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeFloat64Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt16Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeInt8Array.java
    M src/org/mozilla/javascript/typedarrays/NativeTypedArrayIterator.java
    M src/org/mozilla/javascript/typedarrays/NativeTypedArrayView.java
    M src/org/mozilla/javascript/typedarrays/NativeUint16Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint32Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint8Array.java
    M src/org/mozilla/javascript/typedarrays/NativeUint8ClampedArray.java
    M src/org/mozilla/javascript/v8dtoa/DoubleConversion.java
    M src/org/mozilla/javascript/v8dtoa/DoubleHelper.java
    A testsrc/jstests/extensions/getset-null.js
    M testsrc/org/mozilla/javascript/tests/ParserTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/CommentsTestUtils.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/IfCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/LoopCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/MiscCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/commentspr465/SwitchCommentsTest.java
    A testsrc/org/mozilla/javascript/tests/es5/GetSetNullTest.java
    M testsrc/test262.properties
    M toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java

  Log Message:
  -----------
  Merge remote-tracking branch 'rhino/master'

# Conflicts:
#	src/org/mozilla/javascript/InterpreterData.java


Compare: https://github.com/HtmlUnit/htmlunit-rhino-fork/compare/a47c25b9c4a4...b3d450810da3
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop