Skip to content

Commit 820ed9a

Browse files
committed
FX is now completely purged from the repo. Long live Visage!!! :)
1 parent d007470 commit 820ed9a

File tree

383 files changed

+1817
-1817
lines changed

Some content is hidden

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

383 files changed

+1817
-1817
lines changed

build-src/build-components.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
<do-setup-and-import-component component="apps"/>
150150
<do-setup-and-import-component component="deploy"/>
151151
<do-setup-and-import-component component="docs"/>
152-
<do-setup-and-import-component component="fxdloader"/>
152+
<do-setup-and-import-component component="visagedloader"/>
153153
<do-setup-and-import-component component="jogl"/>
154154
<do-setup-and-import-component component="media"/>
155155
<do-setup-and-import-component component="mobile"/>
@@ -189,7 +189,7 @@
189189
<isset property="visage.apps.exists"/>
190190
<isset property="visage.deploy.exists"/>
191191
<isset property="visage.docs.exists"/>
192-
<isset property="visage.fxdloader.exists"/>
192+
<isset property="visage.visagedloader.exists"/>
193193
<isset property="visage.jogl.exists"/>
194194
<isset property="visage.media.exists"/>
195195
<isset property="visage.mobile.exists"/>
@@ -216,7 +216,7 @@
216216
<antcall target="visage-compiler-@{target}"/>
217217
<antcall target="media-@{target}"/>
218218
<antcall target="runtime-@{target}"/>
219-
<antcall target="fxdloader-@{target}"/>
219+
<antcall target="visagedloader-@{target}"/>
220220
<antcall target="mobile-@{target}"/>
221221
<antcall target="tv-@{target}"/>
222222
<antcall target="webservices-@{target}"/>
@@ -238,7 +238,7 @@
238238
apps-clone,
239239
deploy-clone,
240240
docs-clone,
241-
fxdloader-clone,
241+
visagedloader-clone,
242242
jogl-clone,
243243
media-clone,
244244
mobile-clone,
@@ -259,7 +259,7 @@
259259
apps-tip,
260260
deploy-tip,
261261
docs-tip,
262-
fxdloader-tip,
262+
visagedloader-tip,
263263
jogl-tip,
264264
media-tip,
265265
mobile-tip,

