Commit Graph

571 Commits

Author SHA1 Message Date
ucrhh
efe4e5f243 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 13:55:45 +01:00
ucrhh
24f898d64a move buttons to accordion sumamry 2021-03-05 13:55:31 +01:00
uogau
92d0e77bb6 added close buttons to dialog 2021-03-05 13:26:22 +01:00
ucrhh
a7e8a24d77 make examples latex code compatible with normal LaTeX 2021-03-05 12:51:56 +01:00
ucrhh
b728ced2af Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 12:48:56 +01:00
ucrhh
5285aa067e fix that link changes when entering empty term 2021-03-05 12:48:29 +01:00
Moritz Dieing
a7eaf394ec Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 12:44:29 +01:00
Moritz Dieing
7a80ccb577 Smaller copy button with notification 2021-03-05 12:44:17 +01:00
ucrhh
d4a6acbc07 navigate to startpage when empty term is entered 2021-03-05 12:36:47 +01:00
ucrhh
7a689d12a9 improved texts 2021-03-05 12:08:29 +01:00
Arne Keller
50a5662837 Set title in presenter 2021-03-05 10:45:53 +01:00
Arne Keller
37b3be5066 Fix history issues 2021-03-05 10:29:54 +01:00
Arne Keller
6ebe1a7450 Fix keyboard navigation in upper bar
As a bonus, it is now more obvious that the icons are buttons too
2021-03-05 09:08:54 +01:00
Arne Keller
37f5b64518 Fix scope of key shortcuts 2021-03-04 23:16:08 +01:00
Johanna Stuber
709c061059 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-04 19:19:06 +01:00
Johanna Stuber
22adbfe1c6 highlight 'highlighted' 2021-03-04 19:17:55 +01:00
Johanna Stuber
3acdc46bef remove superfluous unification step 2021-03-04 19:06:53 +01:00
Moritz Dieing
6fdfb45b47 Preserve language on refresh 2021-03-04 19:04:45 +01:00
Arne Keller
6cea905dc4 Use aligned instead of align* 2021-03-04 12:10:15 +01:00
ucrhh
5f35f57151 examples load instantly when clicked 2021-03-04 11:28:51 +01:00
Arne Keller
cde13db5b1 Replace every backslash after user finished typing 2021-03-03 21:43:38 +01:00
Moritz Dieing
19a2921cbc Add screenshots 2021-03-03 19:56:05 +01:00
Moritz Dieing
592ace9882 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-03 19:53:53 +01:00
Moritz Dieing
b1fb1d8ef5 Better type in type assumptions 2021-03-03 19:53:39 +01:00
Arne Keller
e61c34c8da WIP unification change highlighter 2021-03-03 14:57:23 +01:00
ucrhh
0154e2ddf9 remove '-' from tab name when given term is empty 2021-03-01 12:32:36 +01:00
ucrhh
b282064f72 make typeAssumption delete button not focusable using tab 2021-03-01 11:21:05 +01:00
Johanna Stuber
dda2f4747b kleinere Änderungen nach 2. Tester 2021-02-28 16:09:09 +01:00
Johanna Stuber
b2aae87b55 typos, kleine Änderungen nach Testerrückmeldung 2021-02-28 12:44:25 +01:00
Robin
0cda05d847 put disabling logic into refreshElements() 2021-02-28 11:32:50 +01:00
Robin
7271c22029 ControlPanel Buttons are now disabled when they have no function 2021-02-28 11:17:16 +01:00
Johanna Stuber
c2475d4983 Szenario mit Permlaink IT 2021-02-27 23:01:53 +01:00
Arne Keller
24454a26ee Integration test: example scenario 2021-02-26 12:15:35 +01:00
Moritz Dieing
bb7954d393 Typo 2021-02-25 19:59:17 +01:00
Arne Keller
f86e38e305 Remove custom index.html
Breaks HTML5 compatibility
2021-02-25 11:01:36 +01:00
Johanna Stuber
36e763ce6d fix bug with failing let sub-inference 2021-02-24 22:12:06 +01:00
Moritz Dieing
0c1cdfa118 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-21 11:49:54 +01:00
Moritz Dieing
c554f5e9f3 Update ErrorNotification 2021-02-21 11:49:46 +01:00
Johanna Stuber
fd8638164f Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-21 11:38:49 +01:00
Johanna Stuber
1e31c19db5 package-info for util, presenter; adjust Javadoc TypeInfererLet 2021-02-21 11:38:29 +01:00
Arne Keller
d09345259a Small style adjustments 2021-02-21 10:34:09 +01:00
Arne Keller
1dc5f861c3 Fix parser issue 2021-02-21 10:32:34 +01:00
Johanna Stuber
c115baa4d4 merge 2021-02-20 21:16:27 +01:00
Johanna Stuber
56185806d7 addition to ass grammar, unification error strings 2021-02-20 21:14:40 +01:00
ucrhh
44ad536446 add heading to share dialog 2021-02-20 15:34:32 +01:00
Arne Keller
27aff112bb TypeAssumptionParser tests 2021-02-20 09:06:14 +01:00
Moritz Dieing
d6bc8bb9cd package info for content and infocontent 2021-02-20 01:01:41 +01:00
ucrhh
28aee51c7f fix pipeline 2021-02-19 23:21:24 +01:00
ucrhh
6fc73d1a3f reformat, sanitize docs 2021-02-19 22:56:25 +01:00
ucrhh
e3b5d85cd5 forgot to use string constant 2021-02-19 18:55:34 +01:00
ucrhh
77ce5e4ee1 change empty brackets for typeAssumptions to \emptyset symbol 2021-02-19 18:52:27 +01:00
ucrhh
eca2b2a668 changed string to not depend on language 2021-02-19 18:45:50 +01:00
ucrhh
383802bc59 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-19 18:38:19 +01:00
ucrhh
1f68eda42e implement typeabstraction in LatexCreatorConstraints 2021-02-19 18:37:59 +01:00
Moritz Dieing
9f30e76484 English translation + inputFieldPlaceholder 2021-02-19 16:19:32 +01:00
Moritz Dieing
318d34216e Open link in new tab 2021-02-19 15:28:17 +01:00
ucrhh
0ecb8be4b6 partially implement let type assumptions 2021-02-19 14:55:02 +01:00
ucrhh
70f8e64423 add translation strings 2021-02-19 14:11:26 +01:00
Moritz Dieing
9c38621c34 Some english strings + layout changes 2021-02-19 13:37:07 +01:00
Moritz Dieing
6fa165b602 Change slide texts 2021-02-19 12:42:46 +01:00
Moritz Dieing
9f8ab35ef1 JavaDoc for new class 2021-02-19 12:37:29 +01:00
Moritz Dieing
bd77f5a62b Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-19 12:31:31 +01:00
Moritz Dieing
ef81ef948f German version of start page 2021-02-19 12:31:23 +01:00
ucrhh
47fd2afcc7 fix parantheses in LatexCreatorTerm 2021-02-19 00:51:52 +01:00
Johanna Stuber
4c502ff437 'English', 'Deutsch' 2021-02-18 17:47:50 +01:00
Moritz Dieing
cf97417299 German: forgot two hyphens 2021-02-17 19:40:51 +01:00
Arne Keller
b2a11617c1 English: less hyphens 2021-02-17 18:10:15 +01:00
Moritz Dieing
f362f7f56a JavaDoc + move examples to bundle 2021-02-17 17:59:24 +01:00
Moritz Dieing
eb33ce11bf Fix pipeline 2021-02-17 17:36:17 +01:00
Moritz Dieing
43af68812e Save button for type assumptions 2021-02-17 17:29:04 +01:00
Moritz Dieing
13d935814d Add hyphens 2021-02-17 17:10:29 +01:00
Arne Keller
a2b4a06e50 Fix share dialog size 2021-02-17 16:36:06 +01:00
Arne Keller
74cd76767a Update translations + fix empty type assumption 2021-02-17 15:43:28 +01:00
Moritz Dieing
49c767bd0f Add typeInfer button to helpDialog 2021-02-16 16:17:02 +01:00
Moritz Dieing
8c77bd62e5 English version of error strings 2021-02-16 15:23:53 +01:00
Moritz Dieing
cee2a964cc Improved error message 2021-02-16 14:53:40 +01:00
Arne Keller
2bbba50ddc Fix Typicalc link 2021-02-16 12:31:15 +01:00
Johanna Stuber
86226f896e FunctionType::constrainEqualToFunction : swap types for newly created constraint -> less confusing 2021-02-15 16:54:21 +01:00
Johanna Stuber
bbf24cae78 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-15 16:42:56 +01:00
Johanna Stuber
8ca72a77e2 typos in operating help, add let example from Übungsblatt 2021-02-15 16:42:45 +01:00
ucrhh
00511cb4d3 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-15 16:14:30 +01:00
ucrhh
9539776e8e remove most outer parentheses in a lambda term 2021-02-15 16:14:10 +01:00
Johanna Stuber
13c746a0b1 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-15 16:10:44 +01:00
Johanna Stuber
0fa1b09190 use SortedSet for quantifiedVariables in TypeAbstraction so instantiation is predictable 2021-02-15 16:07:59 +01:00
ucrhh
9894c13df6 remove solved todo 2021-02-15 15:59:08 +01:00
Moritz Dieing
38c3a61882 Set height and accordion width 2021-02-14 13:57:05 +01:00
Arne Keller
0bb88280b8 Set size only for help dialog 2021-02-14 13:51:08 +01:00
Arne Keller
ed21276f46 Workaround for Vaadin weirdness 2021-02-14 13:13:09 +01:00
Moritz Dieing
b2209bcdaf Set dialog width in java
Css solution did not work when all accordion panels were closed
2021-02-14 12:05:46 +01:00
Arne Keller
5a9903e754 Move style to CSS files 2021-02-13 17:49:29 +01:00
Moritz Dieing
81b74bd92d Use classic drawer toggle
Use classic drawer toggle since its described in help content now.
2021-02-13 15:03:49 +01:00
Moritz Dieing
7357b69373 English version of help content 2021-02-13 14:52:44 +01:00
Moritz Dieing
89eca4f33d German version of help content 2021-02-13 13:31:53 +01:00
Arne Keller
7aacca6941 More type parser tests 2021-02-13 10:31:08 +01:00
Arne Keller
c6eb794049 Focus new type assumption field 2021-02-13 10:31:08 +01:00
ucrhh
0e1c596702 remove spacing around scrollbar 2021-02-13 10:24:48 +01:00
Arne Keller
c49c1c4a23 Fix translation encoding again 2021-02-13 09:51:10 +01:00
Moritz Dieing
288e954f3e Suggestion for design of help dialog 2021-02-13 01:40:58 +01:00
Arne Keller
ecd92c9369 Fix error coloring and translation 2021-02-12 15:29:49 +01:00
ucrhh
c46aee15a1 swap parentheses with curly 2021-02-12 15:23:38 +01:00
ucrhh
36c4e850e6 first 'real' LatexCreatorConstraint test 2021-02-12 14:43:00 +01:00
ucrhh
6cf1de6780 undo error with dollar signs 2021-02-12 14:31:53 +01:00
ucrhh
af16a6bd87 javadoc 2021-02-12 14:08:21 +01:00
ucrhh
6128871223 fix some todos 2021-02-12 13:49:08 +01:00
ucrhh
a8652642fc move unification error to end of unification 2021-02-12 12:40:39 +01:00
ucrhh
dabde5e455 make final type look consistent to Übungsblatt 2021-02-12 12:31:45 +01:00
ucrhh
1d8a01fc02 fix bug where error in unification would cause mathjax not rendering 2021-02-11 22:40:37 +01:00
ucrhh
5265439b62 align unification steps 2021-02-11 22:37:29 +01:00
ucrhh
337a88d8f4 add newly created constraints to other end of constraint list in unification 2021-02-11 21:54:52 +01:00
ucrhh
72ed9bdc32 order constraints and substitutions in unification according to meeting 2021-02-11 21:49:29 +01:00
ucrhh
9851ac61da add more explanation to unification 2021-02-11 21:27:08 +01:00
ucrhh
1cc94a3125 constraints dont disappear during unification 2021-02-11 20:05:26 +01:00
ucrhh
cab3fcc4aa Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-11 15:35:47 +01:00
ucrhh
73802e50fb partial LatexCreatorConstraintsTest 2021-02-11 15:35:37 +01:00
Johanna Stuber
0fdc8d3509 delete accidentally pasted line 2021-02-11 15:20:37 +01:00
Johanna Stuber
ad99cc09b8 fix checkstyle 2021-02-11 15:17:51 +01:00
Johanna Stuber
8351a21f78 visitLet() test; for that add several equals()-methods; return constraints in right order in Tree::getConstraints() 2021-02-11 15:15:49 +01:00
ucrhh
8446bc5a04 fix checkstyle 2021-02-11 14:56:00 +01:00
ucrhh
cfc25ed81f fix little inconsistency 2021-02-11 14:54:09 +01:00
ucrhh
fff1b3a23f remove not needed localeChange(null) calls 2021-02-11 14:43:51 +01:00
ucrhh
47d78be6db styling, add missing translation keys 2021-02-11 14:41:03 +01:00
Arne Keller
970172855e Remove test header 2021-02-11 12:38:03 +01:00
Arne Keller
7878b5fc83 DRY translation setup + Vaadin bug workaround 2021-02-11 12:30:13 +01:00
Arne Keller
a00cd12d2e Fix info dialog close button position 2021-02-11 12:28:32 +01:00
ucrhh
ef071309ec add package-info to LatexCreator package 2021-02-11 11:23:11 +01:00
ucrhh
f614869677 add ConstraintSetIndexFactoryTest 2021-02-11 11:15:42 +01:00
ucrhh
ad4581fffb add LatexCreatorTermTest 2021-02-11 11:00:39 +01:00
Johanna Stuber
367c3be0e1 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-11 10:12:30 +01:00
Johanna Stuber
7e2357f2f2 use LinkedHashMap for typeAssumptions so they appear sorted in the tree 2021-02-11 10:12:17 +01:00
ucrhh
0379cf5db6 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-11 09:51:47 +01:00
ucrhh
e621c764be test TreeNumberGenerator 2021-02-11 09:51:32 +01:00
Johanna Stuber
9966e43759 fix first/last step with let tree; use trash symbol to delete a sinlge typeAssumption 2021-02-11 09:44:08 +01:00
ucrhh
e9b80794b6 move LatexCreator classes into one package 2021-02-11 08:55:16 +01:00
Moritz Dieing
cbd6144ada Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-10 17:27:08 +01:00
Moritz Dieing
2ba52fbae0 Fix lambda button insertion 2021-02-10 17:27:05 +01:00
Arne Keller
503de3ad88 Return unmodifiable list in tree number generator 2021-02-10 16:46:34 +01:00
ucrhh
dd1caafcf6 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-10 16:36:02 +01:00
ucrhh
fe00b5147a disable margin for scroller 2021-02-10 16:35:29 +01:00
Arne Keller
2b237797e8 Fix char addition issue 2021-02-10 16:00:32 +01:00
Arne Keller
c1ce7a9181 Fix type parser bug 2021-02-10 15:01:03 +01:00
Arne Keller
f1fe6fce02 Highlight erroring constraint 2021-02-10 14:48:02 +01:00
Arne Keller
300f9fa02d Remove unused import 2021-02-10 13:26:25 +01:00
Arne Keller
b0638ead8b Add a favicon 2021-02-10 13:24:47 +01:00
Johanna Stuber
3b5d4cf924 correct type grammar 2021-02-10 11:59:00 +01:00
Moritz Dieing
44f862512d Handle multiple type assumptions with same var 2021-02-10 10:11:17 +01:00
Moritz Dieing
23be70b57c More java docs 2021-02-10 09:51:47 +01:00
Arne Keller
3e153dc0d3 Fix checkstyle issue 2021-02-10 08:24:31 +01:00
ucrhh
cadc299791 partly fix issues with failing sub inference 2021-02-09 22:51:54 +01:00
ucrhh
34a727e0c0 add final type to mgu in LatexCreator 2021-02-09 22:19:22 +01:00
ucrhh
363646f6d2 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-09 22:09:57 +01:00
ucrhh
585b402cd7 add border to proof tree 2021-02-09 22:09:34 +01:00
Moritz Dieing
3babfe238d Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-09 21:43:54 +01:00
Moritz Dieing
57ad91423b Some java docs 2021-02-09 21:43:47 +01:00
ucrhh
7db36724ea stop tree animation during unification 2021-02-09 21:40:07 +01:00
ucrhh
28025a25c2 add let constraint to outer constraint set 2021-02-09 17:17:11 +01:00
ucrhh
f49fb3f984 implement prefix for unification and mgu 2021-02-09 16:54:29 +01:00
Arne Keller
985824b3eb Type assumptions in URL 2021-02-08 16:07:56 +01:00
Arne Keller
8ffcac164a Checkstyle issue fix 2021-02-08 09:55:09 +01:00
Arne Keller
22705727cb Misc. adjustments
Properties file was encoded using latin1 again!

The JaCoCo agent should not execute when running the server,
use mvn jacoco:prepare-agent test jacoco:report
when generating test coverage.
2021-02-08 09:52:09 +01:00
Moritz Dieing
b7d5611755 Implement TypeAssumptions (frontend) 2021-02-08 00:54:40 +01:00
ucrhh
03af53b20a partly implement let constraint generation 2021-02-07 12:07:26 +01:00
Arne Keller
4c48c1dca5 Use client JS for latency-sensitive operation 2021-02-06 21:50:22 +01:00
Moritz Dieing
a88efa7cc7 Correct indentation 2021-02-06 21:34:40 +01:00
Moritz Dieing
d8b569c7b0 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-06 21:32:26 +01:00
Moritz Dieing
1d673485f3 Less javascript to restore cursor 2021-02-06 21:28:47 +01:00
Arne Keller
a25bdfe3dd More javadocs + Vaadin routing fixes 2021-02-06 15:57:53 +01:00
Arne Keller
5a2fcaa5ae Restore cursor position after backslash/lambda replacement 2021-02-06 15:07:02 +01:00
ucrhh
94704e8f7f Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-06 13:30:29 +01:00
ucrhh
e34464f641 refactor LatexCreatorConstraints 2021-02-06 13:30:13 +01:00
Moritz Dieing
c42fd73361 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-06 12:09:40 +01:00
Moritz Dieing
619e6da18c Change drawer width + render on language change 2021-02-06 12:06:49 +01:00
ucrhh
b5f114303f removed mjx context menu 2021-02-06 11:50:17 +01:00
ucrhh
648b5f6752 some doc and codestyle 2021-02-06 11:20:26 +01:00
ucrhh
bc30971b86 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-06 10:59:12 +01:00
ucrhh
d24f3b88f7 span mgu over multiple lines 2021-02-06 10:59:04 +01:00
Johanna Stuber
86b40d2683 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-06 10:58:25 +01:00
Johanna Stuber
6fa50cbf31 delete todo and comment, make long example inferrable 2021-02-06 10:58:12 +01:00
Arne Keller
d3fd5b99a8 Set page title to lambda term 2021-02-06 10:57:35 +01:00
Arne Keller
c9512b57d2 Fix display of inference tree after reload 2021-02-06 10:42:02 +01:00
ucrhh
ffac808366 page title set to 'Typicalc' across all pages 2021-02-06 10:37:39 +01:00
ucrhh
09ce138bc2 use constant instead of magic string 2021-02-06 10:33:04 +01:00
ucrhh
a01811936e constraints get generated in correct order 2021-02-06 10:28:58 +01:00
ucrhh
0201efdc9c drawer refreshed on lacaleChange 2021-02-06 10:12:31 +01:00
Moritz Dieing
4c98976059 Extends content of infoDialog 2021-02-05 23:58:19 +01:00
Moritz Dieing
4fc610c75e Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-05 21:39:48 +01:00
Moritz Dieing
2895f84988 Fix and improve languageSelect 2021-02-05 21:39:40 +01:00
Arne Keller
3fb9853cb3 Fix encoding of resource file 2021-02-05 19:18:31 +01:00
Arne Keller
0dc3e47695 Code style 2021-02-05 19:13:03 +01:00
Arne Keller
2b0657cdfc Fix MathJax line length + big example 2021-02-05 19:13:03 +01:00
Moritz Dieing
8f0ca5d2ba Fix JavaDoc 2021-02-05 18:52:31 +01:00
Moritz Dieing
4d44136528 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-05 18:49:13 +01:00
Moritz Dieing
54e0777eab Content for info dialog 2021-02-05 18:48:13 +01:00
Arne Keller
5f2454f2d1 TypeAssumptionsArea class skeleton 2021-02-05 18:14:12 +01:00
Arne Keller
c78d6b9e0a Fix code style issues 2021-02-05 17:22:43 +01:00
Arne Keller
a7f1556fe6 Fix misc. UI issues 2021-02-05 17:02:08 +01:00
ucrhh
927650f475 add url to share dialog 2021-02-05 15:01:06 +01:00
ucrhh
4857bd83d7 add translations to shareDialog 2021-02-05 13:51:42 +01:00
ucrhh
bd72c1e337 implement shareDialog without URL 2021-02-05 13:31:04 +01:00
Johanna Stuber
8d6842043d only allow ascii characters in variable names 2021-02-05 11:27:36 +01:00
Johanna Stuber
2df0107243 make inference rule appearance consistent with tree appearance 2021-02-05 10:28:06 +01:00