Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF/PresentationCore-Windows : Generate XML files from most recent RC1 WPF source and update docs with DocsPortingTool #7165

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

ryalanms
Copy link
Member

WPF/PresentationCore-Windows : Generate XML files from most recent RC1 WPF source and update docs with DocsPortingTool

The RC1 source for these assemblies has 'triple-slash' comments not in the documentation:

PresentationBuildTasks
PresentationCore-AutomationPeers (AutomationPeers, Ink, and Input)
PresentationCore-Interop (Interop, Markup, Media Animation, and Media Effects)
PresentationCore-Media (Imaging and Media3D)
PresentationCore-MediaOther1
PresentationCore-MediaOther2
PresentationCore-Windows (System.Windows)
ReachFramework
System.Windows.Controls.Ribbon
System.Windows.Presentation
UIAutomationClient
UIAutomationTypes
WindowsBase

There is one documentation update PR per assembly, except PresentationCore, which was spit into 6 areas.

(Hide whitespace changes when reviewing files.)

/cc @dotnet/wpf-developers @carlossanlop

VSC-Service-Account and others added 29 commits August 21, 2021 01:02
 Build.Reason:Manual by Genevieve Warren
 Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=248605&view=results
 source_repo.branch:net6-rc1
 source_repo.url:https://apidrop.visualstudio.com/_git/binaries
* Update InteropServices doc

* Docs for MemoryMarshal and PosixSignalContext.

* Doc update for CollectionsMarshal

* Update docs for Objective-C classes
…net#7103)

* Port triple-slash comments to docs for Microsoft.Extensions.Http

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: Genevieve Warren <[email protected]>
* Add WebSocket and HttpHeadersNonValidated missing APIs

* Update xml/System.Net.Http.Headers/HttpHeadersNonValidated.xml

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: Genevieve Warren <[email protected]>
* Port System.Net triple slash to docs

* Address suggestions by gewarren

Co-authored-by: carlossanlop <[email protected]>
* Port System.Text.Json triple slash to docs

