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

Fix #4044: Introduce UI support for math expressions & new interactions #2173

Merged
merged 547 commits into from
Mar 27, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
547 commits
Select commit Hold shift + click to select a range
7e97d0b
Treat en-dash as a subtraction symbol.
BenHenning Feb 4, 2022
a9c68b1
Add explicit platform selection for paramerized.
BenHenning Feb 5, 2022
a273ee6
Exemption fixes.
BenHenning Feb 5, 2022
924214d
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Feb 5, 2022
686c4b6
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Feb 5, 2022
1a3cba5
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Feb 5, 2022
bff824e
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Feb 5, 2022
90b05bf
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Feb 5, 2022
09e2aad
Remove failing test.
BenHenning Feb 5, 2022
c7c2e4b
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Feb 5, 2022
8bdf183
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Feb 5, 2022
b48d06a
Fix unary expression precedence.
BenHenning Feb 5, 2022
8ac22cb
Fixes & add more test cases.
BenHenning Feb 5, 2022
cdee008
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Feb 5, 2022
476e604
Post-merge fixes & test changes.
BenHenning Feb 5, 2022
5ed0013
Use utility directly in LaTeX tests.
BenHenning Feb 5, 2022
370dcf6
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Feb 5, 2022
c16db64
Post-merge fixes.
BenHenning Feb 5, 2022
df4221f
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Feb 5, 2022
dab330e
Post-merge fixes.
BenHenning Feb 5, 2022
7567232
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Feb 5, 2022
9c70c31
Post-merge fixes.
BenHenning Feb 5, 2022
3248e84
Lint & other check fixes.
BenHenning Feb 5, 2022
43cc4e0
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Feb 5, 2022
3960220
Replace deprecated term.
BenHenning Feb 5, 2022
528e9f7
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Feb 5, 2022
f7ec751
Post-merge fixes.
BenHenning Feb 5, 2022
782e058
Add full test suites for alg exp classifiers.
BenHenning Feb 5, 2022
0a7cb69
Lint & static check fixes.
BenHenning Feb 5, 2022
fd0c0cc
Fix test on Gradle.
BenHenning Feb 5, 2022
2839e7b
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Feb 5, 2022
812b66e
Fix test for Gradle.
BenHenning Feb 5, 2022
5035277
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Feb 5, 2022
d811636
Add tests for math equations.
BenHenning Feb 5, 2022
0c00467
Static check & lint fixes.
BenHenning Feb 5, 2022
89de734
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Feb 5, 2022
d026506
Post-merge fixes.
BenHenning Feb 5, 2022
cddd3b5
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Feb 5, 2022
c4d53dd
Split up tests.
BenHenning Feb 5, 2022
15d9d25
Add missing test in Bazel, and fix it.
BenHenning Feb 7, 2022
b63883e
Correct order for genrule.
BenHenning Feb 7, 2022
8562393
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Feb 7, 2022
0642757
Add full test suite.
BenHenning Feb 8, 2022
4c163bf
Clean up + KDocs + exemption.
BenHenning Feb 8, 2022
01b1832
Lint fixes.
BenHenning Feb 8, 2022
f41654f
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Feb 8, 2022
0059a8d
Post-merge fix.
BenHenning Feb 8, 2022
43fbc3d
Cache KotliTeX renders.
BenHenning Feb 10, 2022
47b153e
Add tests, docs, and exemptions.
BenHenning Feb 10, 2022
0918b86
Update to fixed version of KotliTeX.
BenHenning Feb 10, 2022
6f2723d
Lint fixes.
BenHenning Feb 10, 2022
8c9cc54
Add new dependency licenses.
BenHenning Feb 10, 2022
5d9de7b
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Feb 10, 2022
2727235
Fix license links.
BenHenning Feb 10, 2022
6fb2c6c
Fix Gradle build.
BenHenning Feb 11, 2022
9d72168
Create the math drawable synchronously.
BenHenning Feb 11, 2022
34d90a7
Remove new deps from Maven list.
BenHenning Feb 11, 2022
551071c
Add argument partitioning.
BenHenning Feb 11, 2022
3ce5bb8
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Feb 11, 2022
67695f8
Post-merge fixes.
BenHenning Feb 11, 2022
8016252
Make allowance for empty cases to fix tests.
BenHenning Feb 11, 2022
3c791e6
Lint fixes.
BenHenning Feb 11, 2022
1564427
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Feb 14, 2022
4cc64bd
Fix broken tests and add reasonable exemptions.
BenHenning Feb 14, 2022
a2505ed
First pass at adding tests.
BenHenning Feb 17, 2022
c650e37
Fix DeveloperOptionsActivityTest.
BenHenning Feb 17, 2022
a4d88e8
Add & fix remaining tests.
BenHenning Feb 18, 2022
c189cc3
Add docs & clean up remaining non-lint parts.
BenHenning Feb 18, 2022
119f0ab
Lint & small breakage fixes.
BenHenning Feb 18, 2022
6bb620b
Fix broken tests.
BenHenning Feb 18, 2022
ecc836e
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Feb 18, 2022
b183d67
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Feb 18, 2022
005d9a0
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Feb 18, 2022
ba198fd
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Feb 18, 2022
1f2b90d
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Feb 18, 2022
86e90f7
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Feb 18, 2022
a6dc7d4
Address reviewer comment.
BenHenning Feb 18, 2022
a6d1111
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Feb 18, 2022
64a1b55
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Feb 18, 2022
151e0bf
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Feb 18, 2022
fd9ec1f
Fix broken build.
BenHenning Feb 18, 2022
960287d
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Feb 18, 2022
b85567e
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Feb 18, 2022
2ed67c5
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Feb 18, 2022
3744cf2
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Feb 18, 2022
c57e792
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Feb 18, 2022
056f547
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Feb 18, 2022
5431e27
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Feb 18, 2022
829bb16
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Feb 18, 2022
23254ca
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Feb 18, 2022
0fc8a1b
Fix broken build post-merge.
BenHenning Feb 18, 2022
e4b92e5
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Feb 18, 2022
9eb1c2d
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Feb 18, 2022
1f3fb48
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Feb 18, 2022
24ac61c
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Feb 18, 2022
c74aee0
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Feb 18, 2022
e814df8
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Feb 18, 2022
6df7a21
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Feb 18, 2022
446d263
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Feb 18, 2022
3cd065f
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Feb 18, 2022
c59598c
Fix broken post-merge classifier.
BenHenning Feb 18, 2022
41be40e
Address reviewer comment.
BenHenning Feb 18, 2022
8070cb6
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Feb 18, 2022
1ea2241
Post-merge build fixes.
BenHenning Feb 18, 2022
6bf8006
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Feb 18, 2022
3407bf4
Post-merge build fixes for new classifiers.
BenHenning Feb 18, 2022
337a195
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Feb 18, 2022
4328d56
Post-merge build fixes.
BenHenning Feb 18, 2022
7e6fc7d
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Feb 18, 2022
0e9402a
Correct reference document link.
BenHenning Feb 18, 2022
f340900
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Feb 18, 2022
c3ecebe
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Feb 18, 2022
3b7c424
Ensure LaTeX isn't stretched or cut-off.
BenHenning Feb 23, 2022
c01f939
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Feb 24, 2022
14f7057
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Feb 24, 2022
b98e1ec
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Feb 24, 2022
b50c40f
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Feb 24, 2022
6d0cc9e
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Feb 24, 2022
2217f7d
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Feb 24, 2022
a9adda1
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Feb 24, 2022
ac63847
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Feb 24, 2022
3f236cb
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Feb 24, 2022
7a76b98
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Feb 24, 2022
af86921
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Feb 24, 2022
ebac9b3
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Feb 24, 2022
ba460f5
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Feb 24, 2022
a2359e4
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Feb 24, 2022
db99c80
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Feb 24, 2022
55949e0
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Feb 24, 2022
8691e43
Add and fix missing test (was broken on Gradle).
BenHenning Feb 24, 2022
000d88d
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Feb 24, 2022
fe4a92f
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Feb 24, 2022
eb995a1
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Feb 24, 2022
169f776
Fix Gradle tests.
BenHenning Feb 25, 2022
8cf9a99
Update to newer version of Kotlin coroutines.
BenHenning Feb 25, 2022
a6a2069
First attempt to fix deadlock.
BenHenning Mar 2, 2022
a3951ca
Attempt to make hint handler multi-threadable.
BenHenning Mar 2, 2022
9cf127c
Finish fixing state player.
BenHenning Mar 3, 2022
c7fe1ba
First pass on migrating question controller.
BenHenning Mar 4, 2022
a48a9f2
Refactor AsyncResult into a sealed class.
BenHenning Mar 5, 2022
7cd0020
Refactor AsyncResult into a sealed class.
BenHenning Mar 5, 2022
c515106
Post-merge fixes and updates for consistency.
BenHenning Mar 7, 2022
1d74aed
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Mar 7, 2022
2ae10ec
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Mar 7, 2022
60670a5
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Mar 7, 2022
473b562
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Mar 7, 2022
73a052f
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Mar 7, 2022
e35b13f
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Mar 7, 2022
9aa8315
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Mar 7, 2022
e8b8f9f
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Mar 7, 2022
a28d87f
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Mar 7, 2022
9c7a1cb
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Mar 7, 2022
3a69df4
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Mar 7, 2022
a632215
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Mar 7, 2022
4c32610
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Mar 7, 2022
523cdcb
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Mar 7, 2022
66ed496
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Mar 7, 2022
9d1c112
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Mar 7, 2022
830d940
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Mar 7, 2022
da7998c
Post-merge fixes.
BenHenning Mar 8, 2022
07f8c59
TODO has been addressed.
BenHenning Mar 8, 2022
535348e
Fix documentation & add tests.
BenHenning Mar 8, 2022
e67a0c3
Lint fixes.
BenHenning Mar 8, 2022
5963d02
Merge commit 'c515106a156ee74f129653ea1d1c944bef03022d' into fix-prog…
BenHenning Mar 8, 2022
2951d4e
Merge branch 'refactor-async-result' into fix-progress-controller-dea…
BenHenning Mar 8, 2022
80ff3fe
Lint & post-merge fixes.
BenHenning Mar 8, 2022
e38c011
Post-merge test fixes.
BenHenning Mar 9, 2022
de101b9
Add documentation & tests.
BenHenning Mar 10, 2022
07136ae
Lint fixes.
BenHenning Mar 10, 2022
fd32994
Fix gradle tests.
BenHenning Mar 10, 2022
0b9fdca
Merge branch 'refactor-async-result' into fix-progress-controller-dea…
BenHenning Mar 10, 2022
21883e7
Fix Proguard build.
BenHenning Mar 10, 2022
5575a00
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 17, 2022
b98caeb
Post-merge fixes.
BenHenning Mar 17, 2022
6c7a33f
Gradle fixes.
BenHenning Mar 17, 2022
e6d6ac1
Fix parameterized runners for Espresso.
BenHenning Mar 17, 2022
8945c3a
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Mar 17, 2022
391cf22
Post-merge fix.
BenHenning Mar 17, 2022
7918001
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Mar 17, 2022
c29a47c
More post-merge fixes.
BenHenning Mar 17, 2022
19b3800
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Mar 17, 2022
aa4fd38
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Mar 17, 2022
eb2bcc3
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Mar 17, 2022
8bd314f
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Mar 17, 2022
429ee02
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Mar 17, 2022
445664a
Fix TODO comment.
BenHenning Mar 17, 2022
b82b158
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Mar 17, 2022
4dd551b
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Mar 17, 2022
4b9b9ac
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Mar 17, 2022
af405aa
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Mar 17, 2022
5d797b0
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Mar 17, 2022
89361ed
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Mar 17, 2022
2ef6688
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Mar 17, 2022
85d8933
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Mar 17, 2022
f01c425
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Mar 17, 2022
4ef3ecd
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Mar 17, 2022
8fdad01
Post-merge lint fixes.
BenHenning Mar 17, 2022
10081a6
Post-merge fix.
BenHenning Mar 17, 2022
69f96e1
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Mar 17, 2022
06b51d3
Fix exploration routing issue.
BenHenning Mar 18, 2022
caa6d91
Merge branch 'refactor-async-result' into fix-progress-controller-dea…
BenHenning Mar 18, 2022
8f8eab2
Post-merge fixes.
BenHenning Mar 18, 2022
56f8c08
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 18, 2022
b77e8ad
Post-merge fixes.
BenHenning Mar 18, 2022
2bd741a
Update KotliTeX version.
BenHenning Mar 18, 2022
733cff4
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Mar 18, 2022
d13dc86
Merge branch 'refactor-async-result' into fix-progress-controller-dea…
BenHenning Mar 18, 2022
0ec1586
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 18, 2022
d18c739
Fix lifecycle breakage.
BenHenning Mar 24, 2022
1dd0310
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 24, 2022
bf40e88
Address reviewer comment.
BenHenning Mar 24, 2022
40d0a05
Update play session controllers.
BenHenning Mar 24, 2022
b360526
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 24, 2022
52862d6
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Mar 25, 2022
cd31247
Merge branch 'develop' into add-support-for-math-expressions-pt1-fix-…
BenHenning Mar 25, 2022
4dbd838
Merge branch 'add-support-for-math-expressions-pt1-fix-proto-imports'…
BenHenning Mar 25, 2022
deabf3a
Merge branch 'develop' into add-support-for-math-expressions-pt2-math…
BenHenning Mar 26, 2022
8bd89e6
Merge branch 'add-support-for-math-expressions-pt2-math-utility-refac…
BenHenning Mar 26, 2022
06f9cfd
Merge branch 'develop' into add-support-for-math-expressions-pt3-math…
BenHenning Mar 26, 2022
a1284a1
Merge branch 'add-support-for-math-expressions-pt3-math-expression-pr…
BenHenning Mar 26, 2022
2c2328b
Merge branch 'develop' into add-support-for-math-expressions-pt4-comm…
BenHenning Mar 26, 2022
feb901b
Merge branch 'add-support-for-math-expressions-pt4-commutative-compar…
BenHenning Mar 26, 2022
783aaf0
Merge branch 'develop' into add-support-for-math-expressions-pt5-poly…
BenHenning Mar 26, 2022
7306faa
Merge branch 'add-support-for-math-expressions-pt5-polynomial-protos'…
BenHenning Mar 26, 2022
d59437c
Merge branch 'develop' into add-support-for-math-expressions-pt6-toke…
BenHenning Mar 26, 2022
be04055
Merge branch 'add-support-for-math-expressions-pt6-tokenizer' into ad…
BenHenning Mar 26, 2022
88ecf9e
Merge branch 'develop' into add-support-for-math-expressions-pt7-math…
BenHenning Mar 26, 2022
7cb991a
Merge branch 'add-support-for-math-expressions-pt7-math-expression-pa…
BenHenning Mar 26, 2022
b94f94f
Merge branch 'develop' into add-support-for-math-expressions-pt8-late…
BenHenning Mar 26, 2022
3229bae
Merge branch 'add-support-for-math-expressions-pt8-latex-conversion-a…
BenHenning Mar 26, 2022
d31a403
Merge branch 'develop' into add-support-for-math-expressions-pt9-comm…
BenHenning Mar 26, 2022
67c53ec
Merge branch 'add-support-for-math-expressions-pt9-commutative-compar…
BenHenning Mar 26, 2022
ff2df48
Merge branch 'develop' into add-support-for-math-expressions-pt10-pol…
BenHenning Mar 26, 2022
c41bda8
Merge branch 'add-support-for-math-expressions-pt10-polynomials' into…
BenHenning Mar 26, 2022
e34c52a
Merge branch 'develop' into add-support-for-math-expressions-pt11-num…
BenHenning Mar 26, 2022
78935c3
Merge branch 'add-support-for-math-expressions-pt11-numeric-expressio…
BenHenning Mar 26, 2022
9271db4
Merge branch 'develop' into add-support-for-math-expressions-pt12-alg…
BenHenning Mar 26, 2022
3c0dbff
Merge branch 'add-support-for-math-expressions-pt12-algebraic-express…
BenHenning Mar 26, 2022
d29b349
Merge branch 'develop' into add-support-for-math-expressions-pt13-mat…
BenHenning Mar 26, 2022
52de127
Merge branch 'add-support-for-math-expressions-pt13-math-equation-inp…
BenHenning Mar 26, 2022
c4beb96
Merge branch 'develop' into add-support-for-math-expressions-pt14-ena…
BenHenning Mar 27, 2022
1bf3c1a
Merge branch 'add-support-for-math-expressions-pt14-enable-math-class…
BenHenning Mar 27, 2022
b5334bc
Merge branch 'develop' into add-support-for-math-expressions-pt15-mat…
BenHenning Mar 27, 2022
429ec8d
Merge branch 'add-support-for-math-expressions-pt15-math-expression-a…
BenHenning Mar 27, 2022
eb000c0
Merge branch 'develop' of github.com:oppia/oppia-android into add-sup…
BenHenning Mar 27, 2022
4ed96d7
Merge branch 'add-support-for-math-expressions-pt16-latex-rendering' …
BenHenning Mar 27, 2022
f939bca
Merge branch 'develop' of github.com:oppia/oppia-android into refacto…
BenHenning Mar 27, 2022
f18a9fa
Merge branch 'refactor-async-result' into fix-progress-controller-dea…
BenHenning Mar 27, 2022
cfcbc48
Merge branch 'develop' of github.com:oppia/oppia-android into fix-pro…
BenHenning Mar 27, 2022
d38a369
Merge branch 'fix-progress-controller-deadlock' into introduce-algebr…
BenHenning Mar 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ git_repository(
remote = "https://github.com/oppia/androidsvg",
)

