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

making it work with scala3 with soundness #68

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
694e53d
New: Var.updater and Var.tryUpdater. Fixes #41
raquo Dec 13, 2020
bf18b86
New: Make `sample` and `withCurrentValueOf` available on Signal. Fixe…
raquo Dec 13, 2020
eaca9ca
Fix: Delay operator now clears the pending queue when stopped
raquo Dec 26, 2020
66d3c95
Fix: Debounce operator now clears timeout on stop
raquo Dec 26, 2020
181a487
Build: Use sbt-tpolcat for scalac warnings; bump sbt and Scala versio…
ngbinh Dec 30, 2020
874a2f9
New: AjaxEventStream
ajaychandran Dec 27, 2020
86a57d0
API: Clear pending ajax request when stream is stopped
raquo Dec 27, 2020
d4c9e0b
New: DomEventStream
raquo Dec 27, 2020
05ba3a8
Docs: Add new web streams
raquo Dec 27, 2020
26a75b8
New: EventStream.{withCallback, withObserver}
raquo Dec 28, 2020
c05abf9
New: Custom event sources, rework AjaxEventStream, and more
raquo Dec 29, 2020
bb1730a
2.12: Fix SetCurrentValue signature
raquo Dec 29, 2020
9a1378a
New: Observer.contramapSome, Var.someWriter
raquo Dec 30, 2020
f018b41
New: requestObserver for Ajax requests; Also some fixes:
raquo Dec 30, 2020
d4d33da
New: N-param methods (combine et al, mapN, filterN), sequence method,…
yurique Jan 5, 2021
707ea07
API: Default emitOnce param to false in EventStream.{fromSeq, fromVal…
raquo Jan 5, 2021
816431e
API: SwitchFutureStrategy is now default for flattening Observable[Fu…
raquo Jan 5, 2021
b931759
Test: Fix compilation test
raquo Jan 5, 2021
13a75b3
Build: Disable unused imports/local val warnings (errors) in Test (#65)
ngbinh Jan 5, 2021
86aa84b
New: debugLogLifecycle and debugSpyLifecycle operators
raquo Jan 5, 2021
e291092
Fix: Avoid redundant re-starting in flattened switch observables. Fix…
raquo Jan 5, 2021
af90ac6
API: Special AjaxStatusError exception for http status errors; allow …
raquo Jan 5, 2021
23b2b58
New: Derived Vars. Fixes #63
raquo Jan 10, 2021
2f513ea
API: More common `() => Unit` instead of `=> Unit` types for CustomSo…
raquo Jan 10, 2021
0532246
New: EventBus#{emit,emitTry}
raquo Jan 10, 2021
8d351d5
API: Move split-related classes into `split` package
raquo Jan 10, 2021
eeca145
API: Move flatten-related classes into `flatten` package
raquo Jan 10, 2021
25377e2
API: Move Var-s and StrictSignal-s into state package
raquo Jan 10, 2021
612ac70
API: Move async and delay related classes into `timing` package
raquo Jan 10, 2021
cd87f5b
API: Move EventStream and Signal classes into `core` package
raquo Jan 10, 2021
0c2bf3c
API: Rename packages: `features` -> `common`, `basic` -> `misc`, move…
raquo Jan 10, 2021
3d435ab
Naming: Rename a few params in various timing-related methods from va…
raquo Jan 10, 2021
d360211
API: Make throttle behave in a standard way. Fixes #66
raquo Jan 11, 2021
f5cc72b
making it work with scala3 with soundness
yurique Jan 15, 2021
bf64078
switch to scala3 nightly
yurique Jan 15, 2021
030d3e1
tuplez 0.3.3 for scala3 nightly
yurique Jan 15, 2021
1052314
build files
yurique Jan 18, 2021
94021b8
github workflows
yurique Jan 18, 2021
19460ee
setting scalajs back to 1.3.1
yurique Jan 18, 2021
37fd877
build files
yurique Jan 18, 2021
a63acb5
remove bad scaladoc compiler options
yurique Jan 18, 2021
5836b21
release settings
yurique Jan 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This file was automatically generated by sbt-github-actions using the
# githubWorkflowGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# change your sbt build configuration to revise the workflow description
# to meet your needs, then regenerate this file.

name: Continuous Integration

on:
pull_request:
branches: ['*']
push:
branches: ['*']

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.12]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v10
with:
java-version: ${{ matrix.java }}

- name: Cache sbt
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Check that workflows are up to date
run: sbt ++${{ matrix.scala }} githubWorkflowCheck

- name: Build project
run: sbt ++${{ matrix.scala }} test
59 changes: 59 additions & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This file was automatically generated by sbt-github-actions using the
# githubWorkflowGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# change your sbt build configuration to revise the workflow description
# to meet your needs, then regenerate this file.

name: Clean

on: push

jobs:
delete-artifacts:
name: Delete Artifacts
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Delete artifacts
run: |
# Customize those three lines with your repository and credentials:
REPO=${GITHUB_API_URL}/repos/${{ github.repository }}

# A shortcut to call GitHub API.
ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; }

# A temporary file which receives HTTP response headers.
TMPFILE=/tmp/tmp.$$

# An associative array, key: artifact name, value: number of artifacts of that name.
declare -A ARTCOUNT

# Process all artifacts on this repository, loop on returned "pages".
URL=$REPO/actions/artifacts
while [[ -n "$URL" ]]; do

# Get current page, get response headers in a temporary file.
JSON=$(ghapi --dump-header $TMPFILE "$URL")

# Get URL of next page. Will be empty if we are at the last page.
URL=$(grep '^Link:' "$TMPFILE" | tr ',' '\n' | grep 'rel="next"' | head -1 | sed -e 's/.*<//' -e 's/>.*//')
rm -f $TMPFILE

# Number of artifacts on this page:
COUNT=$(( $(jq <<<$JSON -r '.artifacts | length') ))

# Loop on all artifacts on this page.
for ((i=0; $i < $COUNT; i++)); do

# Get name of artifact and count instances of this name.
name=$(jq <<<$JSON -r ".artifacts[$i].name?")
ARTCOUNT[$name]=$(( $(( ${ARTCOUNT[$name]} )) + 1))

id=$(jq <<<$JSON -r ".artifacts[$i].id?")
size=$(( $(jq <<<$JSON -r ".artifacts[$i].size_in_bytes?") ))
printf "Deleting '%s' #%d, %'d bytes\n" $name ${ARTCOUNT[$name]} $size
ghapi -X DELETE $REPO/actions/artifacts/$id
done
done
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
target
.idea
.bsp
.vscode

.DS_Store

yarn.lock

/.bsp
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

Loading