build-src/build-inventory.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<echo message="Checking generic deployed files."/>
115115
<inventory-deployed-check dir="." file="java-coffee-cup-23x20.png"/>
116116
<inventory-deployed-check dir="." file="Decora.jnlp"/>
117-
<inventory-deployed-check dir="." file="dtfx.js"/>
117+
<inventory-deployed-check dir="." file="dtvisage.js"/>
118118
<inventory-deployed-check dir="." file="visage-loading-100x100.gif"/>
119119
<inventory-deployed-check dir="." file="visage-loading-25x25.gif"/>
120120
<inventory-deployed-check dir="." file="visage-rt.jnlp"/>
@@ -125,7 +125,7 @@
125125
<inventory-deployed-check dir="./shared" file="visagert.jar"/>
126126
<inventory-deployed-check dir="./desktop" file="applet-launcher.jar"/>
127127
<inventory-deployed-check dir="./desktop" file="eula.jar"/>
128-
<inventory-deployed-check dir="./desktop" file="fxdloader.jar"/>
128+
<inventory-deployed-check dir="./desktop" file="visagedloader.jar"/>
129129
<inventory-deployed-check dir="./desktop" file="decora-runtime.jar"/>
130130
<inventory-deployed-check dir="./desktop" file="visage-anim.jar"/>
131131
<inventory-deployed-check dir="./desktop" file="visage-geom.jar"/>
@@ -214,7 +214,7 @@
214214
<target name="-inventory-rtdeployed-generic">
215215
<echo message="Checking generic rt-deployed files."/>
216216
<inventory-rtdeployed-check file="java-coffee-cup-23x20.png"/>
217-
<inventory-rtdeployed-check file="dtfx.js"/>
217+
<inventory-rtdeployed-check file="dtvisage.js"/>
218218
<inventory-rtdeployed-check file="visage-loading-100x100.gif"/>
219219
<inventory-rtdeployed-check file="visage-loading-25x25.gif"/>
220220
<inventory-rtdeployed-check file="visage-rt.jnlp"/>
@@ -303,7 +303,7 @@
303303
<inventory-sdk-check dir="./docs/api/visage.data.pull" file="package-summary.html"/>
304304
<inventory-sdk-check dir="./docs/api/visage.data.xml" file="package-summary.html"/>
305305
<inventory-sdk-check dir="./docs/api/visage.ext.swing" file="package-summary.html"/>
306-
<inventory-sdk-check dir="./docs/api/visage.fxd" file="package-summary.html"/>
306+
<inventory-sdk-check dir="./docs/api/visage.visaged" file="package-summary.html"/>
307307
<inventory-sdk-check dir="./docs/api/visage.geometry" file="package-summary.html"/>
308308
<inventory-sdk-check dir="./docs/api/visage.io.http" file="package-summary.html"/>
309309
<inventory-sdk-check dir="./docs/api/visage.lang" file="package-summary.html"/>
@@ -331,7 +331,7 @@
331331
<inventory-sdk-check dir="./docs" file="manpage.css"/>
332332
<inventory-sdk-check dir="./lib" file="visage-runtime.properties"/>
333333
<inventory-sdk-check dir="./lib/desktop" file="eula.jar"/>
334-
<inventory-sdk-check dir="./lib/desktop" file="fxdloader.jar"/>
334+
<inventory-sdk-check dir="./lib/desktop" file="visagedloader.jar"/>
335335
<inventory-sdk-check dir="./lib/desktop" file="decora-runtime.jar"/>
336336
<inventory-sdk-check dir="./lib/desktop" file="visage-anim.jar"/>
337337
<inventory-sdk-check dir="./lib/desktop" file="visage-geom.jar"/>

build.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
ant test -Dincludes=framework/xxxTest.java
132132
or for example
133133
ant test -Dincludes=launchers/VersionTest.java
134-
To run a subset, say fxunit/ of the VisageCompilerTest tests, do
135-
ant test -Dtest.visage.roots=test/fxunit -Dincludes=framework/VisageCompilerTest.java
134+
To run a subset, say visageunit/ of the VisageCompilerTest tests, do
135+
ant test -Dtest.visage.roots=test/visageunit -Dincludes=framework/VisageCompilerTest.java
136136

137137
name="docs" depends="binaries,source-zip,-do-docs" description="Build binaries, docs, and src.zip"
138138
name="all" depends="docs,test,pack-jars" description="Build and test all project artifacts"
@@ -209,8 +209,8 @@
209209
<mkdir dir="${visage.xml.docs.dir}"/>
210210
<copy file="${build.dir}/docs/javacode.xml"
211211
tofile="${visage.xml.docs.dir}/visage-compiler_javacode.xml"/>
212-
<copy file="build/docs/fxcode.xml"
213-
tofile="${visage.xml.docs.dir}/visage-compiler_fxcode.xml"/>
212+
<copy file="build/docs/visagecode.xml"
213+
tofile="${visage.xml.docs.dir}/visage-compiler_visagecode.xml"/>
214214
</target>
215215

216216
<target name="-do-visage-clean-deploy">
@@ -580,7 +580,7 @@
580580
<jvmarg value="-Xbootclasspath/p:${bootjars}"/>
581581
<jvmarg value="-Djava.awt.headless=true"/>
582582
<jvmarg value="-Xmx${visage.javadoc.max.memory}"/>
583-
<arg value="-o"/> <arg value="build/docs/fxcode.xml"/>
583+
<arg value="-o"/> <arg value="build/docs/visagecode.xml"/>
584584
<arg value="-nohtml"/>
585585
<arg value="-sourcepath"/> <arg value="${srcpathprop}"/>
586586
<arg value="-classpath"/> <arg value="${clsjars}"/>
@@ -825,21 +825,21 @@
825825
</or>
826826
</condition>
827827

