Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
a44ad1d2
Commit
a44ad1d2
authored
May 22, 2019
by
Evan W. Patton
Committed by
Jeffrey Schiller
May 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vestigial XML blocks generator
Change-Id: I886416cefa1a0eb34311e656847fb5dc4c433bf0
parent
075e7557
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
355 deletions
+6
-355
appinventor/build-common.xml
appinventor/build-common.xml
+0
-10
appinventor/components/build.xml
appinventor/components/build.xml
+1
-17
appinventor/components/src/com/google/appinventor/components/annotations/DesignerComponent.java
...appinventor/components/annotations/DesignerComponent.java
+1
-2
appinventor/components/src/com/google/appinventor/components/runtime/Form.java
...s/src/com/google/appinventor/components/runtime/Form.java
+4
-4
appinventor/components/src/com/google/appinventor/components/scripts/LangDefXmlGenerator.java
...e/appinventor/components/scripts/LangDefXmlGenerator.java
+0
-322
No files found.
appinventor/build-common.xml
View file @
a44ad1d2
...
...
@@ -406,14 +406,4 @@
target=
"JsonComponentDescription"
/>
</target>
<!-- ====================================================================
components_XmlComponentDescription builds:
- build/components/ya_lang_def.xml
==================================================================== -->
<target
name=
"components_XmlComponentDescription"
>
<ant
inheritAll=
"false"
useNativeBasedir=
"true"
dir=
"${appinventor.dir}/components"
target=
"XmlComponentDescription"
/>
</target>
</project>
appinventor/components/build.xml
View file @
a44ad1d2
...
...
@@ -14,7 +14,7 @@
<target
name=
"all"
depends=
"CommonConstants,AndroidRuntime,
JsonComponentDescription,
XmlComponentDescription,
JsonComponentDescription,
ComponentList,ComponentTranslation,Barcode"
>
</target>
...
...
@@ -405,22 +405,6 @@
todir=
"${public.build.dir}"
/>
</target>
<!-- =====================================================================
XmlComponentDescription: create lang_def.xml for Blocks Editor.
===================================================================== -->
<target
name=
"XmlComponentDescription"
description=
"Make ya_lang_def.xml file for Blocks Editor."
depends=
"AnnotationProcessors,AndroidRuntime,HtmlEntities,CommonConstants"
>
<property
name=
"XmlComponentDescription-class.dir"
location=
"${class.dir}/XmlComponentDescription"
/>
<ai.apt
apt-classdir=
"${XmlComponentDescription-class.dir}"
apt-processor=
"com.google.appinventor.components.scripts.LangDefXmlGenerator"
apt-target=
"${XmlComponentDescription-class.dir}/ya_lang_def.xml"
/>
<copy
file=
"${XmlComponentDescription-class.dir}/ya_lang_def.xml"
todir=
"${public.build.dir}"
/>
</target>
<!-- =====================================================================
ComponentList: create simple_components.txt and
simple_components_build_info.json
...
...
appinventor/components/src/com/google/appinventor/components/annotations/DesignerComponent.java
View file @
a44ad1d2
...
...
@@ -36,8 +36,7 @@ public @interface DesignerComponent {
* Description to be shown on user request in the Designer. If this field is
* empty, the description() field should be used. This may contain HTML.
* Internal double-quotes will be converted to single-quotes when this field
* is displayed in the designer. For now, this cannot contain an
* ampersand (%), which would corrupt ya_lang_def.xml.
* is displayed in the designer.
*/
// TODO(user): Add more robust character escaping.
String
designerHelpDescription
()
default
""
;
...
...
appinventor/components/src/com/google/appinventor/components/runtime/Form.java
View file @
a44ad1d2
...
...
@@ -847,9 +847,9 @@ public class Form extends AppInventorCompatActivity
* Compiler-generated method to initialize and add application components to
* the form. We just provide an implementation here to artificially make
* this class concrete so that it is included in the documentation and
*
Codeblocks language
definition file generated by
*
App Inventor component
definition file generated by
* {@link com.google.appinventor.components.scripts.DocumentationGenerator} and
* {@link com.google.appinventor.components.scripts.
LangDefXml
Generator},
* {@link com.google.appinventor.components.scripts.
ComponentDescriptor
Generator},
* respectively. The actual implementation appears in {@code runtime.scm}.
*/
protected
void
$define
()
{
// This must be declared protected because we are called from Screen1 which subclasses
...
...
@@ -875,9 +875,9 @@ public class Form extends AppInventorCompatActivity
/**
* A trivial implementation to artificially make this class concrete so
* that it is included in the documentation and
*
Codeblocks language
definition file generated by
*
App Inventor component
definition file generated by
* {@link com.google.appinventor.components.scripts.DocumentationGenerator} and
* {@link com.google.appinventor.components.scripts.
LangDefXml
Generator},
* {@link com.google.appinventor.components.scripts.
ComponentDescriptor
Generator},
* respectively. The actual implementation appears in {@code runtime.scm}.
*/
@Override
...
...
appinventor/components/src/com/google/appinventor/components/scripts/LangDefXmlGenerator.java
deleted
100644 → 0
View file @
075e7557
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment