Translation updater bot
1c4e3fd6ca
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifb2b0cdecf8596dcd9b8fd995e66cd255683076e
2023-01-09 09:27:36 +01:00
Translation updater bot
46284be392
Localisation updates from https://translatewiki.net .
...
Change-Id: I36767fc885b2fce48b1d1d30ffefdc7ee9f0af4a
2023-01-06 08:55:29 +01:00
jenkins-bot
347dcbd3fe
Merge "Fix significant typo in grammar"
2023-01-03 16:02:27 +00:00
jenkins-bot
6153004078
Merge "Improve security of MathML output"
2023-01-03 15:28:24 +00:00
Moritz Schubotz (physikerwelt)
7b425a5500
Improve security of MathML output
...
Avoid that user input is passed to the HTML output directly by using
HTML methods for tag generation. This also enables additional phan checks.
Change-Id: Iff584ac829c190e413a36331c53d6835a86bc0d5
2023-01-03 15:47:54 +01:00
Moritz Schubotz (physikerwelt)
0aecf2ab10
Expand texvcjs comparison test
...
* Currently the regression test only tests if all formulae that passed the test before still pass the test
* This change also compares the output
Change-Id: Ib667de2e7e512cf7d045e28a19c6a5f7d994dfc6
2022-12-30 19:53:31 +01:00
Moritz Schubotz (physikerwelt)
81fa5b0c97
Fix significant typo in grammar
...
* Uq and Dq was mixed
* Simplify regeneration of grammar for node developers
* Speed up npm test by ignoring local test json files
Change-Id: Iec273dcc967be46d3df52260fc56f1969667e497
2022-12-30 16:58:39 +01:00
jenkins-bot
efc93cb5e9
Merge "Refactor LocalChecker"
2022-12-29 22:10:06 +00:00
jenkins-bot
72b571a7d6
Merge "Fix HTML testtable generation"
2022-12-29 21:53:03 +00:00
Moritz Schubotz (physikerwelt)
96c636e243
Refactor LocalChecker
...
* Do not throw arbitrary exception in constructor
* Remove custom fields
Change-Id: Ibb49f6a5e66649bab8b605e8785a868b74dbd7d0
2022-12-29 22:51:34 +01:00
Moritz Schubotz (physikerwelt)
e4affc08ec
Fix HTML testtable generation
...
* Do not generate a new table for every case
Change-Id: I0352a30e66fc7c43ac18e5a09b5794bc50a9b98c
2022-12-29 11:03:29 +01:00
Translation updater bot
6f8369c7dd
Localisation updates from https://translatewiki.net .
...
Change-Id: I01f7723fa82b07561b6ec8f1a2e80a432c801036
2022-12-29 10:01:54 +01:00
jenkins-bot
5ad3a47d0d
Merge "Improve test coverage for nodes"
2022-12-28 20:45:52 +00:00
jenkins-bot
98aeec1201
Merge "Add tests for more TeX statements"
2022-12-28 19:40:11 +00:00
Moritz Schubotz (physikerwelt)
b9e297c4ec
Improve test coverage for nodes
...
* Use merror instead of plain strings for not implemented functions
Change-Id: If20559e05f3b0c8921a28c623102b8f4788a3c94
2022-12-28 19:18:21 +00:00
jenkins-bot
1a30bbe04f
Merge "Add commandline script for texvc"
2022-12-28 18:59:37 +00:00
Moritz Schubotz (physikerwelt)
52442e0ef1
Add commandline script for texvc
...
Change-Id: If817216fc804a14ce1f2f8dea5b15adde722a39e
2022-12-28 14:22:29 +01:00
Moritz Schubotz (physikerwelt)
469c698e47
Improve checking performance
...
* Report only on used packages if requested
Change-Id: I5b4fc6d7e571206f5b5d41d3bf268251ed1a8677
2022-12-28 13:34:23 +01:00
Stegmujo
6581889158
Add tests for more TeX statements
...
* These can be used for development purposes
Bug: T302628
Change-Id: I620b0a44b30b88a68f8f806b9c20ddabfe227573
2022-12-28 11:34:45 +01:00
jenkins-bot
00e7d44ec6
Merge "Use named data sets in AllTest"
2022-12-28 09:30:57 +00:00
Moritz Schubotz (physikerwelt)
b0cacbc1a6
Use named data sets in AllTest
...
Change-Id: Ia8ceb06f2d2ec5a4f5935fb0d4b6e95e466ce002
2022-12-28 09:46:19 +01:00
Moritz Schubotz (physikerwelt)
70acbd7ea4
Fix missing curlies in chem nodes
...
* the php implementation had fewer curlies compared to the
js implmenetation
* remove unused function name (could be replace get_class)
* Add testcase for declh
Change-Id: I8132604a659d7ddf98e1f73686b40ff0591229f3
2022-12-28 00:56:47 +01:00
Translation updater bot
ff496f0de3
Localisation updates from https://translatewiki.net .
...
Change-Id: I6d8f535325268c23f93173c40200896ef9880994
2022-12-26 09:10:22 +01:00
Stegmujo
783797bb9a
Add test for basic MML Methods
...
Bug: T302628
Change-Id: Ib3d781a516e53392fb09a2c70b322805dcb43fcf
2022-12-23 22:46:59 +01:00
Stegmujo
f8e25f5dce
Update visitor functions and add parsing methods (MMLGen)
...
Bug: T302628
Change-Id: I5374a831cf74a6eb3bf3165abe3ad0661ec07f5f
2022-12-23 20:02:00 +01:00
Stegmujo
a692599224
Add mappings for MMLGen
...
Bug: T302628
Change-Id: I839b77d805820262bb96fea801f1f2c3f52b53d5
2022-12-23 15:29:33 +00:00
jenkins-bot
5db9b573f3
Merge "Update namespace references in MMLNodes"
2022-12-23 15:16:25 +00:00
Stegmujo
bdcd599e97
Update namespace references in MMLNodes
...
* this is necessary for phan to have corresponding namespaces to project structure
Bug: T302628
Change-Id: Ic485136990698828c04739db48f69658264bfd25
2022-12-23 14:54:00 +00:00
Stegmujo
c124f1ec26
Add utility classes for generating MathML
...
Bug: T302628
Change-Id: I90f0470a14f0adeaef94b90833b4bbc32a758a32
2022-12-23 14:42:18 +00:00
Stegmujo
d3da9f2ce1
Add updated TexConstants and Lengths
...
* mostly this solves dependency references
Bug: T302628
Change-Id: Idee807304e283def14ea0eb00762793a8e52ae7e
2022-12-23 11:06:34 +01:00
Translation updater bot
4366d27660
Localisation updates from https://translatewiki.net .
...
Change-Id: I87bb201f6c5a1bd50e3cf3fab504414170372d86
2022-12-23 09:07:12 +01:00
jenkins-bot
3c6ad74002
Merge "Add MML nodes and basic constants for MML generation"
2022-12-21 12:48:24 +00:00
Stegmujo
34b98c5a0d
Add MML nodes and basic constants for MML generation
...
Bug: T302628
Change-Id: If18a5650b6c92b5da7496dd891987ecc8bd0efab
2022-12-21 12:05:26 +01:00
Translation updater bot
461f091ba4
Localisation updates from https://translatewiki.net .
...
Change-Id: I71676a95fdcf1d5d8452e64cb91a585cee8ca71d
2022-12-21 09:16:31 +01:00
Translation updater bot
a0d76af357
Localisation updates from https://translatewiki.net .
...
Change-Id: I295becac9e52eeb4976077d8c0611fd0d2aad01e
2022-12-19 09:04:15 +01:00
Translation updater bot
fae5de04cd
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaa53270625f2b0beef730a8038d76d745d905a84
2022-12-15 11:36:19 +01:00
Jon Robson
571e624c4e
Load Math ResourceLoader modules on mobile
...
The default for a module is desktop and all of these modules
at a glance look like they should be loaded on mobile as
well.
Bug: T324723
Change-Id: I606b75d6524692e4183cd71a991140976d04d23f
2022-12-13 16:47:31 +00:00
Translation updater bot
288950de43
Localisation updates from https://translatewiki.net .
...
Change-Id: I147be91efd69c70cd237c0c9978b92f469ab364f
2022-12-12 08:22:39 +01:00
Umherirrender
6e424c2e4a
Replace comment about deprecated Http::post
...
Bug: T305813
Change-Id: I1975fd473c8d57ab7e43a47ea4da3d4f33fac68c
2022-12-11 15:04:59 +01:00
Translation updater bot
c3c610fa22
Localisation updates from https://translatewiki.net .
...
Change-Id: Iddb83d20b6fe17de5604ad310de97bd2fd4d85c8
2022-12-08 08:29:23 +01:00
Translation updater bot
a923a6f0a5
Localisation updates from https://translatewiki.net .
...
Change-Id: I41be79c8aed7fb1aeaa72718b03de320933fe7d1
2022-12-07 08:13:33 +01:00
jenkins-bot
104c80198c
Merge "Update positive regression tests"
2022-12-06 10:50:18 +00:00
Moritz Schubotz (physikerwelt)
cbd67195f5
Update positive regression tests
...
Adapt test running structure to the new structure for good tests
coming from texvcjs.
Change-Id: I330bb3f8f0c6f379d624986827f96946af1d4c12
2022-12-06 10:59:39 +01:00
AndreG-P
95c5757ee5
Enable popups for annotated math formulae
...
Enable popup extension for annotated math expressions. The popup shows a short summary of the formula and is generated via the Popup API introduced with I65fcbf25ac5818f6c649daf494c719921247e8f5. It is a follow up of Iefe98c1f0422dbf034e385b1a41a859d030a2cf4.
Bug: T208758
Change-Id: I8c45b7e441083c240bbf2e0217ec219df7dcc351
2022-12-06 06:07:22 +00:00
Translation updater bot
7a0a47c075
Localisation updates from https://translatewiki.net .
...
Change-Id: I41c3149a07dca229160375f6b78ce41037bf738d
2022-12-05 08:33:56 +01:00
jenkins-bot
7c58d11125
Merge "Fix broken/incomplete regex patterns in TexNode::texContainsFunc"
2022-12-01 20:53:02 +00:00
jenkins-bot
ed47beba1b
Merge "Minor preformance improvement in TexNode::texContainsFunc"
2022-12-01 20:50:54 +00:00
thiemowmde
566944c42d
Fix broken/incomplete regex patterns in TexNode::texContainsFunc
...
I compared with
6c6988c4f6/lib/astutil.js
and found two mistakes:
* Missing space at the end of the color regex.
* Not enough backslash escaping in the last regex.
Note how the code in lines #116 and #130 is now identical.
Change-Id: I13b75ad4a1e4da0766c0d73b8786b21865945697
2022-12-01 17:05:30 +01:00
thiemowmde
f09ce3134b
Add many more testcases for TexNode::texContainsFunc()
...
Positive as well as negative tests. This patch intentionally doesn't
touch the implementation but simply documents how the code currently
behaves.
Change-Id: Ib670ad680087e520f4a99e932e5a2a9fd2d115de
2022-12-01 16:57:28 +01:00
thiemowmde
f459b0b305
Rewrite TexNodeTest to use @dataProviders
...
Personally I find this easier to read. It allows to maintain a compact
list of input values with the expected output.
Change-Id: Ifeb532e2b94c674b512b3c40f101977939b83cd5
2022-12-01 16:34:40 +01:00