828-
<target name="fxjdi" description="Build fxjdi.jar" depends="-fxjdi-build, -fxjdi-skip">
828+
<target name="visagejdi" description="Build visagejdi.jar" depends="-visagejdi-build, -visagejdi-skip">
829829
</target>
830830

831-
<target name="-fxjdi-skip" description="Skip building fxjdi.jar on JDK LT 6" if="preJDK6">
832-
<echo message="Skipping build of fxjdi because JDK 5 or earlier is in use"/>
831+
<target name="-visagejdi-skip" description="Skip building visagejdi.jar on JDK LT 6" if="preJDK6">
832+
<echo message="Skipping build of visagejdi because JDK 5 or earlier is in use"/>
833833
</target>
834834

835-
<target name="-fxjdi-build" description="Build fxjdi.jar and javadoc on JDK >= 6" unless="preJDK6">
836-
<echo message="Building fxjdi"/>
837-
<ant dir="fxjdi" antfile="build.xml" target="dist" inheritAll="false">
835+
<target name="-visagejdi-build" description="Build visagejdi.jar and javadoc on JDK >= 6" unless="preJDK6">
836+
<echo message="Building visagejdi"/>
837+
<ant dir="visagejdi" antfile="build.xml" target="dist" inheritAll="false">
838838
<property name="build.defs" value="${build.defs}" />
839839
</ant>
840-
<copy file="fxjdi/dist/fxjdi.jar" tofile="${dist.fxjdi.jar}"/>
841-
<copy todir="${basedir}/dist/doc/fxjdi/api">
842-
<fileset dir="fxjdi/dist/javadoc/"/>
840+
<copy file="visagejdi/dist/visagejdi.jar" tofile="${dist.visagejdi.jar}"/>
841+
<copy todir="${basedir}/dist/doc/visagejdi/api">
842+
<fileset dir="visagejdi/dist/javadoc/"/>
843843
</copy>
844844
</target>
845845

@@ -858,9 +858,9 @@
858858
<ant dir="${visagedoc.dir}" antfile="build.xml" target="clean" inheritall="false" />
859859
</target>
860860

861-
<target name="fxjdi-clean">
862-
<echo message="clean in fxjdi/"/>
863-
<ant dir="fxjdi" antfile="build.xml" target="clean" inheritall="false">
861+
<target name="visagejdi-clean">
862+
<echo message="clean in visagejdi/"/>
863+
<ant dir="visagejdi" antfile="build.xml" target="clean" inheritall="false">
864864
<property name="build.defs" value="${build.defs}" />
865865
</ant>
866866
</target>
@@ -878,7 +878,7 @@
878878

879879
<!-- Not part of the "clean" target processing. Used by ?? -->
880880
<target name="real-clean">
881-
<antcall target="fxjdi-clean" inheritall="false"/>
881+
<antcall target="visagejdi-clean" inheritall="false"/>
882882
<antcall target="clean"/>
883883
<antcall target="visagedoc-clean" inheritall="true"/>
884884
<antcall target="langref-clean" inheritall="true"/>
@@ -1125,7 +1125,7 @@
11251125
<echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
11261126
</target>
11271127

1128-
<target name="jar" depends="init,compile,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,fxjdi" description="Build JAR.">
1128+
<target name="jar" depends="init,compile,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,visagejdi" description="Build JAR.">
11291129
</target>
11301130
<!--
11311131
=================
@@ -1515,7 +1515,7 @@
15151515
-->
15161516

15171517

1518-
<target name="-do-clean" depends="visagedoc-clean,fxjdi-clean,langref-clean,launcher-clean">
1518+
<target name="-do-clean" depends="visagedoc-clean,visagejdi-clean,langref-clean,launcher-clean">
15191519
<delete quiet="true" dir="${build.dir}"/>
15201520
<delete quiet="true" dir="${dist.dir}"/>
15211521
<delete quiet="true" file="cobertura.ser" />

buildtools/fxbtrace/README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ was cloned.
1818
ant -Dbtrace.home=$BTRACE_HOME
1919

