Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
ebb1ec2
Refactoring the Variable Name to Standard Naming Practices - Issue #1
Oct 14, 2024
a965107
Resolved code smell by defining a constant instead of duplicating the…
apurba-das Oct 14, 2024
b70f67b
Resolved code smell by defining a constant instead of duplicating thi…
apurba-das Oct 14, 2024
ff15f18
Removed unnecessary import
mohsin-681 Oct 15, 2024
c27ae8f
Unnecessary Import Fixed
mohsin-681 Oct 15, 2024
2058125
Unnecessary import removed.
mohsin-681 Oct 15, 2024
3bfd6b3
Removed unnecessary import #5
mohsin-681 Oct 15, 2024
18a53d2
Issue fixed
mohsin-681 Oct 15, 2024
b76306a
Removed unnecessary import
mohsin-681 Oct 15, 2024
74e70e1
Removed unnecessary import
mohsin-681 Oct 15, 2024
ce0a377
Merge pull request #6 from SladeJustinFerrao/Mohsin
mohsin-681 Oct 15, 2024
9f4d557
Changed file to be the same as main branch
apurba-das Oct 15, 2024
635bad1
Merge pull request #8 from SladeJustinFerrao/master
apurba-das Oct 15, 2024
2b53cfa
Remove the useless parentheses in AWTComponentRenderer
apurba-das Oct 15, 2024
6219989
Merge pull request #11 from SladeJustinFerrao/Apurba
apurba-das Oct 15, 2024
69d73d9
issue #9. Changed fcc4 to be a static final constant.
Kewcat Oct 15, 2024
a103eb2
Revert "issue #9. Changed fcc4 to be a static final constant."
Kewcat Oct 15, 2024
8fb674e
issue #9. Changed fcc4 to be a static final constant and also resolve…
Kewcat Oct 15, 2024
187180a
Merge branch 'master' into khushi
Kewcat Oct 15, 2024
6baafad
Merge pull request #14 from SladeJustinFerrao/khushi
Kewcat Oct 15, 2024
c0a2554
Merge branch 'master' into KarthikD
KarthikCU1054 Oct 15, 2024
da3d411
Merge pull request #2 from SladeJustinFerrao/KarthikD
KarthikCU1054 Oct 15, 2024
5f98865
Threw a dedicated exception instead of a generic one to resolve #13
SladeJustinFerrao Oct 15, 2024
70d5fbf
Merge pull request #15 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Oct 15, 2024
3e8738c
Delete .scannerwork directory
apurba-das Oct 15, 2024
3c517a6
Threw an UnsupportedOperationException in empty methods to resolve #16
SladeJustinFerrao Oct 15, 2024
93d76f8
Merge pull request #17 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Oct 15, 2024
6a67eb0
Update build.gradle
apurba-das Oct 16, 2024
f59a95d
Delete .scannerwork directory
apurba-das Oct 16, 2024
bfcef83
Merge pull request #18 from SladeJustinFerrao/Apurba
apurba-das Oct 16, 2024
7b29c63
Reverted unnecessary changes
SladeJustinFerrao Oct 16, 2024
3223db2
Merge pull request #20 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Oct 16, 2024
7a2a8ab
File Update
SladeJustinFerrao Oct 16, 2024
d025385
Merge pull request #21 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Oct 16, 2024
84db5f2
Merge pull request #22 from SladeJustinFerrao/master
apurba-das Nov 11, 2024
5022963
Refactor AwtMouseInput.java to remove clone
apurba-das Nov 11, 2024
bad24e5
Merge pull request #23 from SladeJustinFerrao/Apurba
apurba-das Nov 11, 2024
3af96a3
Refactored the code to remove a clone in the methods "keyPressed" and…
Nov 11, 2024
41646e3
Merge pull request #25 from rilling/master
SladeJustinFerrao Nov 11, 2024
a2dde14
Merge pull request #26 from SladeJustinFerrao/master
SladeJustinFerrao Nov 11, 2024
362683a
Removed the clones existing at lines 287 and 502 of MjpegFileWriter.java
SladeJustinFerrao Nov 11, 2024
1708e75
Merge pull request #27 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Nov 11, 2024
2b60070
Merge pull request #24 from SladeJustinFerrao/KarthikD
SladeJustinFerrao Nov 11, 2024
f611095
Refactored duplicate code to retrieve file name in NativeLibraryLoade…
Kewcat Nov 12, 2024
10ce4a2
Fixed error in MjpegFileWriter
Kewcat Nov 12, 2024
b266595
Refactored code to remove clones in JmeDesktopSystem.java file lines …
mohsin-681 Nov 12, 2024
46b31af
Merge pull request #29 from SladeJustinFerrao/MohsinFeroz
mohsin-681 Nov 12, 2024
6188c26
Merge pull request #28 from SladeJustinFerrao/khushi
Kewcat Nov 12, 2024
2a00a16
Merge branch 'rilling-master'
SladeJustinFerrao Nov 28, 2024
cf554fc
Merge remote-tracking branch 'origin/master'
SladeJustinFerrao Nov 28, 2024
f08d2e8
Merge pull request #32 from SladeJustinFerrao/master
apurba-das Dec 1, 2024
c98af37
Update XMLImporter.java to fix XML External Entity (XXE) Injection vu…
apurba-das Dec 1, 2024
bad2a68
Merge pull request #33 from SladeJustinFerrao/Apurba
apurba-das Dec 1, 2024
d3d9211
Update SocketConnecter to resolve #132 issue
Kewcat Dec 1, 2024
0573470
Merge pull request #34 from SladeJustinFerrao/khushi
Kewcat Dec 1, 2024
089295d
Revert "Update SocketConnecter to resolve #132 issue"
Kewcat Dec 1, 2024
cf2c528
Merge pull request #35 from SladeJustinFerrao/revert-34-khushi
Kewcat Dec 1, 2024
a5fe975
Update NativeLibraryLoader to address issue #132
Kewcat Dec 1, 2024
89b9ba1
Merge pull request #36 from SladeJustinFerrao/revert-34-khushi
Kewcat Dec 1, 2024
b6f26f5
Fix Path Traversal Vulnerability
mohsin-681 Dec 1, 2024
a3803f1
Merge pull request #37 from SladeJustinFerrao/MohsinCS3
mohsin-681 Dec 1, 2024
d2b6c30
Revert "Fixed XML External Entity (XXE) Injection vulnerability in XM…
apurba-das Dec 2, 2024
ba41a63
Merge pull request #38 from SladeJustinFerrao/revert-33-Apurba
apurba-das Dec 2, 2024
34c5d66
Revert "Revert "Fixed XML External Entity (XXE) Injection vulnerabili…
apurba-das Dec 2, 2024
bba5dd3
Merge pull request #39 from SladeJustinFerrao/revert-38-revert-33-Apurba
apurba-das Dec 2, 2024
890b48a
Revert "Revert"
apurba-das Dec 2, 2024
3922ca1
Merge pull request #40 from SladeJustinFerrao/revert-39-revert-38-rev…
apurba-das Dec 2, 2024
be36c0b
Merge pull request #41 from SladeJustinFerrao/master
apurba-das Dec 2, 2024
2530226
Fix Denial of Service (DoS) vulnerability in ShaderGenerator.java
apurba-das Dec 2, 2024
0b95900
Merge pull request #42 from SladeJustinFerrao/Apurba
apurba-das Dec 2, 2024
31e3b60
Fixed the Malicious code vulnerability (MALICIOUS_CODE).
Dec 2, 2024
fbc4362
Merge pull request #43 from SladeJustinFerrao/KarthikD_CS3
KarthikCU1054 Dec 2, 2024
aa6a949
Removed the software vulnerability to avoid denial of service
SladeJustinFerrao Dec 3, 2024
2fd4964
Merge pull request #44 from SladeJustinFerrao/SladeJustin
SladeJustinFerrao Dec 3, 2024
3282b0a
Merge branch 'master' into master
SladeJustinFerrao Dec 3, 2024
cd94218
Update build.gradle
SladeJustinFerrao Dec 3, 2024
36be293
Update ShaderGenerator.java
SladeJustinFerrao Dec 3, 2024
4d43f5d
Update ShaderGenerator.java
SladeJustinFerrao Dec 3, 2024
f52ca70
Update ShaderGenerator.java
SladeJustinFerrao Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ retrolambda {
javaVersion JavaVersion.VERSION_1_7
incremental true
jvmArgs '-noverify'
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class EnvMapUtils {
public final static int NUM_SH_COEFFICIENT = 9;
// See Peter-Pike Sloan paper for these coefficients
//http://www.ppsloan.org/publications/StupidSH36.pdf
public static float[] shBandFactor = {1.0f,
private static float[] shBandFactor = {1.0f,
2.0f / 3.0f, 2.0f / 3.0f, 2.0f / 3.0f,
1.0f / 4.0f, 1.0f / 4.0f, 1.0f / 4.0f, 1.0f / 4.0f, 1.0f / 4.0f};

Expand Down Expand Up @@ -96,6 +96,10 @@ public static enum GenerationType {
private EnvMapUtils() {
}

public static float[] getShBandFactor() {
return shBandFactor.clone();
}

/**
* Creates a cube map from 6 images
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected void generateDeclarationAndMainBody(List<ShaderNode> shaderNodes, Stri
protected void appendNodeDeclarationAndMain(String loadedSource, StringBuilder sourceDeclaration, StringBuilder source, ShaderNode shaderNode, ShaderGenerationInfo info, String shaderPath) {
if (loadedSource.length() > 1) {
loadedSource = loadedSource.substring(0, loadedSource.lastIndexOf("}"));
String[] sourceParts = loadedSource.split("\\s*void\\s*main\\s*\\(\\s*\\)\\s*\\{");
String[] sourceParts = loadedSource.split("\\s*void\\s+main\\s*\\(\\s*\\)\\s*\\{");
if(sourceParts.length<2){
throw new IllegalArgumentException("Syntax error in "+ shaderPath +". Cannot find 'void main(){' in \n"+ loadedSource);
}
Expand Down
2 changes: 1 addition & 1 deletion jme3-core/src/main/java/com/jme3/shader/ShaderUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static int getCardinality(String type, String swizzling) {
card = 0;
}
} else {
card = Integer.parseInt(type.replaceAll(".*vec", ""));
card = type.startsWith("vec") ? Integer.parseInt(type.substring(3, 4)) : 0;

if (swizzling.length() > 0) {
card = swizzling.length();
Expand Down
Loading
Loading