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

Add Poll class, fix some tests, throttle polling. #6141

Merged
merged 142 commits into from Apr 9, 2019
Merged

Add Poll class, fix some tests, throttle polling. #6141

merged 142 commits into from Apr 9, 2019

Commits on Apr 8, 2019

  1. Copy the full SHA
    1220ab5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    11c0d7d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    77d61b0 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    b5919f6 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    0972f60 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    4ce59a8 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    ecb33c6 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    55c9163 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    b554c1e View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    89d6329 View commit details
    Browse the repository at this point in the history
  11. Update poll names.

    afshin committed Apr 8, 2019
    Copy the full SHA
    884c0ad View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    3621f2b View commit details
    Browse the repository at this point in the history
  13. Update terminal manager.

    afshin committed Apr 8, 2019
    Copy the full SHA
    4d225c8 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    a012b4a View commit details
    Browse the repository at this point in the history
  15. Update shutdown logic.

    afshin committed Apr 8, 2019
    Copy the full SHA
    4ceaff4 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    6dd0811 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    e982a8a View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    d30ac05 View commit details
    Browse the repository at this point in the history
  19. Support poll refreshing.

    afshin committed Apr 8, 2019
    Copy the full SHA
    e4768cd View commit details
    Browse the repository at this point in the history
  20. Update polling logic.

    afshin committed Apr 8, 2019
    Copy the full SHA
    b8cab09 View commit details
    Browse the repository at this point in the history
  21. Update poll logic.

    afshin committed Apr 8, 2019
    Copy the full SHA
    8867d02 View commit details
    Browse the repository at this point in the history
  22. Define Poll.Next type.

    afshin committed Apr 8, 2019
    Copy the full SHA
    576cd68 View commit details
    Browse the repository at this point in the history
  23. Update doc strings.

    afshin committed Apr 8, 2019
    Copy the full SHA
    008e89f View commit details
    Browse the repository at this point in the history
  24. Copy the full SHA
    5b8651a View commit details
    Browse the repository at this point in the history
  25. Copy the full SHA
    7c127e3 View commit details
    Browse the repository at this point in the history
  26. Copy the full SHA
    1d40e96 View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    03bb527 View commit details
    Browse the repository at this point in the history
  28. Add poll tick and ticked.

    afshin committed Apr 8, 2019
    Copy the full SHA
    5ab8a5e View commit details
    Browse the repository at this point in the history
  29. Update poll chain logic.

    afshin committed Apr 8, 2019
    Copy the full SHA
    231f576 View commit details
    Browse the repository at this point in the history
  30. Copy the full SHA
    1ce6bec View commit details
    Browse the repository at this point in the history
  31. Copy the full SHA
    d66e055 View commit details
    Browse the repository at this point in the history
  32. Clean up.

    afshin committed Apr 8, 2019
    Copy the full SHA
    d0a827a View commit details
    Browse the repository at this point in the history
  33. Copy the full SHA
    c5dd256 View commit details
    Browse the repository at this point in the history
  34. Copy the full SHA
    7fd8b03 View commit details
    Browse the repository at this point in the history
  35. Copy the full SHA
    d40a63f View commit details
    Browse the repository at this point in the history
  36. Better document Poll#next.

    afshin committed Apr 8, 2019
    Copy the full SHA
    3184488 View commit details
    Browse the repository at this point in the history
  37. Copy the full SHA
    c925007 View commit details
    Browse the repository at this point in the history
  38. Clean up poll class.

    afshin committed Apr 8, 2019
    Copy the full SHA
    fb40f46 View commit details
    Browse the repository at this point in the history
  39. Since connected is always available, make it a public attribute inste…

    …ad of only passing it into the promise factory.
    afshin committed Apr 8, 2019
    Copy the full SHA
    48d6747 View commit details
    Browse the repository at this point in the history
  40. Audit disposed flag after every asynchronous action. Catch promise re…

    …jection in dispose method.
    afshin committed Apr 8, 2019
    Copy the full SHA
    79dc3fb View commit details
    Browse the repository at this point in the history
  41. Add initial poll test.

    afshin committed Apr 8, 2019
    Copy the full SHA
    a380476 View commit details
    Browse the repository at this point in the history
  42. #next can always return a call to schedule and rely on that function …

    …to return the outstanding promise.
    afshin committed Apr 8, 2019
    Copy the full SHA
    9b43abb View commit details
    Browse the repository at this point in the history
  43. Copy the full SHA
    7b5fe9d View commit details
    Browse the repository at this point in the history
  44. Copy the full SHA
    8fb9dd3 View commit details
    Browse the repository at this point in the history
  45. Copy the full SHA
    3753994 View commit details
    Browse the repository at this point in the history
  46. Copy the full SHA
    5b32d95 View commit details
    Browse the repository at this point in the history
  47. Remove Poll.Next concept and simply resolve #next and #refresh() pr…

    …omises to the poll instance itself. Allows returned promises to be self-contained for following the chain. Emit ticks after promise resolution.
    afshin committed Apr 8, 2019
    Copy the full SHA
    9ec5351 View commit details
    Browse the repository at this point in the history
  48. Update poll documentation.

    afshin committed Apr 8, 2019
    Copy the full SHA
    a8bb3a3 View commit details
    Browse the repository at this point in the history
  49. Copy the full SHA
    efb14f6 View commit details
    Browse the repository at this point in the history
  50. Copy the full SHA
    925860d View commit details
    Browse the repository at this point in the history
  51. Copy the full SHA
    582966c View commit details
    Browse the repository at this point in the history
  52. Simplify poll class.

    afshin committed Apr 8, 2019
    Copy the full SHA
    543f89a View commit details
    Browse the repository at this point in the history
  53. Copy the full SHA
    76e4b5f View commit details
    Browse the repository at this point in the history
  54. Copy the full SHA
    d5ee4e3 View commit details
    Browse the repository at this point in the history
  55. Clean up poll dispose.

    afshin committed Apr 8, 2019
    Copy the full SHA
    6a437c1 View commit details
    Browse the repository at this point in the history
  56. Copy the full SHA
    b7065c5 View commit details
    Browse the repository at this point in the history
  57. Copy the full SHA
    0f01313 View commit details
    Browse the repository at this point in the history
  58. Add more poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    1480823 View commit details
    Browse the repository at this point in the history
  59. Update poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    1b0f40b View commit details
    Browse the repository at this point in the history
  60. Copy the full SHA
    07c6fea View commit details
    Browse the repository at this point in the history
  61. Update poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    8ef1871 View commit details
    Browse the repository at this point in the history
  62. Fix poll stop behavior.

    afshin committed Apr 8, 2019
    Copy the full SHA
    7cc8152 View commit details
    Browse the repository at this point in the history
  63. Update poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    a63e444 View commit details
    Browse the repository at this point in the history
  64. Copy the full SHA
    a249193 View commit details
    Browse the repository at this point in the history
  65. Copy the full SHA
    4f405f9 View commit details
    Browse the repository at this point in the history
  66. Copy the full SHA
    a6d1cda View commit details
    Browse the repository at this point in the history
  67. Copy the full SHA
    d583b98 View commit details
    Browse the repository at this point in the history
  68. Copy the full SHA
    77eff05 View commit details
    Browse the repository at this point in the history
  69. Copy the full SHA
    9508938 View commit details
    Browse the repository at this point in the history
  70. Copy the full SHA
    5636cbf View commit details
    Browse the repository at this point in the history
  71. Use it.skip()

    afshin committed Apr 8, 2019
    Copy the full SHA
    837ee7f View commit details
    Browse the repository at this point in the history
  72. Copy the full SHA
    c9373c2 View commit details
    Browse the repository at this point in the history
  73. Try Travis.

    afshin committed Apr 8, 2019
    Copy the full SHA
    308ea87 View commit details
    Browse the repository at this point in the history
  74. Rename to Dialog.flush().

    afshin committed Apr 8, 2019
    Copy the full SHA
    029e41c View commit details
    Browse the repository at this point in the history
  75. Test acceptDialog (temp WIP)

    afshin committed Apr 8, 2019
    Copy the full SHA
    bc984ef View commit details
    Browse the repository at this point in the history
  76. Copy the full SHA
    956268f View commit details
    Browse the repository at this point in the history
  77. Copy the full SHA
    9819606 View commit details
    Browse the repository at this point in the history
  78. Copy the full SHA
    816f0df View commit details
    Browse the repository at this point in the history
  79. Copy the full SHA
    a230954 View commit details
    Browse the repository at this point in the history
  80. Re-remove .travis.yml

    afshin committed Apr 8, 2019
    Copy the full SHA
    40c4444 View commit details
    Browse the repository at this point in the history
  81. Copy the full SHA
    066ccdc View commit details
    Browse the repository at this point in the history
  82. Make interval, jitter, min, and max (the polling frequency pa…

    …rameters) editable.
    afshin committed Apr 8, 2019
    Copy the full SHA
    4c43ea7 View commit details
    Browse the repository at this point in the history
  83. Add readonly tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    f50dc72 View commit details
    Browse the repository at this point in the history
  84. Update jitter parameter to be a boolean | number and set its defaul…

    …ts to 0 and 0.25 for false and true. Default to 0.
    afshin committed Apr 8, 2019
    Copy the full SHA
    88af585 View commit details
    Browse the repository at this point in the history
  85. Update jitter semantics.

    afshin committed Apr 8, 2019
    Copy the full SHA
    2f338d5 View commit details
    Browse the repository at this point in the history
  86. Copy the full SHA
    f28f6de View commit details
    Browse the repository at this point in the history
  87. Copy the full SHA
    9f8c0e1 View commit details
    Browse the repository at this point in the history
  88. Update docstrings.

    afshin committed Apr 8, 2019
    Copy the full SHA
    987fc3e View commit details
    Browse the repository at this point in the history
  89. Copy the full SHA
    5e945ef View commit details
    Browse the repository at this point in the history
  90. Remove inaccurate docstrong.

    afshin committed Apr 8, 2019
    Copy the full SHA
    d71336b View commit details
    Browse the repository at this point in the history
  91. Copy the full SHA
    618a1bf View commit details
    Browse the repository at this point in the history
  92. Update poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    36ab861 View commit details
    Browse the repository at this point in the history
  93. Copy the full SHA
    25eb20a View commit details
    Browse the repository at this point in the history
  94. Update Poll#dispose() test.

    afshin committed Apr 8, 2019
    Copy the full SHA
    866f497 View commit details
    Browse the repository at this point in the history
  95. Copy the full SHA
    5991335 View commit details
    Browse the repository at this point in the history
  96. Clean up.

    afshin committed Apr 8, 2019
    Copy the full SHA
    c73770a View commit details
    Browse the repository at this point in the history
  97. Copy the full SHA
    2a56368 View commit details
    Browse the repository at this point in the history
  98. Copy the full SHA
    c55b1e0 View commit details
    Browse the repository at this point in the history
  99. Add disposed phase.

    afshin committed Apr 8, 2019
    Copy the full SHA
    9eeafb4 View commit details
    Browse the repository at this point in the history
  100. Copy the full SHA
    07383d7 View commit details
    Browse the repository at this point in the history
  101. Copy the full SHA
    f03b410 View commit details
    Browse the repository at this point in the history
  102. Remove concept of readonly and use a separate IPoll interface model…

    …ed on Signal/ISignal.
    afshin committed Apr 8, 2019
    Copy the full SHA
    8fa2de9 View commit details
    Browse the repository at this point in the history
  103. Fix dangling promises.

    afshin committed Apr 8, 2019
    Copy the full SHA
    6b7d95e View commit details
    Browse the repository at this point in the history
  104. Copy the full SHA
    366285f View commit details
    Browse the repository at this point in the history
  105. Simplify poll frequency API.

    afshin committed Apr 8, 2019
    Copy the full SHA
    f41d8f6 View commit details
    Browse the repository at this point in the history
  106. Copy the full SHA
    20912a6 View commit details
    Browse the repository at this point in the history
  107. Copy the full SHA
    3235137 View commit details
    Browse the repository at this point in the history
  108. Copy the full SHA
    f650bcc View commit details
    Browse the repository at this point in the history
  109. Copy the full SHA
    63d5f3a View commit details
    Browse the repository at this point in the history
  110. Update docstrings.

    afshin committed Apr 8, 2019
    Copy the full SHA
    d24d1f7 View commit details
    Browse the repository at this point in the history
  111. Copy the full SHA
    5f7d216 View commit details
    Browse the repository at this point in the history
  112. IPoll.Standby => Poll.Standby

    afshin committed Apr 8, 2019
    Copy the full SHA
    ba3b1b4 View commit details
    Browse the repository at this point in the history
  113. Copy the full SHA
    d347a52 View commit details
    Browse the repository at this point in the history
  114. Update poll tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    e780d60 View commit details
    Browse the repository at this point in the history
  115. Clean up.

    afshin committed Apr 8, 2019
    Copy the full SHA
    11b9396 View commit details
    Browse the repository at this point in the history
  116. Copy the full SHA
    2ad1e34 View commit details
    Browse the repository at this point in the history
  117. Copy the full SHA
    5eaa49f View commit details
    Browse the repository at this point in the history
  118. Copy the full SHA
    ffe6b9f View commit details
    Browse the repository at this point in the history
  119. Copy the full SHA
    528c5ad View commit details
    Browse the repository at this point in the history
  120. Copy the full SHA
    731ff4b View commit details
    Browse the repository at this point in the history
  121. Copy the full SHA
    be58ebc View commit details
    Browse the repository at this point in the history
  122. Copy the full SHA
    8f4e7c6 View commit details
    Browse the repository at this point in the history
  123. Copy the full SHA
    3e18400 View commit details
    Browse the repository at this point in the history
  124. Update TerminalManager.

    afshin committed Apr 8, 2019
    Copy the full SHA
    6e9bc50 View commit details
    Browse the repository at this point in the history
  125. Clean up.

    afshin committed Apr 8, 2019
    Copy the full SHA
    db18372 View commit details
    Browse the repository at this point in the history
  126. Update the jitter to return a uniformly random value between base +- …

    …(base*jitter), capped by the min and max values.
    
    The previous implementation would not be from a uniform distribution since it capped min/max after generating the random value.
    jasongrout authored and afshin committed Apr 8, 2019
    Copy the full SHA
    890bc2f View commit details
    Browse the repository at this point in the history
  127. Copy the full SHA
    c786303 View commit details
    Browse the repository at this point in the history
  128. Clean up and fix tests.

    afshin committed Apr 8, 2019
    Copy the full SHA
    790a540 View commit details
    Browse the repository at this point in the history
  129. Copy the full SHA
    acd5002 View commit details
    Browse the repository at this point in the history
  130. Address review suggestions.

    afshin committed Apr 8, 2019
    Copy the full SHA
    52dc3d0 View commit details
    Browse the repository at this point in the history
  131. Copy the full SHA
    acfaa46 View commit details
    Browse the repository at this point in the history
  132. IPoll.Tick => IPoll.State

    afshin committed Apr 8, 2019
    Copy the full SHA
    dabe07e View commit details
    Browse the repository at this point in the history
  133. Add test to verify tick promise resolves after every ticked signa…

    …l and before the next `ticked` signal in lock-step.
    afshin committed Apr 8, 2019
    Copy the full SHA
    240876a View commit details
    Browse the repository at this point in the history
  134. Copy the full SHA
    5df0d05 View commit details
    Browse the repository at this point in the history
  135. Copy the full SHA
    4bae4db View commit details
    Browse the repository at this point in the history
  136. Copy the full SHA
    520ba66 View commit details
    Browse the repository at this point in the history
  137. Copy the full SHA
    28d55ba View commit details
    Browse the repository at this point in the history
  138. Merge pull request #24 from jasongrout/polling2

    Clean up some of the kernel manager async and request logic.
    afshin committed Apr 8, 2019
    Copy the full SHA
    9751173 View commit details
    Browse the repository at this point in the history
  139. Copy the full SHA
    4f80f73 View commit details
    Browse the repository at this point in the history
  140. Merge pull request #25 from jasongrout/polling3

    Update terminal manager to be consistent with kernel/session manager async logic
    afshin committed Apr 8, 2019
    Copy the full SHA
    a8f58a6 View commit details
    Browse the repository at this point in the history
  141. Copy the full SHA
    2f203d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Copy the full SHA
    b47481f View commit details
    Browse the repository at this point in the history