Граф коммитов

1076 Коммитов

Автор SHA1 Сообщение Дата
Min Huang 215b2a927c
Revert net6 for mdoc.test csproj (#653)
* Add a sample interface for static virtual

* revert net6.0 for tes proj

* update

* update
2022-11-06 16:11:34 +08:00
Min Huang d92d897444
Merge pull request #651 from mono/develop
bump mdoc to 5.9.1
2022-09-02 10:12:49 +08:00
Min Huang ab8ec7aee5 bump mdoc to 5.9.1 2022-08-30 09:51:49 +08:00
Min Huang 5f1398734d
Feat #608072: Monikerize type parameters name (#649)
* feat #608072: Monikerize type parameters name

* update

* update

* update

* update

* update

* update

* update

* Fix

* refactor

* update

* Add unit test

* Add integration test

* update test case

* update

* update

* update
2022-08-29 17:49:42 +08:00
Min Huang e0baf601dd
Merge pull request #648 from mono/develop
bump mdoc to 5.9.0
2022-08-15 10:13:31 +08:00
Min Huang 796b1e1de6
Fix 662735: Members with user edited docs will not be deleted (#647)
* Fix 662735: Members with user edited docs will not be deleted

* upgrade mdoc to 5.9.0
2022-08-15 09:56:34 +08:00
v-susu1 53df4b8a7c
bug 686206: F# property signature is missing 'static' keyword (#646)
* Fix bug 686206

* update

* update

* update

* clean before build

* update tests

Co-authored-by: Min Huang <huangmin@microsoft.com>
2022-08-09 18:12:23 +08:00
Min Huang afdf849020
Upgrade newtonsoft.json to 13.0.1 to fix CG alert (#645) 2022-07-25 19:15:44 +08:00
Peter Collins c8a15bfde9
[mdoc] Multitarget net471 and net6.0 (#639)
Adds `net6.0` as a target framework to mdoc.  The artifacts from the
`net6.0` build will be output to `bin/$(Configuration)-net6.0`.

Mono.Cecil has been bumped from `0.10.0-beta5` to `0.10.0`.  This update
appears to have introduced a change in behavior in F# doc generation,
and the expected output in `PatternMatchingExamples.xml` has been
updated to reflect that.

The mdoc NuGet package has been updated to include both `net471` and
`net6.0` tools.  This can be considered a breaking change, as the path
of mdoc.exe has been changed to include a folder named after its target
framework.
2022-07-22 08:20:54 +08:00
Min Huang 97c1778d20
Merge pull request #644 from mono/develop
bump mdoc to 5.8.9.2
2022-07-15 22:28:56 +08:00
huangmin-ms 461da7b818 bump mdoc to 5.8.9.2 2022-07-15 14:14:24 +08:00
Peter Collins f8142884fd
[mdoc] Convert to SDK style projects (#642)
Converts `mdoc.csproj` and `Monodoc.Test.csproj` files to SDK style
projects to allow them to be built with dotnet build.
2022-07-15 10:33:45 +08:00
Peter Collins 182299000a
[MDocUpdater] Fix assembly info duplication (#638)
The `AssemblyPublicKey` and `AssemblyCulture` elements will be added to
to a docs `index.xml` file every time the tool runs, even if the element
already exists.  Fix this by using `MDocUpdater.WriteElement` to write
these elements, as it will first check for an existing element rather
than always creating a new one.
2022-07-14 21:13:01 +08:00
Peter Collins 039a030164
[DocumentationEnumerator] Support global alias matching (#641)
The tooling is currently unable to match existing documentation with a
member that was updated to include a global alias.  Fix this by adding a
a type lookup attempt that prefixes `global::` to the documentation
member name.
2022-07-13 09:54:14 +08:00
Min Huang cc77d9103f
Merge pull request #643 from mono/develop
Merge to main
2022-07-07 16:11:09 +08:00
Min Huang f71d2ecf72
Adopt Lucene.net as nuget package instead of submodule to resolve lgtm issue (#607)
* Remove file from submodule to resolve lgtm issue

* change to full path

* update

* Adopt lucence.net nuget package
2022-07-07 15:54:33 +08:00
Min Huang 7bead46502
Merge pull request #636 from mono/develop
🚀🚀🚀 bump mdoc to 5.8.9.1
2022-06-01 11:27:38 +08:00
Min Huang ab41352d46
bump mdoc to 5.8.9.1 (#634) 2022-06-01 10:50:45 +08:00
Min Huang 98e22e08e6
Update compareXmlFiles.ps1 (#635) 2022-05-31 15:52:54 +08:00
v-susu1 6284e2830f
Split Mdoc Release check CI into multiple jobs since single job max timeout limit (#633)
* add Mdoc-ReleaseCheckCI yml

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines

* Update compareXmlFiles.ps1

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines

* Update compareXmlFiles.ps1

* Update compareXmlFiles.ps1

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines

* Update Mdoc-ReleaseCheckCI.yml

* Update compareXmlFiles.ps1

* Update Mdoc-ReleaseCheckCI.yml

* Update compareXmlFiles.ps1

* Update Mdoc-ReleaseCheckCI.yml

* Update Mdoc-ReleaseCheckCI.yml

* Update compareXmlFiles.ps1

* Update Mdoc-ReleaseCheckCI.yml

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines

* Update Mdoc-ReleaseCheckCI.yml

* Update Mdoc-ReleaseCheckCI.yml for Azure Pipelines
2022-05-20 09:26:27 +08:00
Michael Jin eb7fec62c3
Fix the logic for the shouldDelete factor (#628)
* Fix the logic for the shouldDelete factor

* Fix cmd for integration test

* Make duplication a considered factor in the deleting
2022-05-16 15:49:50 +08:00
v-susu1 4505169ef6
Update compareXmlFiles.ps1 (#631) 2022-05-12 12:12:47 +08:00
v-susu1 131e73c0a8
V susu/ci test (#630)
* Add para needRunReleaseMdoc into ps1

* Update compareXmlFiles.ps1
2022-05-12 11:02:36 +08:00
v-susu1 35a30add33
Update compareXmlFiles.ps1 to copy origin dotnet repo xml files (#629)
* Update compareXmlFiles.ps1 to copy origin dotnet repo xml files

* update

* update

* update
2022-05-07 11:23:45 +08:00
v-susu1 0f12d6b86e
V susu/ci test (#625)
* Implement task 579673

* update

* Update compareXmlFiles.ps1

* Update compareXmlFiles.ps1

* Update compareXmlFiles.ps1

* Update compareXmlFiles.ps1
2022-04-25 09:28:24 +08:00
Min Huang 8adc14d63a
Merge pull request #626 from mono/develop
🚀🚀🚀 bump mdoc to 5.8.9
2022-04-24 11:08:15 +08:00
Min Huang f6759c164c
bump mdoc to 5.8.9 (#624) 2022-04-24 10:33:42 +08:00
Min Huang 93806a9b54
Support .NET language feature: function pointers (#623)
* Support .NET language feature: function pointers

* update

* update

* add test cases

* add test dll

* update

* Use delegate * for other languages

* update

* Fix new member added for function pointers

* update
2022-04-18 09:55:57 +08:00
Min Huang 489be60c6a
Merge pull request #622 from mono/develop
bump mdoc to 5.8.8
2022-03-24 10:36:37 +08:00
Min Huang b5f62fcd16
bump mdoc to 5.8.8 (#621)
* bump mdoc to 5.8.8

* update
2022-03-24 10:22:02 +08:00
Min Huang b24bc75b10
feat#550401:Support C# 9 nint/nuint (#620)
* Support C# 9 nint/nuint

* update

* update

* update

* update

* update

* update

* update

* update

* fix test cases

* fix test cases

* fix integration test

* add unit test
2022-03-21 11:17:32 +08:00
Min Huang 4cf39bde45
Support .NET language features: init only setter (#619) 2022-03-09 18:22:42 +08:00
Min Huang c27c019e5a
feat#550401: Support new .net language feature: tuple names (#618)
* Support new .net language feature: tuple names

* update test case

* update test case

* update

* updated

* update test case

* add debug info

* update

* Remove console log
2022-03-08 09:28:57 +08:00
Min Huang 47b71458e9
Merge pull request #616 from mono/develop
bump mdoc to 5.8.7
2022-03-03 14:20:50 +08:00
v-susu1 637f82100f
Update pipeline ymml to add a task to install .net 2.1 since agent machine remove it. (#617) 2022-03-02 17:11:18 +08:00
Min Huang e1cd54c0f6
bump mdoc to 5.8.7 (#612)
* bump mdoc to 5.8.7

* mdoc: use //license/@expression, not //licenseUrl

* fix in parameter issue

* fix issue for microsoft.extensions.logging.console.consoleformatter.write api

* Fix issue for system.diagnostics.taglist api

* Fix test cases

* update

* update
2022-03-01 17:47:17 +08:00
v-susu1 03ee19083d
Fix bug 542435 (#615)
* Fix bug 542435

* Update code style
2022-02-24 15:29:21 +08:00
Min Huang ecc38372e5
feat#550375: Support ref and ref readonly return (#611)
* Support ref and ref readonly return

* Add test cases

* Update test
2022-02-23 11:04:18 +08:00
Min Huang 7199864055
Support readonly members for struct (#609)
* Support readonly members for struct

* update
2022-02-18 10:04:31 +08:00
Min Huang e942ab5362
feat#550375: Support ref struct and readonly ref struct syntaxes (#608)
* Support `ref struct` and `readonly ref struct` syntaxes.

* update

* Refactor code

* Update
2022-02-15 16:22:34 +08:00
Min Huang 1a34ff5475
Merge pull request #605 from mono/develop
Update TSA configuration (#604)
2022-01-28 16:31:45 +08:00
Min Huang b0c005e123
Update TSA configuration (#604)
* Update TSA code base name

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml
2022-01-28 16:13:16 +08:00
Min Huang 5671681416
Merge pull request #603 from mono/develop
bump mdoc to 5.8.6.1
2022-01-28 14:22:08 +08:00
Min Huang ae095dc72c
bump mdoc to 5.8.6.1 (#602) 2022-01-27 20:03:06 +08:00
haibo zhang 54c3e2fa00
Update MDocUpdater.cs (#597) 2022-01-27 19:41:15 +08:00
Jeff Chen d0f73fe0d6
Fixed LGTM pipeline (#600)
* LGTM testing

* Fixed lgtm tasks (#599)

Switched to msbuild and fixed LGTM tasks.

* Update azure-pipelines.lgtm.yml for Azure Pipelines

Fixed syntax errors

* Update azure-pipelines.lgtm.yml for Azure Pipelines

* Locating msbuild for LGTM

* update msbuild

* Update

* Update msbuild

* msbuild binary

* Update azure-pipelines.lgtm.yml for Azure Pipelines

* Stick to windows-2019 for CodeQL

Windows-2022 is coming out but CodeQL is not supported.

Co-authored-by: Min Huang <huangmin@microsoft.com>
2022-01-25 19:21:29 +08:00
Min Huang f8a55d4b30
Merge pull request #595 from mono/develop
bump mdoc to 5.8.6
2022-01-13 11:14:18 +08:00
Min Huang 025337deab
bump mdoc to 5.8.6 (#594) 2022-01-13 10:58:08 +08:00
Min Huang d2bde523ee
Removed types from FrameworkIndex file if they are forwarded to external assembly (#592)
* Removed types of exteranl assemblies for forwarded types.

* Update test cases

* Remove null check as discussed
2022-01-11 20:28:26 +08:00
Jeff Chen f0c4e7bb8b
Fixed the comparison of assembly versions (#593)
Co-authored-by: Min Huang <huangmin@microsoft.com>
2022-01-11 15:23:43 +08:00