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

443 Коммитов

Автор SHA1 Сообщение Дата
Filippo Bannò 0b2305d011 Notify that project is no longer maintained 2021-01-14 10:00:33 +00:00
Filippo Bannò 004a48f908
Remove version from docs title
We are versioning libraries separately.
2020-02-13 10:40:47 +00:00
Filippo Banno c5acb0ae52 Remove option to commit branch docs in separate folder
Doesn't really work and isn't useful for now
2020-02-13 10:31:44 +00:00
Filippo Banno 43e602f902 Avoid inconsistent index after 'git clone --no-checkout' 2020-02-13 10:31:44 +00:00
Filippo Banno 5b032bde6f Made parameter name explicit 2020-02-13 10:31:44 +00:00
Filippo Banno a47ea40c90 Fix repository generation
Emptying $DestFolder deleted the .git folder too when the pipeline was run on the master branch. This made the following git commands fail.
2020-02-13 10:31:44 +00:00
Filippo Banno 6b5f7cdf27 Stage files outside of the main repository
This prevents git commands meant for the staging repository being run by mistake on the main one if the staging repository creation fails for some reason.
2020-02-13 10:31:44 +00:00
Filippo Bannò 0f73ab2940
Add comment to IDiscoverySubscription.Update
As specified in #39.
2020-02-12 18:26:23 +00:00
Filippo Bannò 4982db35cd
Avoid printing credentials on error 2020-02-12 12:35:28 +00:00
Filippo Banno b6fbc1bfeb Tidy up error reporting a bit 2020-02-12 12:12:03 +00:00
Filippo Banno 1f099eb00d Revert working dir at the end of script 2020-02-12 12:12:03 +00:00
Filippo Banno de834d58de Display Powershell exceptions 2020-02-12 12:12:03 +00:00
Filippo Banno 334f41c6f9 Address review comment 2020-02-12 12:12:03 +00:00
Filippo Banno c101624c3a Remove obsolete step condition 2020-02-12 12:12:03 +00:00
Filippo Banno e2f3b139a6 Move PS utils into their own file 2020-02-12 12:12:03 +00:00
Filippo Banno 363444f4d9 Fix mismatching braces 2020-02-12 12:12:03 +00:00
Filippo Banno 85a52f2c09 Use Egyptian braces 2020-02-12 12:12:03 +00:00
Filippo Banno bcc3fde831 Add docs generation pipeline
Calls docs/generateDocs.ps1, then optionally pushes the generated docs to the
gh-pages branch.
2020-02-12 12:12:03 +00:00
Filippo Banno 14de66a017 Remove obsolete package build 2020-02-12 12:12:03 +00:00
ivte-ms edb38467be
Simplified the Behavior object and partially removed the path for applying non-serialized transactions. (#142) 2020-02-05 18:05:07 +00:00
ivte-ms d772623815
Replaced the Value class with the more generic Blob (in preparation for the simplified serialization pipeline). (#141) 2020-02-05 17:40:38 +00:00
Filippo Bannò 1c7e801dec
Add copyright header 2020-02-05 14:16:02 +00:00
Filippo Bannò 5daba73020
Enable different broadcast domains for MemoryPeerDiscoveryTransport (#138)
Prevents interference between tests when run at the same time.
2020-02-05 14:11:37 +00:00
ivte-ms 30db0a6034
Added fast thead-local random devices and CommandId::GenerateRandom(). (#139) 2020-02-05 12:32:13 +00:00
Filippo Bannò 03add9f910
Always call handler added to IDiscoverySubscription.Update (#135)
Fixes #39.
2020-02-04 15:14:36 +00:00
ivte-ms 6bcbdaede3
Additional helpers methods for BlobReader/BlobWriter and related infrastructure fixes (for the upcoming code that will be using them). (#137) 2020-02-03 18:14:59 +00:00
ivte-ms 78e67e2ab3
Added a draft for the NetworkManager's C++/C# interop. (#136) 2020-02-03 18:07:04 +00:00
Filippo Banno 3df626f098 Refactored transport tests into their own class
Reduced a bit the number of equivalent tests run.
2020-01-30 11:16:27 +00:00
Filippo Banno 12621d553d Remove category on last unsubscription
Fixes #85.
2020-01-29 12:26:43 +00:00
Filippo Banno bd72b34cc9 Remove references to 'task' 2020-01-29 12:26:43 +00:00
Filippo Banno e839d33f27 Clear subscription resources after agent disposal 2020-01-28 16:54:03 +00:00
Filippo Banno 2541808662 Revert wrong change to test timeout 2020-01-28 16:54:03 +00:00
Filippo Banno 1d6ade135f Dispose CTS after the task is finished
Avoids ObjectDisposedException in ThrowIfCancellationRequested if the CTS has already been disposed. Should be harmless anyway but it's a bit cleaner.
2020-01-28 16:54:03 +00:00
Filippo Banno abe535b9de Do not wait for the end of the update thread 2020-01-28 16:54:03 +00:00
Filippo Banno 7633cdac48 Add missing try/catch 2020-01-28 16:54:03 +00:00
Filippo Banno b3d4b3c850 Do not discard exceptions thrown by handlers 2020-01-28 16:54:03 +00:00
Filippo Banno 3645a2cf96 Assert rather than comment 2020-01-28 16:54:03 +00:00
Filippo Banno bc8ffd1ddc Do not crash update loop if handler throws 2020-01-28 16:54:03 +00:00
Filippo Banno 20dc094dbd Improve comment 2020-01-28 16:54:03 +00:00
Filippo Banno 57ed58386d Stop update thread on disposal 2020-01-28 16:54:03 +00:00
Filippo Banno 3deeb74443 Make multithreading more consistent
Fixes #97. Fixes #98.

The new behavior follows the simple principles (reasonable IMHO) that:
- calling methods on the same object from different threads must not necessarily be safe (unless specified)
- calling methods on different objects (e.g. an agent and one of its subscription) from different threads should be safe.
2020-01-28 16:54:03 +00:00
ivte-ms 2e4b818ad5
Added basic top-level interfaces for RSM and Network. (#132) 2020-01-27 17:41:51 +00:00
Stephen Kennedy 74f53b1fce
Remove unneeded MRS_DevOptOut variable (#128)
* Remove unneeded MRS_DevOptOut variable
2020-01-27 15:03:53 +00:00
Filippo Banno a1531bd7a1 Remove minimum update interval
Not really useful, and complicates the code.
2020-01-27 10:29:54 +00:00
Filippo Banno a44299f63b Improve test for expiry timer 2020-01-27 10:29:54 +00:00
Filippo Banno 53e445f01d Avoid interferences between tests using MemoryPeerDiscoveryTransport in different threads 2020-01-27 10:29:54 +00:00
Filippo Banno 86aa07451a Fix timer bugs
Removing the last resource didn't reset `timerExpiryTime_` to MaxValue, thus new
announces didn't schedule the timer again.
2020-01-27 10:29:54 +00:00
Filippo Banno 09e437ecab Add test for subscription disposal 2020-01-27 10:29:54 +00:00
Filippo Banno ccef0cc88d Move resource updates to different thread
This fixes #83, frees the receiving thread, and batches multiple updates
arriving in a short time span.
2020-01-27 10:29:54 +00:00
Filippo Banno a2b300dcd8 Keep count of individual packets
The mix of retries and reordering caused some packets to be never delivered when countinig based on the sender endpoint only.
2020-01-21 17:43:06 +00:00