Skip to content

Commit

Permalink
Latest changes preparing for release
Browse files Browse the repository at this point in the history
Sandcastle Help File Builder
- Added support for the .NET Framework 4.6.1 and .NET MicroFramework 4.4
frameworks.  Regenerated the affected reflection data and NuGet packages
to include these updates.
- Regenerated the UniversalWindows (.NETCore 5.0/.NETPortable 5.0)
reflection data to include updated assembly information.
- Regenerated all other framework reflection data to remove the
unnecessary AllMembersTopic entries.
- Fixed the FrameworkVersionShort substitution tag so that it includes
the build number when approrpriate.
  • Loading branch information
EWSoftware committed Apr 9, 2016
1 parent 4d0f994 commit a7d7338
Show file tree
Hide file tree
Showing 27 changed files with 621 additions and 146 deletions.
8 changes: 4 additions & 4 deletions Deployment/InstallerConfiguration.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- This indicates the version of Sandcastle with which this installer is associated.-->
<sandcastle version="v2015.10.10.0" />
<sandcastle version="v2016.4.9.0" />

<!-- Define the installer pages. Third-party build tool and component providers can add new pages that
they have created to install their own products as well. -->
Expand All @@ -12,8 +12,8 @@
executing installer. -->
<page type="Sandcastle.Installer.InstallerPages.WelcomePage" />
<page type="Sandcastle.Installer.InstallerPages.WhatsNewPage">
<whatsNew url="http://EWSoftware.github.io/SHFB/html/5a0130e2-a2ab-493c-a720-be43589e8b1c.htm"
description="Sandcastle Help File Builder and Tools v2015.10.10.0 Release Notes" />
<whatsNew url="http://EWSoftware.github.io/SHFB/html/21e5cfbd-c579-4ba9-9564-12b573d679d0.htm"
description="Sandcastle Help File Builder and Tools v2016.4.9.0 Release Notes" />
</page>
<page type="Sandcastle.Installer.InstallerPages.RequiredFrameworkPage" />
<page type="Sandcastle.Installer.InstallerPages.HelpFileFormatsPage">
Expand All @@ -22,7 +22,7 @@

<!-- Sandcastle Help File Builder and Tools installer pages -->
<page type="Sandcastle.Installer.InstallerPages.SandcastleHelpFileBuilderPage"
frameworkVersion="4.5" shfbVersion="2015.10.10.0" installerName="SandcastleHelpFileBuilder.msi"/>
frameworkVersion="4.5" shfbVersion="2016.4.9.0" installerName="SandcastleHelpFileBuilder.msi"/>
<page type="Sandcastle.Installer.InstallerPages.SHFBVisualStudioPackagePage"
frameworkVersion="4.5" packageGuid="c997d569-ee8e-4947-a46f-9a0717ce39a0"
installerName="SHFBVisualStudioPackage.vsix">
Expand Down
2 changes: 1 addition & 1 deletion Documentation/SandcastleBuilder/CommonTokens.tokens
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<content xml:space="preserve" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
<item id="BuildDate">{@BuildDate:MMMM d, yyyy}</item>
<item id="SandcastleVersion">v2015.10.10.0</item>
<item id="SandcastleVersion">v2016.4.9.0</item>
<item id="SHFB"><ddue:externalLink xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5">
<ddue:linkText>Sandcastle Help File Builder</ddue:linkText>
<ddue:linkUri>https://GitHub.com/EWSoftware/SHFB</ddue:linkUri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ missing documentation items as well.</para>
Include Namespaces (false by default)
Namespaces filename ("Namespaces" if not specified or empty)
Directory (current folder if not specified or empty) --&gt;
&lt;output includeNamespaces="false" namespacesFile="Namespaces"
folder="{@OutputFolder}" /&gt;
Bounded cache capacity (0 if not specified) --&gt;
&lt;output includeNamespaces="false" namespacesFile="Namespaces"
folder="{@OutputFolder}" boundedCapacity="100" /&gt;
&lt;/component&gt;
</code>

Expand All @@ -46,6 +47,13 @@ you should enter only the name and omit any file path and extension. The namesp
IntelliSense but can be added to one or more help file builder projects as a common documentation source to share
project and namespace summary information between projects.</para>

<para>The IntelliSense Component uses a pipeline to generate and save the XML comments in parallel to
improve performance. The <codeInline>boundedCapacity</codeInline> property controls how many XML comments blocks
can accumulate in the writer task's cache before blocking any further ones from being generated until the cache
empties out. The default is 100 members. Decrease this value to conserve memory or increase it to improve
performance. Set it to zero for an unbounded cache size which gives the best performance at the expense of
memory. The number of members remaining to be written is reported at the end of the build. You can use that
value to determine whether to increase or decrease this property value for each project.</para>
</content>
</section>

