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

System: Impl spinlock and usleep methods for sys targets #1781

Open
wants to merge 29 commits into
base: 8.2.0-Dev
Choose a base branch
from

Commits on May 1, 2024

  1. System: Impl spinlock and usleep methods for sys targets

    This feature change adds a cross platform sleep and spinlock method with microsecond accuracy.
    dimensionscape authored May 1, 2024
    Configuration menu
    Copy the full SHA
    96c8d6f View commit details
    Browse the repository at this point in the history
  2. System

    Change conditionals to require only sys
    dimensionscape authored May 1, 2024
    Configuration menu
    Copy the full SHA
    c1580d0 View commit details
    Browse the repository at this point in the history
  3. System: Rework spinlock and usleep Impl

    Reworked the spinlock and usleep implementations and added a timestamp method since we override haxe.Timer and lose access to the high definition stamp for native targets it originally provided.
    dimensionscape authored May 1, 2024
    Configuration menu
    Copy the full SHA
    6a6f653 View commit details
    Browse the repository at this point in the history
  4. System: Prepare timestamp for hl and neko

    We need to pass the native time_stamp from cffi for neko and hl.
    dimensionscape authored May 1, 2024
    Configuration menu
    Copy the full SHA
    958e5c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Merge pull request #1810 from openfl/8.2.0-Dev

    Merge '8.2.0 dev'
    dimensionscape authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e1457e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    dae33c0 View commit details
    Browse the repository at this point in the history
  2. Avoid sending JobData back to the main thread.

    The main thread can easily look these up by ID, and in HTML5, sending the full `JobData` can cause errors.
    player-03 committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    bf4711a View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Fix typo.

    player-03 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    0b83b7d View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Optimize ThreadPool slightly.

    `__activeThreads` and `__idleThreads` only need to be allocated for multi-threaded pools. Plus, there's no benefit to using a `List` here; we only add to and remove from the end.
    
    And finally, checking `event.job == null` instead of `isOfType()` is faster and avoids an issue in HTML5. Sadly it is less safe, so we might need to revisit it eventually.
    player-03 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8f631fe View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Revert BackgroundWorker to its 8.1.3 version.

    It looks like we'll want to take `BackgroundWorker` in a different direction, so for the moment it's safest not to change anything about it. That way, there's only one historical version to maintain backwards compatibility with.
    player-03 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d0cef42 View commit details
    Browse the repository at this point in the history
  2. Revert to Future's behavior from 8.1.3.

    As with `BackgroundWorker`, we're postponing major changes to give us more time to consider.
    player-03 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    52931a8 View commit details
    Browse the repository at this point in the history
  3. Remove external link.

    While I put a lot of effort into that guide, we're changing several things suddenly, and I don't have time to make sure it's up to date.
    player-03 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    2866d09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6873ae1 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Merge pull request #1830 from player-03/old_thread_classes

    Restore old `Future` and `BackgroundWorker` behavior.
    player-03 authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    31700a0 View commit details
    Browse the repository at this point in the history
  2. Fix getContextsDevice on Hashlink

    ACrazyTown authored and joshtynjala committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ed05aa2 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Configuration menu
    Copy the full SHA
    9b7c791 View commit details
    Browse the repository at this point in the history
  2. Run formatter.

    player-03 committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    b3e44ba View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    b7dd455 View commit details
    Browse the repository at this point in the history
  2. Remove canceled and completed from ThreadPool.

    These were added for drop-in compatibility with `BackgroundWorker`, but we might not need that level of compatibility. We can discuss adding these back later if there's demand.
    player-03 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a774bac View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. One more documentation pass.

    Hopefully my last before 8.2.0.
    player-03 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d3a39b5 View commit details
    Browse the repository at this point in the history
  2. BackgroundWorker:Docs

    Originally had docs for this but we nixed it for a while so they never got added.
    dimensionscape authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2907e42 View commit details
    Browse the repository at this point in the history
  3. BackgroundWorker: More docs

    Forgot the properties.
    dimensionscape authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5c8538e View commit details
    Browse the repository at this point in the history
  4. AudioSource: Docs

    We need more docs!
    dimensionscape authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4f4f5df View commit details
    Browse the repository at this point in the history
  5. AudioBuffer: docs

    Missing docs.
    dimensionscape authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0b93684 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Simplify ThreadPool.cancelJob().

    Offering four options makes the underlying code more complicated for minimal benefit.
    player-03 authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    96c5c1c View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    6ab5246 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

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

Commits on Sep 10, 2024

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

Commits on Sep 23, 2024

  1. Merge pull request #1842 from openfl/develop

    merge develop into feature branch
    dimensionscape authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d4f3612 View commit details
    Browse the repository at this point in the history