-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgraded Node.js to `v14.17.1` [(2021-06-15)](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#14.17.1) * Updated `JavetObjectConverter` to handle anonymous functions more efficiently * Added `V8ValueBuiltInObject#assign`
- Loading branch information
Showing
57 changed files
with
3,666 additions
and
3,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
<groupId>com.caoccao.javet</groupId> | ||
<artifactId>javet</artifactId> | ||
<version>0.9.1</version> | ||
<version>0.9.2</version> | ||
<name>javet</name> | ||
<description>Javet is Java + V8 (JAVa + V + EighT). It is a way of embedding V8 in Java.</description> | ||
<url>https://github.com/caoccao/Javet</url> | ||
|
@@ -28,7 +28,7 @@ | |
<connection>scm:git:git://github.com/caoccao/Javet.git</connection> | ||
<developerConnection>scm:git:[email protected]:caoccao/caoccao.git</developerConnection> | ||
<url>https://github.com/caoccao/Javet</url> | ||
<tag>javet-0.9.1</tag> | ||
<tag>javet-0.9.2</tag> | ||
</scm> | ||
|
||
<properties> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
patchelf --add-needed libjavet-node-linux-x86_64.v.0.9.1.so ${NODE_MODULE_FILE} | ||
patchelf --add-needed libjavet-node-linux-x86_64.v.0.9.2.so ${NODE_MODULE_FILE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
src/main/java/com/caoccao/javet/annotations/CheckReturnValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package com.caoccao.javet.annotations; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* This annotation is for IDE to warn application developers to consume the return value. | ||
* Memory leak may occur if the return value is not consumed. | ||
* | ||
* @since 0.8.10 | ||
*/ | ||
@Documented | ||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE, ElementType.PACKAGE}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface CheckReturnValue { | ||
} | ||
package com.caoccao.javet.annotations; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* This annotation is for IDE to warn application developers to consume the return value. | ||
* Memory leak may occur if the return value is not consumed. | ||
* | ||
* @since 0.8.10 | ||
*/ | ||
@Documented | ||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE, ElementType.PACKAGE}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface CheckReturnValue { | ||
} |
62 changes: 31 additions & 31 deletions
62
src/main/java/com/caoccao/javet/annotations/V8RuntimeSetter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
/* | ||
* Copyright 2021. caoccao.com Sam Cao | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
package com.caoccao.javet.annotations; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* The interface V8 runtime setter. | ||
* | ||
* @since 0.8.1 | ||
*/ | ||
@Documented | ||
@Target(ElementType.METHOD) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface V8RuntimeSetter { | ||
} | ||
/* | ||
* Copyright 2021. caoccao.com Sam Cao | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
package com.caoccao.javet.annotations; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* The interface V8 runtime setter. | ||
* | ||
* @since 0.8.1 | ||
*/ | ||
@Documented | ||
@Target(ElementType.METHOD) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface V8RuntimeSetter { | ||
} |
Oops, something went wrong.