Expand Down
8 changes: 0 additions & 8 deletions Documentation/SandcastleBuilder/Content/CustomBuild.aml
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,6 @@ encoded).</para>
directive necessary to place the text in the page footers.</para>
</entry>
</row>
<row>
<entry>
<para>{@CoreFrameworkPath}</para>
</entry>
<entry>
<para>This expands to the core assembly path for the selected framework version.</para>
</entry>
</row>
<row>
<entry>
<para>{@DefaultTopic} and {@WebDefaultTopic}</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<para>An attempt was made to use a Visual Studio project as a documentation source that has an
incompatible format. C++ projects created with Visual Studio 2008 and earlier do not use an MSBuild-based format
and cannot be parsed. Future versions of Visual Studio may introduce new MSBuild elements and attributes
not recognized by the MSBuid engine used by the help file builder to load project files. If a project is
not recognized by the MSBuild engine used by the help file builder to load project files. If a project is
encountered that uses these new elements, it may not be loadable.</para>
</content>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,19 @@ messages before the warning or error to help in diagnosing the issue.</para>
</content>
</section>

<section address="SaveComponentCache">
<title>Maximum Save Component writer task cache capacity</title>
<content>
<para>The BuildAssembler Save Component uses a pipeline to generate and save topic content in parallel to
improve performance. This property controls how many topics can accumulate in the writer task's cache before
blocking any further topics from being built until the cache empties out. The default is 100 topics. Decrease
this value to conserve memory or increase it to improve performance. Set it to zero for an unbounded cache size
which gives the best performance at the expense of memory. The number of topics remaining to be written is
reported at the end of the build. You can use that value to determine whether to increase or decrease this
property value for each project.</para>
</content>
</section>

<relatedTopics>
<link xlink:href="e32086c6-de17-4e54-a746-1ac80bf0c45a" />
</relatedTopics>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ review the release notes from all releases after it to the latest to find change
your project such as modifications to build component and plug-in configurations.</para>

<list class="bullet">
<listItem>
<para>
<link xlink:href="21e5cfbd-c579-4ba9-9564-12b573d679d0" />
</para>
</listItem>

<listItem>
<para>
<link xlink:href="5a0130e2-a2ab-493c-a720-be43589e8b1c" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ for assembly binding redirection. Added example configuration info for it to <l
</section>

<section address="BuildAssembler">
<title>BuildAssember Tools</title>
<title>BuildAssembler Tools</title>
<content>
<list class="bullet">
<listItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ components, this allows for the same dynamic discoverability at runtime and proj
<listItem>
<para>Changed the syntax generator IDs to their actual language names so that they are displayed
using the language name in the help file builder. This should be transparent to most projects but if you have
<application>BuildAssember</application> configuration files you will need to update the syntax generator IDs in
<application>BuildAssembler</application> configuration files you will need to update the syntax generator IDs in
them.</para>
</listItem>

Expand Down
224 changes: 224 additions & 0 deletions Documentation/SandcastleBuilder/Content/VersionHistory/v2016.4.9.0.aml
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
<?xml version="1.0" encoding="utf-8"?>
<topic id="21e5cfbd-c579-4ba9-9564-12b573d679d0" revisionNumber="1">
<developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
<introduction>
<autoOutline excludeRelatedTopics="true" lead="Release notes for version 2016.4.9.0." />
</introduction>

<section address="BreakingChanges">
<title>Breaking Changes</title>
<content>
<para>If you have created custom build components, syntax generators, plug-ins, or presentation styles,
carefully read the following items as you may need to update your components based on these changes. Most of
these changes were made to facilitate a single BuildAssembler step that generates all conceptual and API topics
rather than as two separate steps.</para>

<list class="bullet">
<listItem>
<para>Removed <codeInline>BuildStep.BuildConceptualTopics</codeInline> and
<codeInline>BuildStep.BuildReferenceTopics</codeInline> and replaced them with a common
<codeInline>BuildStep.BuildTopics</codeInline> step that generates both the conceptual and API topics.</para>
</listItem>

<listItem>
<para>Removed all separate conceptual and API BuildAssembler configuration files and merged the
settings into a common <localUri>BuildAssembler.config</localUri> configuration file in all presentation styles.
The <codeInline>Switch Component</codeInline> is used to identify the MAML and API component groups.</para>
</listItem>