* fix warnings

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
* Port System.Diagnostics triple slash to docs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
* Update symlink documentation

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: Genevieve Warren <[email protected]>
* Port System triple slash to docs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* String suggestions

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
…e slash to docs (dotnet#7102)

* Port System.Runtime.Versioning.RequiresPreviewFeaturesAttribute triple slash to docs

* suggestion by pgovind

* add link

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
* Port System.Reflection triple slash to docs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Buyaa Namnan <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Buyaa Namnan <[email protected]>
* Port System.Security.Cryptography.Xml triple slash to docs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* Update xml/System.Security.Cryptography.Xml/CryptoSignedXmlRecursionException.xml

Co-authored-by: Genevieve Warren <[email protected]>

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
* Add docs for missing members in System.CodeDom

* Add missing return statement

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <[email protected]>

Co-authored-by: Carlos Sanchez <[email protected]>
* Port System.Security.Cryptography triple slash to docs

* Fix -or- spacing

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
* Ported docs from dotnet/runtime#57855

* Update xml/System.Net.Http/HeaderEncodingSelector`1.xml

Co-authored-by: Carlos Sanchez <[email protected]>
* Correct missing devdoc.

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <[email protected]>
* Port IntPtr and MemoryExtensions triple slash to docs

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: carlossanlop <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-WPF Issues or PRs that relate to WPF or XAML. label Sep 13, 2021
@opbld33
Copy link

opbld33 commented Sep 13, 2021

Docs Build status updates of commit 9399dd8:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Windows/EventManager.xml 💡Suggestion View Details
xml/System.Windows/EventRoute.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventArgs.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventHandlerInfo.xml 💡Suggestion View Details
xml/System.Windows/DataObject.xml ✅Succeeded View
xml/System.Windows/DataObjectCopyingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectPastingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectSettingDataEventArgs.xml ✅Succeeded View
xml/System.Windows/DragEventArgs.xml ✅Succeeded View
xml/System.Windows/FontStretchConverter.xml ✅Succeeded View
xml/System.Windows/FreezableCollection`1+Enumerator.xml ✅Succeeded View
xml/System.Windows/GiveFeedbackEventArgs.xml ✅Succeeded View
xml/System.Windows/IContentHost.xml ✅Succeeded View
xml/System.Windows/PresentationSource.xml ✅Succeeded View
xml/System.Windows/QueryContinueDragEventArgs.xml ✅Succeeded View
xml/System.Windows/SourceChangedEventArgs.xml ✅Succeeded View
xml/System.Windows/TextDecoration.xml ✅Succeeded View
xml/System.Windows/TextDecorationCollection.xml ✅Succeeded View
xml/System.Windows/UIElement.xml ✅Succeeded View

xml/System.Windows/EventManager.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/EventRoute.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventArgs.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventHandlerInfo.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some suggestions.

Comment on lines +128 to +134
If a node in the tree has different visual and logical,
FrameworkElement will store the node on this stack of
branches. If the route ever returns to the same logical
tree, the event source will be restored.
<para />
NOTE: This method needs to be public because it is used
by FrameworkElement.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this information relevant to the final user?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove these.

Comment on lines +173 to +179
If a node in the tree has different visual and logical,
FrameworkElement will store the node on this stack of
branches. If the route ever returns to the same logical
tree, the event source will be restored.
<para />
NOTE: This method needs to be public because it is used
by FrameworkElement.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Comment on lines +267 to +273
If a node in the tree has different visual and logical,
FrameworkElement will store the node on this stack of
branches. If the route ever returns to the same logical
tree, the event source will be restored.
<para />
NOTE: This method needs to be public because it is used
by FrameworkElement.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

</Parameters>
<Docs>
<param name="source">To be added.</param>
<summary>Implementation of Freezable.CloneCore()</summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not helpful. Can you please describe what this method does? Also, it's missing a description for the source parameter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also use <inheritdoc /> here.

</Parameters>
<Docs>
<param name="source">To be added.</param>
<summary>Implementation of Freezable.CloneCurrentValueCore()</summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same request for the rest of the methods: They need a better description, and their parameters documented.

</Parameters>
<Docs>
<param name="source">To be added.</param>
<summary>Implementation of Freezable.CloneCore()</summary>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also use <inheritdoc /> here.

Co-authored-by: Carlos Sanchez <[email protected]>
Co-authored-by: Genevieve Warren <[email protected]>
@opbld31
Copy link

opbld31 commented Sep 14, 2021

Docs Build status updates of commit 0464de9:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Windows/EventRoute.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventArgs.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventHandlerInfo.xml 💡Suggestion View Details
xml/System.Windows/DataObject.xml ✅Succeeded View
xml/System.Windows/DataObjectCopyingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectPastingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectSettingDataEventArgs.xml ✅Succeeded View
xml/System.Windows/DragEventArgs.xml ✅Succeeded View
xml/System.Windows/EventManager.xml ✅Succeeded View
xml/System.Windows/FontStretchConverter.xml ✅Succeeded View
xml/System.Windows/FreezableCollection`1+Enumerator.xml ✅Succeeded View
xml/System.Windows/GiveFeedbackEventArgs.xml ✅Succeeded View
xml/System.Windows/IContentHost.xml ✅Succeeded View
xml/System.Windows/PresentationSource.xml ✅Succeeded View
xml/System.Windows/QueryContinueDragEventArgs.xml ✅Succeeded View
xml/System.Windows/SourceChangedEventArgs.xml ✅Succeeded View
xml/System.Windows/TextDecoration.xml ✅Succeeded View
xml/System.Windows/TextDecorationCollection.xml ✅Succeeded View
xml/System.Windows/UIElement.xml ✅Succeeded View

xml/System.Windows/EventRoute.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventArgs.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventHandlerInfo.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@gewarren gewarren deleted the branch dotnet:main September 14, 2021 20:05
@gewarren gewarren closed this Sep 14, 2021
@gewarren gewarren reopened this Sep 29, 2021
@gewarren gewarren changed the base branch from net6-rc1 to main September 29, 2021 17:22
@opbld32
Copy link

opbld32 commented Sep 29, 2021

Docs Build status updates of commit 0464de9:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@opbld33
Copy link

opbld33 commented Sep 30, 2021

Docs Build status updates of commit 40927aa:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Windows/EventRoute.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventArgs.xml 💡Suggestion View Details
xml/System.Windows/RoutedEventHandlerInfo.xml 💡Suggestion View Details
xml/Microsoft.Build.Tasks/CreateProperty.xml ✅Succeeded View
xml/System.Windows/DataObject.xml ✅Succeeded View
xml/System.Windows/DataObjectCopyingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectPastingEventArgs.xml ✅Succeeded View
xml/System.Windows/DataObjectSettingDataEventArgs.xml ✅Succeeded View
xml/System.Windows/DragEventArgs.xml ✅Succeeded View
xml/System.Windows/EventManager.xml ✅Succeeded View
xml/System.Windows/FontStretchConverter.xml ✅Succeeded View
xml/System.Windows/FreezableCollection`1+Enumerator.xml ✅Succeeded View
xml/System.Windows/GiveFeedbackEventArgs.xml ✅Succeeded View
xml/System.Windows/IContentHost.xml ✅Succeeded View
xml/System.Windows/PresentationSource.xml ✅Succeeded View
xml/System.Windows/QueryContinueDragEventArgs.xml ✅Succeeded View
xml/System.Windows/SourceChangedEventArgs.xml ✅Succeeded View
xml/System.Windows/TextDecoration.xml ✅Succeeded View
xml/System.Windows/TextDecorationCollection.xml ✅Succeeded View
xml/System.Windows/UIElement.xml ✅Succeeded View

xml/System.Windows/EventRoute.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventArgs.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

xml/System.Windows/RoutedEventHandlerInfo.xml

  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
  • Line 0, Column 0: [Suggestion-disallowed-html-tag] HTML tag 'para' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-WPF Issues or PRs that relate to WPF or XAML.
Projects
None yet
Development

Successfully merging this pull request may close these issues.