Commit graph

231 commits

Author SHA1 Message Date
Joshua A. Horton
48d9f5b4b5 change(web): feature branch use of centralized CI config, timeout-prep module 2022-08-03 08:28:05 +07:00
Joshua A. Horton
2f07f328c9 chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-08-01 07:58:05 +07:00
Joshua Horton
ba27c88fd6
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-01 07:57:43 +07:00
Joshua A. Horton
57630b5574 chore(web): minor test-script tweaks post demo 2022-08-01 07:53:37 +07:00
Joshua A. Horton
f21f85d9e7 chore(web): addresses nit from PR review 2022-07-29 12:45:39 +07:00
Joshua A. Horton
7fa7d581b3 chore(web): build & test script updates 2022-07-29 12:43:24 +07:00
Joshua A. Horton
98c2f86c56 chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-29 12:20:40 +07:00
Joshua A. Horton
45ba72bfb4 chore(web): updates, unifies build scripts 2022-07-29 12:17:24 +07:00
Joshua A. Horton
6a756630ee chore(web): Merge branch 'feat/web/gesture-recognizer-main' into feat/web/recognizer-input-unit-testing 2022-07-29 11:18:04 +07:00
Joshua Horton
1b4ad74aed
Merge pull request #6914 from keymanapp/feat/web/recognizer-multipoint-tracking
feat(web): start of support for multi-touchpoint tracking 🐵
2022-07-29 11:15:22 +07:00
Joshua A. Horton
951202cbc0 chore(web): updates gesture-recognizer build script 2022-07-29 09:21:19 +07:00
Joshua A. Horton
59ade4e8f7 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-main 2022-07-29 09:16:37 +07:00
Joshua A. Horton
dcdb7206e4 docs(web): updates reintegration doc 2022-07-29 08:58:29 +07:00
Joshua A. Horton
f98eacfab9 chore(web): addresses final review comments 2022-07-29 08:52:17 +07:00
Marc Durdin
8fd3442fe2 chore(common): remove builder_init
builder_init was unnecessarily and inconsistently duplicating
builder_describe and builder_parse functionality. Removing it -- all
scripts should use builder_describe and builder_parse instead, which
gives us more flexibility and consistency into the future.
2022-07-27 15:07:12 +10:00
Joshua A. Horton
745a1e5726 change(web): mouseevent identifier adjustment 2022-07-27 10:29:36 +07:00
Joshua A. Horton
5c294943f9 change(web): addresses PR concerns, suggestions 2022-07-27 10:23:34 +07:00
Joshua A. Horton
657b0d532b chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-27 10:12:44 +07:00
Joshua A. Horton
33da748044 fix(web): post-rework-splice build issue 2022-07-27 10:11:46 +07:00
Joshua A. Horton
f04a0a488e chore(web): Merge branch 'feat/web/recognizer-multipoint-tracking' into feat/web/recognizer-input-unit-testing 2022-07-27 10:10:12 +07:00
Joshua A. Horton
c09a40b09c fix(web): post-rework-splice build issues 2022-07-27 10:09:57 +07:00
Joshua A. Horton
2fc61e10f4 chore(web): removes recording-migration gerry-rig 2022-07-27 10:03:00 +07:00
Joshua A. Horton
dc75dbf6e8 change(web): migration of test-recordings 2022-07-27 10:02:56 +07:00
Joshua A. Horton
e588343efe change(web): converts to new object format, preps recorded json migration 2022-07-27 10:01:17 +07:00
Joshua A. Horton
4dcfc34fbf chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-27 09:51:39 +07:00
Joshua A. Horton
c7fa2e7a16 change(web): recording update to TrackedInput format 2022-07-27 09:49:56 +07:00
Joshua A. Horton
7906cb7a94 change(web): recording object type update 2022-07-27 09:43:41 +07:00
Joshua A. Horton
c83271e6af change(web): recorder code - InputSequence -> TrackedPoint 2022-07-27 09:39:57 +07:00
Joshua A. Horton
20e9d387fa change(web): _replacer -> toJSON 2022-07-27 09:35:52 +07:00
Joshua A. Horton
1fc19b048e chore(web): Merge branch 'feat/web/recognizer-multipoint-tracking' into feat/web/recognizer-input-unit-testing 2022-07-27 09:34:08 +07:00
Joshua A. Horton
8ffe563615 docs(web): documents some classes 2022-07-27 09:32:19 +07:00
Joshua A. Horton
9854660832 change(web): path method rename 2022-07-27 09:32:18 +07:00
Joshua A. Horton
5728721c36 change(web): incomplete -> TrackedInput, heavy reorg 2022-07-27 09:32:08 +07:00
Joshua A. Horton
8b1196bacc chore(web): minor cleanup before big transition 2022-07-27 09:25:37 +07:00
Joshua A. Horton
6a8eb31dc6 change(web): TrackedPath class 2022-07-27 09:24:24 +07:00
Joshua A. Horton
b67eed9d5c feat(web): stronger event typing 2022-07-27 09:22:21 +07:00
Joshua A. Horton
a769306bd0 change(web): better EventEmitter declaration 2022-07-27 09:22:14 +07:00
Joshua A. Horton
70b2e2fec6 change(web): TrackedPoint docs, clearer JSON serialization 2022-07-27 09:21:42 +07:00
Joshua A. Horton
5caea32bad change(web): InputSequence -> TrackedPoint 2022-07-27 09:21:33 +07:00
Joshua A. Horton
fd39da0be9 change(web): _replacer -> toJSON 2022-07-27 09:19:30 +07:00
Marc Durdin
ab54c0ecb9 chore(common): more bin bashes 2022-07-25 16:03:22 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
93a03acb9f chore(common): builder script :target and --option support
Adds support for :target and --option to the builder_() functions in
build-utils.sh, along with a consistent way of describing command line
parameters in short-hand form, so we can avoid the display_usage getting
out of sync with actual command line parameters.

