Skip to content

Commit 4c08840

Browse files
authored
Merge pull request #52 from BobHanson/yadav1
Yadav1
2 parents 45d44e6 + a8aeeb5 commit 4c08840

File tree

186 files changed

+50178
-10974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+50178
-10974
lines changed

sources/net.sf.j2s.core/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/bin
2+
/site/

sources/net.sf.j2s.core/.j2s

Lines changed: 0 additions & 24 deletions
This file was deleted.

sources/net.sf.j2s.core/.settings/org.eclipse.jdt.core.prefs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1010
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
1111
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
1212
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
13-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
13+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
1414
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
15-
org.eclipse.jdt.core.compiler.compliance=1.7
15+
org.eclipse.jdt.core.compiler.compliance=1.8
1616
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
1717
org.eclipse.jdt.core.compiler.debug.localVariable=generate
1818
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
19+
org.eclipse.jdt.core.compiler.problem.APILeak=warning
1920
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
2021
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
2122
org.eclipse.jdt.core.compiler.problem.autoboxing=warning
@@ -39,7 +40,7 @@ org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
3940
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
4041
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
4142
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
42-
org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
43+
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
4344
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
4445
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning
4546
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
@@ -77,12 +78,16 @@ org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
7778
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
7879
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
7980
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
81+
org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
8082
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
8183
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
8284
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
8385
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
8486
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
8587
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
88+
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
89+
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
90+
org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
8691
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
8792
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
8893
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
@@ -103,4 +108,5 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
103108
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=warning
104109
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
105110
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
106-
org.eclipse.jdt.core.compiler.source=1.7
111+
org.eclipse.jdt.core.compiler.release=disabled
112+
org.eclipse.jdt.core.compiler.source=1.8
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false

sources/net.sf.j2s.core/META-INF/MANIFEST.MF

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Java2Script Core
44
Bundle-SymbolicName: net.sf.j2s.core;singleton:=true
5-
Bundle-Version: 3.1.1
5+
Bundle-Version: 3.2.1
66
Bundle-Activator: net.sf.j2s.core.CorePlugin
77
Bundle-Vendor: j2s.sourceforge.net
88
Require-Bundle: org.eclipse.core.runtime,
@@ -11,5 +11,4 @@ Require-Bundle: org.eclipse.core.runtime,
1111
Eclipse-AutoStart: true
1212
Export-Package: net.sf.j2s.core.astvisitors,
1313
net.sf.j2s.core.compiler,
14-
net.sf.j2s.core.hotspot,
1514
net.sf.j2s.core

sources/net.sf.j2s.core/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The seed Eclipse project site/ directory for all SwingJS projects can be found a
66

77
https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.java.core/SwingJS-site.zip?raw=true
88

9+
this file is old. See dist/dropins/README.txt
910

1011
Known issues: 2/2018
1112

sources/net.sf.j2s.core/dist/.j2s

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#j2s configuration file
2+
3+
#enable the Java2Script transpiler -- comment out to disable
4+
j2s.compiler.status=enable
5+
6+
7+
# destination directory for all JavaScript
8+
j2s.site.directory=site
9+
10+
# uncomment j2s.* lines to process:
11+
12+
# a semicolon-separated list of package-level file paths to be excluded
13+
#j2s.excluded.paths=test;testng
14+
15+
# output file name for logging methods declared - delete the file to regenerate a listing
16+
#j2s.log.methods.declared=methodsDeclared.csv
17+
18+
#output file name for logging methods called - delete the file to regenerate a listing
19+
#j2s.log.methods.called=methodsCalled.csv
20+
21+
#if set, every instance of methods called will be logged
22+
#otherwise, only the first call to a method will be logged
23+
#output will be comma-separated: called method,caller class
24+
#j2s.log.all.calls=true
25+
26+
# a semicolon-separated list of packages that contain classes for which the method names
27+
# in their classes should not be "qualified" to indicate their parameter types.
28+
# This option is useful if you have an API interface in Java that refers to JavaScript
29+
# methods such as calling window or jQuery functions or the methods in Clazz or J2S.
30+
# The classes must not have any methods that are overloaded - with the
31+
# same name but different paramater type, as JavaScript will only see the last one.
32+
#j2s.compiler.nonqualified.packages=org.jmol.api.js;jspecview.api.js
33+
34+
# uncomment to add debugging output. Start eclipse with the -consoleLog option to see output.
35+
#j2s.compiler.mode=debug
36+
37+
# a semicolon-separated list of from->to listings of package (foo.) or class (foo.bar)
38+
# replacements to be made. This option allows for having one class or package used in Java
39+
# and another used in JavaScript. Take care with this. All methods in both packages must
40+
# have exactly the same parameter signature. We use it in Jalview to provide a minimal
41+
# JavaScript implementation of a large third-party library while still using that library's
42+
# jar file in Java.
43+
#j2s.class.replacements=org.apache.log4j.->jalview.javascript.log4j.
44+
45+
# uncomment and change if you do not want to use a template.html file that is created for you
46+
# in your project directory. A default template file will be created by the transpiler
47+
# directory if there is none there already.
48+
#j2s.template.html=template.html
49+

0 commit comments

Comments
 (0)