<listItem>
<para>Any components that modify the BuildAssembler manifest files need to be aware of the new
<codeInline>type</codeInline> attribute that must appear on each <codeInline>topic</codeInline> element. It
defines whether the topic is a MAML topic or an API topic.</para>
</listItem>

<listItem>
<para>BuildAssembler now creates the root <codeInline>document</codeInline> element of the skeleton
document and adds a <codeInline>type</codeInline> attribute indicating the topic type as defined in the manifest
(MAML or API).</para>
</listItem>

<listItem>
<para>Updated the <codeInline>Clone Component</codeInline>, <codeInline>For Each Component</codeInline>,
<codeInline>If-Then Component</codeInline>, <codeInline>Multi-Format Output Component</codeInline>,
<codeInline>Switch Component</codeInline>, and <codeInline>Syntax Component</codeInline> so that they can
differentiate between topics using a group ID. This is necessary in the combined conceptual/reference topic
builds since each group of components uses the common component event to handle pre-transform and post-transform
tasks.</para>
</listItem>

<listItem>
<para>Updated the presentation style component and all presentation styles by replacing the
<codeInline>ConceptualBuildConfiguration</codeInline> and <codeInline>ReferenceBuildConfiguration</codeInline>
properties with a single <codeInline>BuildAssemblerConfiguration</codeInline> property.</para>
</listItem>

<listItem>
<para>Updated all BuildAssembler configuration files to copy the content of the skeleton document's
root element to the root element of the given topic rather than replacing it entirely. This is necessary to
preserve the topic type attribute added by BuildAssembler.</para>
</listItem>

</list>

</content>
</section>

<section address="SandcastleTools">
<title>Sandcastle Tools</title>
<content>
<list class="bullet">
<listItem>
<para>Fixed the VB syntax generator so that it correctly handles C++ assignment operators.</para>
</listItem>

<listItem>
<para>Merged changes from tlgkccampbell into MRefBuilder to allow customization of dependency
property and routed event type names.</para>
</listItem>

<listItem>
<para>Made various changes to BuildAssembler and some of the build components to improve their
performance and to support the combined API/MAML topic build.</para>
</listItem>

<listItem>
<para>Added support for the .NET Framework 4.6.1, .NET Micro Framework 4.4, and .NET Portable 5.0
frameworks. Regenerated the affected reflection data and NuGet packages to include these updates.</para>
</listItem>

<listItem>
<para>Regenerated the Universal Windows (.NETCore 5.0/.NETPortable 5.0) reflection data to include
updated assembly information.</para>
</listItem>

<listItem>
<para>Regenerated all other framework reflection data to remove the unnecessary
<codeInline>AllMembersTopic</codeInline> entries.</para>
</listItem>

</list>
</content>
</section>

<section address="SHFB">
<title>Sandcastle Help File Builder</title>
<content>
<list class="bullet">
<listItem>
<para>Fixed the build task so that it works correctly with MSBuild 14.0.</para>
</listItem>

<listItem>
<para>Fixed a bug/incompatibility between Visual Studio 2015 and the MPF project system that only
occurs when opening the project properties via the context menu.</para>
</listItem>

<listItem>
<para>Fixed the <codeInline>FrameworkVersionShort</codeInline> substitution tag so that it includes
the build number when appropriate.</para>
</listItem>

<listItem>
<para>Modified the build engine so that the help project being built attempts to retrieve the
<codeInline>SolutionPath</codeInline> macro from the help project in order to use it as the default for the
solution macros when extracting the targets from project documentation sources. This allows documentation
source projects that use solution macros in their output path to resolve properly as long as the help project is
built as part of the containing solution.</para>
</listItem>

<listItem>
<para>Merged a fix from qmfrederik to fix the Lightweight Website Style Plug-in problem caused by
empty URL values.</para>
</listItem>

<listItem>
<para>Updated the <ui>Entity References</ui> tool window so that the root namespace container topic
ID is returned if you search for "R:".</para>
</listItem>

<listItem>
<para>Added a component cache that loads the component information asynchronously and is shared
amongst the property pages that need it to improve UI responsiveness in both Visual Studio and the standalone
GUI. Changing the component path property also triggers a refresh which should remove the need to unload and
reload a project after changing it to see the components in the new location.</para>
</listItem>

<listItem>
<para>The Save Component now uses a pipeline to generate and write the topics in parallel. A Save
Component cache capacity project option was added to allow limiting the number of topics the Save Component will
accumulate while waiting to write them out.</para>
</listItem>