I opted to tweak the existing usage slightly, reversing parameter order
for `builder_report`, so that we could extend `builder_report` cleanly
to support targets.

The new builder_() functions are `builder_describe` and `builder_parse`,
which should be used in place for `builder_init` where you want to
provide more detailed command-line options (for many scripts, the
defaults provided through `builder_init` may suffice).

`builder_describe` lets you set a single-line description of the script,
along with a list of parameters: `actions`, `:targets` and `--options`.
Options may also specify a shorthand form, e.g. `--option,-o`. Each
parameter may optionally include a short description, separated by
space(s) from the parameter name.

build-utils.test.sh tests the functionality of the various functions,
and provides some examples of using them.

Defaults:
* If a target is not specified in `builder_describe`, a standard target
  of `:project` will be available.
* If the user does not pass an action on the command line, then `build`
  will be used.
* If the user does not pass a target on the command line, all targets
  will have the actions applied.

Note, it is possible to have targets which do not use all actions. These
may be still be specified, but can be ignored. For example, `test:tools`
may not be an action:target that you handle in the script. At this time,
the builder_() functions do not attempt to check for this.
2022-07-25 14:31:58 +10:00
Joshua A. Horton
f01a773194 fix(web): recorded input-coord alignment issue 2022-07-20 14:18:46 +07:00
Joshua A. Horton
6437475d4f chore(web): updates to match new commit on ancestor PR 2022-07-20 13:38:37 +07:00
Joshua A. Horton
f1e99340f7 chore(web): Merge branch 'feat/web/recognizer-input-unit-testing' into feat/web/recognizer-input-unit-testing-2 2022-07-20 13:27:46 +07:00
Joshua A. Horton
b7bf82cf9b feat(web): verifies unit-test synth events reach target 2022-07-20 13:27:35 +07:00
Joshua A. Horton
059adf53cc feat(web): unit test for initial touch in roaming zone 2022-07-20 12:42:54 +07:00
Joshua A. Horton
2d06ec3647 change(web): replaces sed, awk uses with node scripts 2022-07-20 11:32:22 +07:00
Joshua A. Horton
d6be5f831a fix(web): touchevent emulation in non-touch envs 2022-07-20 10:00:14 +07:00