# A custom fork of KotliTeX that removes resources artifacts that break the build, and updates the
# min target SDK version to be compatible with Oppia.
git_repository(
name = "kotlitex",
commit = "6b7db8ff9e0f4a70bdaa25f482143e038fd0c301",
remote = "https://github.com/oppia/kotlitex",
shallow_since = "1647554845 -0700",
)

bind(
name = "databinding_annotation_processor",
actual = "//tools/android:compiler_annotation_processor",
Expand Down
47 changes: 39 additions & 8 deletions app/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ package_group(
package_group(
name = "app_testing_visibility",
packages = [
"//app/src/sharedTest/...",
"//app/src/test/...",
],
)
Expand All @@ -46,6 +47,12 @@ filegroup(
visibility = ["//:oppia_testing_visibility"],
)

filegroup(
name = "data_binder_mapper_impl",
srcs = ["src/test/java/DataBinderMapperImpl.java"],
visibility = [":app_testing_visibility"],
)

# Source files for the migrated source files library. The files inside the migrated source files
# library are dependencies in app module that have their own libraries.
# Place your files here if:
Expand Down Expand Up @@ -93,6 +100,7 @@ LISTENERS = [
"src/main/java/org/oppia/android/app/devoptions/RouteToMarkChaptersCompletedListener.kt",
"src/main/java/org/oppia/android/app/devoptions/RouteToMarkStoriesCompletedListener.kt",
"src/main/java/org/oppia/android/app/devoptions/RouteToMarkTopicsCompletedListener.kt",
"src/main/java/org/oppia/android/app/devoptions/RouteToMathExpressionParserTestListener.kt",
"src/main/java/org/oppia/android/app/devoptions/RouteToViewEventLogsListener.kt",
"src/main/java/org/oppia/android/app/drawer/RouteToProfileProgressListener.kt",
"src/main/java/org/oppia/android/app/help/LoadFaqListFragmentListener.kt",
Expand Down Expand Up @@ -169,6 +177,7 @@ DATABINDING_LAYOUTS = ["src/main/res/layout*/**"]
VIEW_MODELS_WITH_RESOURCE_IMPORTS = [
"src/main/java/org/oppia/android/app/administratorcontrols/appversion/AppVersionViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserViewModel.kt",
"src/main/java/org/oppia/android/app/drawer/NavigationDrawerHeaderViewModel.kt",
"src/main/java/org/oppia/android/app/help/HelpItemViewModel.kt",
"src/main/java/org/oppia/android/app/help/HelpListViewModel.kt",
Expand All @@ -189,12 +198,13 @@ VIEW_MODELS_WITH_RESOURCE_IMPORTS = [
"src/main/java/org/oppia/android/app/onboarding/OnboardingViewModel.kt",
"src/main/java/org/oppia/android/app/ongoingtopiclist/OngoingTopicItemViewModel.kt",
"src/main/java/org/oppia/android/app/options/TextSizeItemViewModel.kt",
"src/main/java/org/oppia/android/app/parser/StringToFractionParser.kt",
"src/main/java/org/oppia/android/app/parser/FractionParsingUiError.kt",
"src/main/java/org/oppia/android/app/parser/StringToNumberParser.kt",
"src/main/java/org/oppia/android/app/parser/StringToRatioParser.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/DragDropInteractionContentViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/FractionInteractionViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/ImageRegionSelectionInteractionViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/MathExpressionInteractionsViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/PreviousResponsesHeaderViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/RatioExpressionInputInteractionViewModel.kt",
"src/main/java/org/oppia/android/app/player/state/itemviewmodel/SubmittedAnswerViewModel.kt",
Expand Down Expand Up @@ -234,6 +244,7 @@ VIEW_MODELS = [
"src/main/java/org/oppia/android/app/devoptions/devoptionsitemviewmodel/DeveloperOptionsItemViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/devoptionsitemviewmodel/DeveloperOptionsModifyLessonProgressViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/devoptionsitemviewmodel/DeveloperOptionsOverrideAppBehaviorsViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/devoptionsitemviewmodel/DeveloperOptionsTestParsersViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/devoptionsitemviewmodel/DeveloperOptionsViewLogsViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/DeveloperOptionsViewModel.kt",
"src/main/java/org/oppia/android/app/devoptions/forcenetworktype/NetworkTypeItemViewModel.kt",
Expand Down Expand Up @@ -381,6 +392,7 @@ VIEWS_WITH_RESOURCE_IMPORTS = [
# keep sorted
VIEWS = [
"src/main/java/org/oppia/android/app/customview/interaction/FractionInputInteractionView.kt",
"src/main/java/org/oppia/android/app/customview/interaction/MathExpressionInteractionsView.kt",
"src/main/java/org/oppia/android/app/customview/interaction/NumericInputInteractionView.kt",
"src/main/java/org/oppia/android/app/customview/interaction/TextInputInteractionView.kt",
"src/main/java/org/oppia/android/app/customview/interaction/RatioInputInteractionView.kt",
Expand Down Expand Up @@ -537,6 +549,7 @@ android_library(
resource_files = glob(DATABINDING_LAYOUTS),
visibility = [
"//app/src/main/java/org/oppia/android/app/shim:__pkg__",
"//app/src/main/java/org/oppia/android/app/testing/activity:__pkg__",
],
deps = [
":annotations",
Expand All @@ -546,8 +559,8 @@ android_library(
":views",
"//app/src/main/java/org/oppia/android/app/translation:app_language_activity_injector_provider",
"//app/src/main/java/org/oppia/android/app/translation:app_language_resource_handler",
"//model:interaction_object_java_proto_lite",
"//model:thumbnail_java_proto_lite",
"//model/src/main/proto:interaction_object_java_proto_lite",
"//model/src/main/proto:thumbnail_java_proto_lite",
"//third_party:androidx_annotation_annotation",
"//third_party:androidx_constraintlayout_constraintlayout",
"//third_party:androidx_core_core",
Expand Down Expand Up @@ -578,8 +591,8 @@ kt_android_library(
deps = [
":dagger",
"//domain/src/main/java/org/oppia/android/domain/audio:cellular_audio_dialog_controller",
"//model:question_java_proto_lite",
"//model:topic_java_proto_lite",
"//model/src/main/proto:question_java_proto_lite",
"//model/src/main/proto:topic_java_proto_lite",
"//third_party:androidx_recyclerview_recyclerview",
],
)
Expand Down Expand Up @@ -647,6 +660,7 @@ kt_android_library(
"//app/src/main/java/org/oppia/android/app/viewmodel:observable_view_model",
"//app/src/main/java/org/oppia/android/app/viewmodel:view_model_provider",
"//app/src/main/java/org/oppia/android/app/utility/datetime:date_time_util",
"//app/src/main/java/org/oppia/android/app/utility/math:math_expression_accessibility_util",
"//domain",
"//domain/src/main/java/org/oppia/android/domain/audio:audio_player_controller",
"//domain/src/main/java/org/oppia/android/domain/onboarding:state_controller",
Expand All @@ -658,9 +672,11 @@ kt_android_library(
"//utility/src/main/java/org/oppia/android/util/extensions:context_extensions",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_event_logger",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/math:fraction_parser",
# TODO(#59): Remove 'debug_util_module' once we completely migrate to Bazel from Gradle as
# we can then directly exclude debug files from the build and thus won't be requiring this module.
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
"//utility/src/main/java/org/oppia/android/util/parser/html:html_parser",
],
)

Expand All @@ -686,7 +702,7 @@ android_library(
":view_models",
"//app/src/main/java/org/oppia/android/app/translation:app_language_activity_injector_provider",
"//app/src/main/java/org/oppia/android/app/translation:app_language_resource_handler",
"//model:thumbnail_java_proto_lite",
"//model/src/main/proto:thumbnail_java_proto_lite",
"//third_party:androidx_annotation_annotation",
"//third_party:androidx_constraintlayout_constraintlayout",
"//third_party:androidx_lifecycle_lifecycle-livedata-core",
Expand Down Expand Up @@ -732,13 +748,16 @@ kt_android_library(
"//data/src/main/java/org/oppia/android/data/backends/gae:network_config_prod_module",
"//data/src/main/java/org/oppia/android/data/backends/gae:prod_module",
"//domain/src/main/java/org/oppia/android/domain/classify:interactions_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/algebraicexpressioninput:algebraic_expression_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/continueinteraction:continue_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/dragAndDropSortInput:drag_and_drop_sort_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/fractioninput:fraction_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/imageClickInput:image_click_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/itemselectioninput:item_selection_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/mathequationinput:math_equation_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/multiplechoiceinput:multiple_choice_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numberwithunits:number_with_units_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numericexpressioninput:numeric_expression_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numericinput:numeric_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/ratioinput:ratio_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/textinput:text_input_rule_module",
Expand All @@ -749,8 +768,8 @@ kt_android_library(
"//domain/src/main/java/org/oppia/android/domain/oppialogger:startup_listener",
"//domain/src/main/java/org/oppia/android/domain/oppialogger/exceptions:logger_module",
"//domain/src/main/java/org/oppia/android/domain/oppialogger/loguploader:worker_module",
"//model/src/main/proto:arguments_java_proto_lite",
"//domain/src/main/java/org/oppia/android/domain/profile:profile_management_controller",
"//model:arguments_java_proto_lite",
"//app/src/main/java/org/oppia/android/app/testing/activity:test_activity",
"//third_party:androidx_databinding_databinding-adapters",
"//third_party:androidx_databinding_databinding-common",
Expand Down Expand Up @@ -778,7 +797,9 @@ kt_android_library(
"//utility/src/main/java/org/oppia/android/util/parser/image:image_parsing_module",
# TODO(#2432): Replace debug_module with prod_module when building the app in prod mode.
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/logging:console_logger_injector_provider",
"//utility/src/main/java/org/oppia/android/util/statusbar:status_bar_color",
"//utility/src/main/java/org/oppia/android/util/threading:dispatcher_injector_provider",
],
)

Expand Down Expand Up @@ -806,7 +827,10 @@ kt_android_library(
"src/sharedTest/java/org/oppia/android/app/utility/ProgressMatcher.kt",
"src/sharedTest/java/org/oppia/android/app/utility/TabMatcher.kt",
],
visibility = ["//app:__subpackages__"],
visibility = [
":app_testing_visibility",
"//app:__subpackages__",
],
deps = [
":app",
"//testing",
Expand All @@ -822,15 +846,19 @@ TEST_DEPS = [
":test_deps",
"//app/src/main/java/org/oppia/android/app/testing/activity:test_activity",
"//app/src/main/java/org/oppia/android/app/translation/testing:test_module",
"//app/src/main/java/org/oppia/android/app/utility/math:math_expression_accessibility_util",
"//domain",
"//domain/src/main/java/org/oppia/android/domain/audio:audio_player_controller",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/algebraicexpressioninput:algebraic_expression_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/continueinteraction:continue_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/dragAndDropSortInput:drag_and_drop_sort_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/fractioninput:fraction_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/imageClickInput:image_click_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/itemselectioninput:item_selection_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/mathequationinput:math_equation_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/multiplechoiceinput:multiple_choice_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numberwithunits:number_with_units_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numericexpressioninput:numeric_expression_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/numericinput:numeric_input_rule_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/ratioinput:ratio_input_module",
"//domain/src/main/java/org/oppia/android/domain/classify/rules/textinput:text_input_rule_module",
Expand All @@ -844,6 +872,8 @@ TEST_DEPS = [
"//testing/src/main/java/org/oppia/android/testing/espresso:konfetti_view_matcher",
"//testing/src/main/java/org/oppia/android/testing/espresso:text_input_action",
"//testing/src/main/java/org/oppia/android/testing/junit:initialize_default_locale_rule",
"//testing/src/main/java/org/oppia/android/testing/math:math_equation_subject",
"//testing/src/main/java/org/oppia/android/testing/math:math_expression_subject",
"//testing/src/main/java/org/oppia/android/testing/mockito",
"//testing/src/main/java/org/oppia/android/testing/network",
"//testing/src/main/java/org/oppia/android/testing/network:test_module",
Expand Down Expand Up @@ -879,6 +909,7 @@ TEST_DEPS = [
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching:asset_prod_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/math:math_expression_parser",
"//utility/src/main/java/org/oppia/android/util/parser/html:custom_bullet_span",
"//utility/src/main/java/org/oppia/android/util/parser/html:html_parser",
"//utility/src/main/java/org/oppia/android/util/parser/html:html_parser_entity_type_module",
Expand Down
30 changes: 20 additions & 10 deletions app/app_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,39 @@ Macros for app module tests.
load("//:oppia_android_test.bzl", "oppia_android_module_level_test")

# TODO(#1620): Remove module-specific test macros once Gradle is removed
def app_test(name, processed_src, test_path_prefix, filtered_tests, deps, **kwargs):
def app_test(
name,
deps,
processed_src = None,
test_class = None,
test_path_prefix = None,
filtered_tests = [],
**kwargs):
"""
Creates individual tests for test files in the app module.

Args:
name: str. The relative path to the Kotlin test file.
processed_src: str. The source to a processed version of the test that should be used
name: str. The relative path to the Kotlin test file, or the name of the suite.
processed_src: str|None. The source to a processed version of the test that should be used
instead of the original.
test_path_prefix: str. The prefix of the test path (which is used to extract the qualified
class name of the test suite).
filtered_tests: list of str. The test files that should not have tests defined for them.
test_class: str|None. The fully qualified test class that will be run (relative to
src/test/java).
test_path_prefix: str|None. The prefix of the test path (which is used to extract the
qualified class name of the test suite).
deps: list of str. The list of dependencies needed to build and run this test.
filtered_tests: list of str. The test files that should not have tests defined for them.
**kwargs: additional parameters passed in.
"""
oppia_android_module_level_test(
name = name,
processed_src = processed_src,
filtered_tests = filtered_tests,
test_path_prefix = test_path_prefix,
deps = deps,
processed_src = processed_src,
test_class = test_class,
test_path_prefix = test_path_prefix,
custom_package = "org.oppia.android.app.test",
test_manifest = "src/test/AndroidManifest.xml",
additional_srcs = ["src/test/java/DataBinderMapperImpl.java"],
test_manifest = "//app:test_manifest",
additional_srcs = ["//app:data_binder_mapper_impl"],
enable_data_binding = True,
**kwargs
)
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ dependencies {
'de.hdodenhof:circleimageview:3.0.1',
'nl.dionsegijn:konfetti:1.2.5',
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1',
'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.1',
'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1',
'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1',
'org.mockito:mockito-core:2.7.22',
)
compileOnly(
Expand Down Expand Up @@ -171,6 +171,7 @@ dependencies {
'androidx.test.ext:junit:1.1.1',
'com.github.bumptech.glide:mocks:4.11.0',
'com.google.truth:truth:1.1.3',
'com.google.truth.extensions:truth-liteproto-extension:1.1.3',
'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.2.2',
'org.mockito:mockito-android:2.7.22',
'org.robolectric:annotations:4.5',
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@
<activity
android:name=".app.devoptions.forcenetworktype.testing.ForceNetworkTypeTestActivity"
android:theme="@style/OppiaThemeWithoutActionBar" />
<activity
android:name=".app.devoptions.mathexpressionparser.MathExpressionParserActivity"
android:label="@string/math_expression_parser_activity_title"
android:theme="@style/OppiaThemeWithoutActionBar" />
<activity
android:name=".app.resumelesson.ResumeLessonActivity"
android:label="@string/resume_lesson_activity_title"
Expand Down
Loading