projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c2f9eba
)
Update AS integration scripts and transforms - extract out the module description...
author
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 8 Apr 2013 18:59:25 +0000
(18:59 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 8 Apr 2013 18:59:25 +0000
(18:59 +0000)
LUFA/Doxygen.conf
patch
|
blob
|
blame
|
history
LUFA/DoxygenPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
LUFA/StudioIntegration/XSLT/lufa_module_transform.xslt
patch
|
blob
|
blame
|
history
LUFA/StudioIntegration/makefile
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/Doxygen.conf
b/LUFA/Doxygen.conf
index
e8d5e5c
..
af74d44
100644
(file)
--- a/
LUFA/Doxygen.conf
+++ b/
LUFA/Doxygen.conf
@@
-1643,7
+1643,7
@@
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
-GENERATE_TAGFILE =
Documentation/lufa_doc_tags.xml
+GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
diff --git
a/LUFA/DoxygenPages/ChangeLog.txt
b/LUFA/DoxygenPages/ChangeLog.txt
index
e94b788
..
fb05dd6
100644
(file)
--- a/
LUFA/DoxygenPages/ChangeLog.txt
+++ b/
LUFA/DoxygenPages/ChangeLog.txt
@@
-49,7
+49,7
@@
* - Increased throughput in the USBtoSerial project now that data transmission is non-blocking (thanks to Joseph Lacerte)
* - Updated bootloader makefiles to remove dependency on the \c bc command line calculator tool
* - Updated AVRISP-MKII Clone Programmer project so that the SCK clock period is saved in EEPROM (thanks to Gerhard Wesser)
* - Increased throughput in the USBtoSerial project now that data transmission is non-blocking (thanks to Joseph Lacerte)
* - Updated bootloader makefiles to remove dependency on the \c bc command line calculator tool
* - Updated AVRISP-MKII Clone Programmer project so that the SCK clock period is saved in EEPROM (thanks to Gerhard Wesser)
- * - Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon K
ΓΌ
ppers)
+ * - Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon K
u
ppers)
*
* <b>Fixed:</b>
* - Core:
*
* <b>Fixed:</b>
* - Core:
diff --git
a/LUFA/StudioIntegration/XSLT/lufa_module_transform.xslt
b/LUFA/StudioIntegration/XSLT/lufa_module_transform.xslt
index
65ff2f0
..
9146202
100644
(file)
--- a/
LUFA/StudioIntegration/XSLT/lufa_module_transform.xslt
+++ b/
LUFA/StudioIntegration/XSLT/lufa_module_transform.xslt
@@
-17,6
+17,9
@@
<!-- Store the LUFA Doxygen tag filename mentioned in the root node for later use -->
<xsl:param name="lufa-doxygen-tagfile" select="lufa-manifest/@tagfile"/>
<!-- Store the LUFA Doxygen tag filename mentioned in the root node for later use -->
<xsl:param name="lufa-doxygen-tagfile" select="lufa-manifest/@tagfile"/>
+ <!-- Store the LUFA Doxygen documentation filename mentioned in the root node for later use -->
+ <xsl:param name="lufa-doxygen-docfile" select="lufa-manifest/@docfile"/>
+
<!-- Read manifest list, add a comment to indicate the source filename
and then copy/process all ASF nodes in the referenced document -->
<xsl:template match="lufa-manifest">
<!-- Read manifest list, add a comment to indicate the source filename
and then copy/process all ASF nodes in the referenced document -->
<xsl:template match="lufa-manifest">
@@
-38,22
+41,20
@@
</xsl:template>
<!-- For Doxygen entry point nodes we need to convert them into help link
</xsl:template>
<!-- For Doxygen entry point nodes we need to convert them into help link
- nodes instead, so that they show up as links in Studio correctly -->
+ nodes instead and add descriptions, so that they show up as links in
+ Studio correctly -->
<xsl:template match="build[@type='doxygen-entry-point']">
<xsl:template match="build[@type='doxygen-entry-point']">
- <xsl:call-template name="add_help_nodes">
- <xsl:with-param name="filename" select="document($lufa-doxygen-tagfile)//compound[name=current()/@value]/filename"/>
- </xsl:call-template>
- </xsl:template>
-
- <!-- Generate additional help nodes from the given help filename -->
- <xsl:template name="add_help_nodes">
- <xsl:param name="filename"/>
-
<build type="online-help" subtype="module-help-page-append">
<xsl:attribute name="value">
<build type="online-help" subtype="module-help-page-append">
<xsl:attribute name="value">
- <xsl:value-of select="$filename"/>
+ <!-- Extract filename of the HTML file that contains the documentation for this module from the Doxgen tag file -->
+ <xsl:value-of select="document($lufa-doxygen-tagfile)/tagfile/compound[name=current()/@value]/filename"/>
</xsl:attribute>
</build>
</xsl:attribute>
</build>
+
+ <info type="description" value="summary">
+ <!-- Extract brief description of the module from the Doxygen combined XML documentation file -->
+ <xsl:value-of select="document($lufa-doxygen-docfile)/doxygen/compounddef[compoundname=current()/@value]/briefdescription/para"/>
+ </info>
</xsl:template>
</xsl:stylesheet>
</xsl:template>
</xsl:stylesheet>
diff --git
a/LUFA/StudioIntegration/makefile
b/LUFA/StudioIntegration/makefile
index
e895a41
..
8c0595f
100644
(file)
--- a/
LUFA/StudioIntegration/makefile
+++ b/
LUFA/StudioIntegration/makefile
@@
-11,6
+11,7
@@
LUFA_ROOT := ..
DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml
LUFA_ROOT := ..
DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml
+DOXYGEN_COMBINED_XML := $(LUFA_ROOT)/Documentation/xml/lufa_doc.xml
TEMP_MANIFEST_XML := manifest.xml
EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml
MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml
TEMP_MANIFEST_XML := manifest.xml
EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml
MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml
@@
-21,7
+22,7
@@
ifneq ($(LUFA_VERSION_NUM),000000)
EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM)
EXT_VSIX_NAME := LUFA-RELEASE-$(LUFA_VERSION_NUM).vsix
else
EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM)
EXT_VSIX_NAME := LUFA-RELEASE-$(LUFA_VERSION_NUM).vsix
else
- EXT_VERSION_NUM := 0.$(shell date +"%y%m%d
.
%H%M%S")
+ EXT_VERSION_NUM := 0.$(shell date +"%y%m%d
-
%H%M%S")
EXT_VSIX_NAME := LUFA-TESTING-$(shell date +"%y.%m.%d.%H.%M.%S").vsix
$(warning No LUFA version set - assuming a test version should be created.)
EXT_VSIX_NAME := LUFA-TESTING-$(shell date +"%y.%m.%d.%H.%M.%S").vsix
$(warning No LUFA version set - assuming a test version should be created.)
@@
-30,15
+31,18
@@
endif
all: generate_xml check_filenames generate_vsix
clean:
all: generate_xml check_filenames generate_vsix
clean:
- @rm -f $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML)
+ @rm -f $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML)
$(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML)
$(DOXYGEN_TAG_FILE_XML):
$(DOXYGEN_TAG_FILE_XML):
- $(MAKE) -C ../ doxygen
+ $(MAKE) -C ../ doxygen
DOXYGEN_OVERRIDE_PARAMS="GENERATE_TAGFILE=Documentation/lufa_doc_tags.xml GENERATE_XML=yes"
-$(TEMP_MANIFEST_XML): $(DOXYGEN_TAG_FILE_XML)
+$(DOXYGEN_COMBINED_XML): $(DOXYGEN_TAG_FILE_XML)
+ @xsltproc $(dir $@)/combine.xslt $(dir $@)/index.xml > $(DOXYGEN_COMBINED_XML)
+
+$(TEMP_MANIFEST_XML): $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML)
@echo "Generating Manifest XML..."
@echo "Generating Manifest XML..."
- @printf "<lufa-manifest version=\"%s\" tagfile=\"%s\"
>\n" $(LUFA_VERSION_NUM) $(DOXYGEN_TAG_FILE
_XML) > $@
+ @printf "<lufa-manifest version=\"%s\" tagfile=\"%s\"
docfile=\"%s\">\n" $(LUFA_VERSION_NUM) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED
_XML) > $@
@for i in $(XML_FILES); do \
printf "\t<xml-source filename=\"%s\"/>\n" $$i >> $@; \
done;
@for i in $(XML_FILES); do \
printf "\t<xml-source filename=\"%s\"/>\n" $$i >> $@; \
done;