2020
The above compiles all btrace scripts under btrace_scripts to the destination
21-
directory ../../build/buildtools/fxbtrace/
21+
directory ../../build/buildtools/visagebtrace/
2222

23-
Or you can use "./bin/fxbtracec" to compile a specific BTrace script file like:
23+
Or you can use "./bin/visagebtracec" to compile a specific BTrace script file like:
2424

25-
./bin/fxbtracec btrace_scripts/InvalidationTracer.java
25+
./bin/visagebtracec btrace_scripts/InvalidationTracer.java
2626

27-
5) ./bin/fxbtrace <compiled-btrace-script.class> <your-visage-main-class> <args>
27+
5) ./bin/visagebtrace <compiled-btrace-script.class> <your-visage-main-class> <args>
2828

2929
For example,
3030

31-
./bin/fxbtrace ../../build/buildtools/fxbtrace/InvalidationTracer.class VisageMain
31+
./bin/visagebtrace ../../build/buildtools/visagebtrace/InvalidationTracer.class VisageMain
3232

3333
This produces the trace output file as
3434

35-
../../build/buildtools/fxbtrace/InvalidationTracer.class.btrace
35+
../../build/buildtools/visagebtrace/InvalidationTracer.class.btrace
3636

3737
The .btrace file is produced whereever the .class of the BTrace script is
3838
located.

buildtools/fxbtrace/btrace_scripts/FxBtraceTracker.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@
4848
* mbean individually.
4949
*/
5050
@Property
51-
private static long fxObjectCount = 0;
51+
private static long visageObjectCount = 0;
5252
@Property
53-
private static long fxWeakRefsCount = 0;
53+
private static long visageWeakRefsCount = 0;
5454
@Property
55-
private static long fxDependentCount = 0;
55+
private static long visageDependentCount = 0;
5656
@Property
57-
private static long fxNotifyDependentsCount = 0;
57+
private static long visageNotifyDependentsCount = 0;
5858