<listItem>
<para>The IntelliSense Component also uses a pipeline to generate and save the XML comments elements
to the various IntelliSense files. A similar cache capacity option was added to the IntelliSense component to
limit the number of members it accumulates while waiting to write them out.</para>
</listItem>

<listItem>
<para>Changed the Lightweight website style plug-in to generate the TOC info files in parallel to
improve performance.</para>
</listItem>

<listItem>
<para>Changed the website full text index generation so that it processes the files in parallel to
improve performance.</para>
</listItem>

<listItem>
<para>Modified the MPF and SHFB project system to allow for excluding the content of the output path
and working folders when doing <ui>Show All Files</ui>. This is a quick hack to work around the very slow
performance when using <ui>Show All Files</ui> due to the large number of files in the output and working folders
when website output is produced. The output folder itself is still included but subfolders are not. This would
prevent the inclusion of those subfolders in the project in cases where the project does not produce website
output but chances are most people won't want to include these folders in the project anyway.</para>
</listItem>

<listItem>
<para>Merged changes from Sam Harwell to fix issues in Visual Studio 2015 XML comments completion
with certain elements.</para>
</listItem>

</list>
</content>
</section>

<section address="PresentationStyles">
<title>Presentation Styles</title>
<content>
<list class="bullet">
<listItem>
<para>Fixed the encoding on the German language content files in all presentation styles.</para>
</listItem>

<listItem>
<para>Merged a fix from tylerohlsen into the legacy <localUri>TOC.js</localUri> file that added a
dash (-) to the allowed set of characters on the query string to fix direct links with GUIDs.</para>
</listItem>

<listItem>
<para>Updated the presentation styles to correctly show the proper title for the root namespace
container link in <codeInline>see</codeInline>, <codeInline>seealso</codeInline>, and
<codeInline>codeEntityReference</codeInline> link elements.</para>
</listItem>

<listItem>
<para>Removed the <codeInline>IncludeInheritedOverloadTopics</codeInline> parameter from the
<localUri>ApplyVSDocModel.xsl</localUri> transformation as it served no useful purpose.</para>
</listItem>

<listItem>
<para>Added Japanese content file translations from bleis-tift to all presentation styles.</para>
</listItem>

</list>
</content>
</section>

<relatedTopics>
<link xlink:href="078cc1c7-7995-431e-bf9c-8813becbe8df" />
</relatedTopics>

</developerConceptualDocument>
</topic>
13 changes: 9 additions & 4 deletions Documentation/SandcastleBuilder/SandcastleBuilder.content
Original file line number Diff line number Diff line change
Expand Up @@ -1363,19 +1363,24 @@
<HelpKeyword index="K" term="support, donate" />
</HelpKeywords>
</Topic>
<Topic id="078cc1c7-7995-431e-bf9c-8813becbe8df" visible="True" isExpanded="true" title="Version History">
<Topic id="078cc1c7-7995-431e-bf9c-8813becbe8df" visible="True" isExpanded="true" isSelected="true" title="Version History">
<HelpKeywords>
<HelpKeyword index="K" term="History" />
<HelpKeyword index="K" term="Version History" />
</HelpKeywords>
<Topic id="5a0130e2-a2ab-493c-a720-be43589e8b1c" visible="True" isSelected="true" title="Version 2015.10.10.0">
<Topic id="21e5cfbd-c579-4ba9-9564-12b573d679d0" visible="True" title="Version 2016.4.9.0">
<HelpKeywords>
<HelpKeyword index="K" term="version, 2015.10.10.0" />
<HelpKeyword index="K" term="versions, 2016.4.9.0" />
</HelpKeywords>
</Topic>
<Topic id="5a0130e2-a2ab-493c-a720-be43589e8b1c" visible="True" title="Version 2015.10.10.0">
<HelpKeywords>
<HelpKeyword index="K" term="versions, 2015.10.10.0" />
</HelpKeywords>
</Topic>
<Topic id="90c2bedf-fe6e-4f99-8a33-84b441701269" visible="True" title="Version 2015.7.25.0">
<HelpKeywords>
<HelpKeyword index="K" term="version, 2015.7.25.0" />
<HelpKeyword index="K" term="versions, 2015.7.25.0" />
</HelpKeywords>
</Topic>
<Topic id="006F71C5-D279-4A4C-AF34-B5CC28D560C5" visible="True" title="Versions 2014.1.26.0 Beta through 2015.5.2.0">
Expand Down
Loading

0 comments on commit a7d7338

Please sign in to comment.