Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-10Merge pull request #204 from mono/dev/sandy/prov-updateHEADmainLluis Sanchez
Update provisionator-bootstrap.sh
2022-11-10Update provisionator-bootstrap.shSandy Armstrong
2022-11-08Merge pull request #203 from mono/slluis-patch-2Lluis Sanchez
Update TSA options
2022-11-08Try to fix flaky testLluis Sanchez
2022-11-08Update TSA optionsLluis Sanchez
2022-11-07Merge pull request #199 from mono/enable_codeqlLluis Sanchez
Enable CodeQL with TSA
2022-11-07Merge pull request #200 from mono/dev/lluis/fix-nested-event-invokeLluis Sanchez
Fix nested event dispatch issue
2022-11-04Merge pull request #202 from mono/dev/lluis/fix-flaky-testLluis Sanchez
Try to fix flaky test
2022-11-04Try to fix flaky testLluis Sanchez
2022-11-04Fix nested event dispatch issueLluis Sanchez
Event handler invocations are done through a dispatch queue, to ensure that they are dispatched in the right order in multi-threading scenarios. The dispatch queue is also used when invoking a handler as a result of an event subscription. For example, when calling AddExtensionNodeHandler, the handler should be immediately invoked for all existing nodes in the provided extension path. However, if AddExtensionNodeHandler was invoked within an event handler, those invocations would be queued and not executed immediately as the caller would expect. The solution is to do the handler invocation for existing nodes like it used to be, not through the queue. However, the actual event subscription still needs to be done through the queue, to avoid receiving unnecessary events. There is a more complete explanation in the code.
2022-11-03Enable CodeQL with TSAmdh1418
2022-10-28Merge pull request #198 from mono/dev/lluis/fix-more-unload-issuesLluis Sanchez
Fixed several exceptions that happen when unloading nodes
2022-10-28Update Version.propsLluis Sanchez
2022-10-28Update Mono.Addins.Setup.csprojLluis Sanchez
2022-10-28Fix uninstallation issueLluis Sanchez
When registering an add-in for uninstall, the list of add-in's files was not stored.
2022-10-28Embed debug info for Mono.Addins.SetupLluis Sanchez
2022-10-27Fix testLluis Sanchez
2022-10-27Fixed several exceptions that happen when unloading nodesLluis Sanchez
Moved notification queue from ExtensionContext to to add-in engine. The problem was that when a node is removed, it is not bound to a context anymore, but it may still need to make use of the event queue.
2022-10-27Merge pull request #197 from mono/dev/lluis/fix-notification-nreLluis Sanchez
Fix NRE when unloading an add-in
2022-10-27Fix unit testLluis Sanchez
2022-10-27Bump versionLluis Sanchez
2022-10-27Fix NRE when unloading an add-inLluis Sanchez
When removing many nodes in a transaction it may happen that a parent is removed before its children, since the list of nodes to remove is in a hashset, so there is no defined order. Added a null check to avoid a crash when that happens.
2022-10-06Merge pull request #196 from mono/slluis-patch-2Lluis Sanchez
Update and rename README to README.md
2022-10-06Update and rename README to README.mdLluis Sanchez
2022-10-06Merge pull request #195 from mono/slluis-patch-1Lluis Sanchez
Thread safety deserves a minor version bump
2022-10-06Thread safety deserves a minor version bumpLluis Sanchez
2022-10-06Merge pull request #187 from mono/dev/lluis/threadsafeLluis Sanchez
Make mono.addins thread safe
2022-10-06Update Version.propsLluis Sanchez
2022-09-30Merge pull request #194 from mono/dev/kywhi/fix-newtonsoft-alertLluis Sanchez
Update to Newtonsoft.Json 13.0.1
2022-09-30Update to Newtonsoft.Json 13.0.1Kyle White
By default Microsoft.Net.Test.Sdk bring in Newtonsoft 9.0.1, but that has a vulnerbility to fix, so explicitly references the updated Newtonsoft with the fix, 13.0.1
2022-09-20Merge pull request #192 from mono/dev/mrward/net8-special-folder-breaking-changeLluis Sanchez
Use Environment.SpecialFolder.UserProfile instead of Personal
2022-09-20Use Environment.SpecialFolder.UserProfile instead of PersonalMatt Ward
Mono and .NET, before .NET 8, would resolve the System.Environment.SpecialFolder.Personal enum value to the $HOME directory. In .NET 8 this is changing. The Personal folder will now refer to $XDG_DOCUMENTS_DIR if set or $HOME/Documents otherwise. Replace all uses of Environment.SpecialFolder.Personal with Environment.SpecialFolder.UserProfile so the code behaves as it did before. UserProfile still maps to $HOME dotnet/runtime#68610
2022-09-16Merge pull request #191 from mono/dev/lluis/fix-scan-downgradeLluis Sanchez
Fix add-in downgrade issue
2022-09-16Try to make code a bit more clearLluis Sanchez
2022-09-16Fix add-in downgrade issueLluis Sanchez
In some cases when add-ins are downgraded the add-in database may be left in an invalid status. This happened because the add-in scanner did not properly compare the versions of the old and the new add-in, so it did not uninstall the old add-in when versions were different. This resulted on the old and new descriptions of the add-in to be kept in the database, and it might generate add-in dependency errors. This also happened when upgrading, but since the engine always loads add-ins with the highest version it doesn't matter if there is one with lower version also registered. The solution is to cache information about the old add-in version, and when comparing ids, use that information. Added unit tests.
2022-09-16Merge remote-tracking branch 'origin/main' into dev/lluis/threadsafedev/lluis/threadsafeLluis Sanchez
2022-09-16Merge pull request #190 from mono/dev/lluis/fix-testsLluis Sanchez
Fix unit tests and run them in CI
2022-09-16Fix unit tests and run them in CILluis Sanchez
2022-09-15Bump versionLluis Sanchez
2022-09-14Fix testsLluis Sanchez
Make sure the test repo dir is cleaned for every test run.
2022-09-14Increase timeouts to account for slow CI machinesLluis Sanchez
2022-09-14Update build hostLluis Sanchez
2022-09-14Run unit tests in CILluis Sanchez
2022-09-14Fix threading issueLluis Sanchez
Split the context transaction class in two classes, one for extension context and one for add-in engine (which is a context by itself). In this was there is no danger of providing a context transaction to an add-in engine method and expect it to work. Added method for stating an engine transaction from a context transaction. Fixes tests.
2022-09-14Fix threading issuesLluis Sanchez
Reduce the number of transactions being created by propagating them. Created a transaction when the engine is initialized, so that the initial loading of add-in roots is all done using a single transaction. Fixed unit tests.
2022-09-13More thread safetyLluis Sanchez
Store extension content data in a snapshot class, so that it is possible to swap it all at once when committing a transaction. Propagate transactions to more methods. Events and virtual methods are now guaranteed to be executed sequentially, and never concurrently. Add threading docs.
2022-09-13Update Version.propsLluis Sanchez
2022-09-13Add some docs and fix formattingLluis Sanchez
2022-09-13Really lock AddinDatabase when starting a transactionLluis Sanchez
2022-09-13Add multi-threading testsLluis Sanchez
And fixed threading issue.