5959
@OnMethod(
6060
clazz="org.visage.runtime.VisageBase",
6161
method="<init>"
6262
)
63-
public static void onNewFXObject(@Self Object obj, boolean dummy) {
64-
fxObjectCount++;
63+
public static void onNewVisageObject(@Self Object obj, boolean dummy) {
64+
visageObjectCount++;
6565
String cn = name(classOf(obj));
6666
Integer i = get(histo, cn);
6767
if (i == null) {
@@ -78,7 +78,7 @@ public static void onNewFXObject(@Self Object obj, boolean dummy) {
7878
)
7979
public static void onNewWeakBinderRef(@Self Object obj, VisageObject referred) {
8080
weakBinderRefClass = probeClass();
81-
fxWeakRefsCount++;
81+
visageWeakRefsCount++;
8282
}
8383

8484
@OnMethod(
@@ -87,7 +87,7 @@ public static void onNewWeakBinderRef(@Self Object obj, VisageObject referred) {
8787
)
8888
public static void onNewDependent(@Self Object obj, VisageObject referred) {
8989
dependentClass = probeClass();
90-
fxWeakRefsCount++;
90+
visageWeakRefsCount++;
9191
}
9292

9393
@OnMethod(
@@ -97,7 +97,7 @@ public static void onNewDependent(@Self Object obj, VisageObject referred) {
9797
public static void onReferenceClear(@Self Object obj) {
9898
if ((dependentClass != null && isInstance(dependentClass, obj)) ||
9999
(weakBinderRefClass != null && isInstance(weakBinderRefClass, obj))) {
100-
fxWeakRefsCount--;
100+
visageWeakRefsCount--;
101101
}
102102
}
103103

@@ -106,23 +106,23 @@ public static void onReferenceClear(@Self Object obj) {
106106
method="addDependent$"
107107
)
108108
public static void onAddDependent(VisageObject obj, int varNum, VisageObject dep) {
109-
fxDependentCount++;
109+
visageDependentCount++;
110110
}
111111

112112
@OnMethod(
113113
clazz="org.visage.runtime.VisageBase",
114114
method="removeDependent$"
115115
)
116116
public static void onRemoveDependent(VisageObject obj, int varNum, VisageObject dep) {
117-
fxDependentCount--;
117+
visageDependentCount--;
118118
}
119119

120120
@OnMethod(
121121
clazz="org.visage.runtime.VisageBase",
122122
method="notifyDependents$"
123123
)
124124
public static void onNotifyDependents(VisageObject obj, int varNum) {
125-
fxNotifyDependentsCount++;
125+
visageNotifyDependentsCount++;
126126
}
127127

128128
@OnTimer(4000)

buildtools/fxbtrace/btrace_scripts/InstVarCount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
clazz="org.visage.runtime.VisageBase",
4747
method="<init>"
4848
)
49-
public static void onNewFXObject(@Self VisageBase self, AnyType[] args) {
49+
public static void onNewVisageObject(@Self VisageBase self, AnyType[] args) {
5050
String className = self.getClass().getName();
5151
if (! instVarCounts.containsKey(className)) {
5252
instVarCounts.put(className, self.count$());

buildtools/fxbtrace/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project name="fxtracker" default="all" basedir=".">
3-
<property name="builddir" location="${basedir}/../../build/buildtools/fxbtrace"/>
2+
<project name="visagetracker" default="all" basedir=".">
3+
<property name="builddir" location="${basedir}/../../build/buildtools/visagebtrace"/>
44
<property name="visage.home" location="${basedir}/../../../artifacts/sdk"/>
55
<property name="srcdir" location="${basedir}/src"/>
66
<property name="btrace_scriptsdir" location="${basedir}/btrace_scripts"/>

buildtools/fxbtrace/src/VisageBTraceRunner.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* @author A. Sundararajan (removed csv stuff for now)
4444
*
4545
* Readme:
46-
* Here are the steps needed to run the fxbtrace.
46+
* Here are the steps needed to run the visagebtrace.
4747
*
4848
* 1. Download the btrace binary bundle from https://btrace.dev.java.net/
4949
* 2. Extract it to BTRACE_HOME
@@ -53,7 +53,7 @@
5353
* a. BUILD_DIR or build.dir : clean location for the build files
5454
* b. VISAGE_HOME or visage.home : location of visage sdk
5555
* c. BTRACE_HOME or btrace.home : location of btrace distro
56-
* d. BASE_DIR or base.dir : location of the fxbtrace directory
56+
* d. BASE_DIR or base.dir : location of the visagebtrace directory
5757
*
5858
* Options:
5959
* Must set --jar pointer to a jar with a main-class
@@ -64,13 +64,13 @@
6464
*
6565
* Notes:
6666
* VM parameters to the test specimen may be passed as follows:
67-
* % java -DFXBTraceRunner.vmoptions="-Xmx512m, -Xss128, -Xfoobar=XX" VisageBTraceRunner options
67+
* % java -DVisageBTraceRunner.vmoptions="-Xmx512m, -Xss128, -Xfoobar=XX" VisageBTraceRunner options
6868
*
6969
* Files:
70-
* a. visage/visage-compiler/buildtools/fxbtrace/btrace_scripts/*.java
70+
* a. visage/visage-compiler/buildtools/visagebtrace/btrace_scripts/*.java
7171
* Various btrace script files that can be used to trace Visage apps.
7272
*
73-
* b. visage/visage-compiler/buildtools/fxbtrace/src/VisageBTraceRunner.java
73+
* b. visage/visage-compiler/buildtools/visagebtrace/src/VisageBTraceRunner.java
7474
* This is simply a runner script takes care of compile the script,
7575
* running btrace on the application, killing the application.
7676
*
@@ -257,7 +257,7 @@ static void doRun() {
257257
}
258258

259259

260-
// run the fxbtrace script and application
260+
// run the visagebtrace script and application
261261
cmdsList.clear();
262262
cmdsList.add(VISAGE_EXE);
263263
cmdsList.add("-D" + VISAGEBTRACERUNNER_NAME + ".interval=" + interval);

0 commit comments

Comments
 (0)