Commit Graph

681 Commits

Author SHA1 Message Date
ucrhh
d6a99cc869 make shortcut look in help dialog consistent 2021-03-10 23:29:40 +01:00
Moritz Dieing
9ee9025d92 Remove unused import 2021-03-10 20:47:45 +01:00
Moritz Dieing
d1eccc7ec5 Fix mistake 2021-03-10 20:46:13 +01:00
Moritz Dieing
1f1db955d3 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-10 20:41:50 +01:00
Moritz Dieing
2d6b33190c Handle empty type assumptions 2021-03-10 20:41:40 +01:00
Johanna Stuber
15359675ed Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-10 19:39:04 +01:00
Johanna Stuber
47aa006655 highlight new constraints in unification 2021-03-10 19:38:51 +01:00
Arne Keller
ce01676a42 Convert frontend scripts to TypeScript 2021-03-10 18:39:41 +01:00
Arne Keller
a43dad53a6 Optimize frontend calls 2021-03-10 18:04:32 +01:00
Arne Keller
5a1aaa8408 Fix NPE in TypeInferenceView 2021-03-10 17:09:20 +01:00
Arne Keller
3a0ee669d4 Cleanup 2021-03-10 16:49:35 +01:00
Arne Keller
7396fc2158 Result javadocs 2021-03-10 16:20:25 +01:00
Arne Keller
4c0eb78300 Limit memory usage of LatexCreatorType 2021-03-10 16:07:52 +01:00
uogau
ee1847358d TypeAssumptions close button now only works when type assumptions are correct 2021-03-10 14:58:33 +01:00
Arne Keller
86496440ed WIP: convert drawer to normal element 2021-03-10 10:40:21 +01:00
uogau
232a5e21af Fixed some SonarLint complaints in Model 2021-03-09 23:00:08 +01:00
Arne Keller
5c49e03ba0 Focus input automatically 2021-03-09 14:34:15 +01:00
Arne Keller
a4224f4263 Codestyle TypeAssumptionParser 2021-03-09 14:32:27 +01:00
Arne Keller
9c8897d436 Re-focus input bar on syntax error 2021-03-08 20:47:39 +01:00
Arne Keller
cd5213a929 Code style misc. classes 2021-03-08 20:38:26 +01:00
Arne Keller
081e3e188b Fix touch interaction with proof tree 2021-03-08 12:42:32 +01:00
Arne Keller
1b642e84f9 Code style in util and parser 2021-03-08 11:40:05 +01:00
Arne Keller
8d6782793e URL-encode spaces in share link 2021-03-08 11:04:30 +01:00
Arne Keller
3f07a6d234 Fuzzing setup + documentation 2021-03-08 10:53:59 +01:00
uogau
edd7d89e9c fixed checkstyle 2021-03-08 01:39:19 +01:00
uogau
dc4aaeda0a set share dialog text fields to read only 2021-03-08 01:36:43 +01:00
Johanna Stuber
77e565426a Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 22:20:38 +01:00
Johanna Stuber
5b86874e0c new line after each 10 constraints 2021-03-07 22:20:18 +01:00
Arne Keller
ac932a6e0c Fix page title not updating 2021-03-07 21:31:50 +01:00
Arne Keller
c5d146a137 Move styling into CSS 2021-03-07 20:24:57 +01:00
Moritz Dieing
815b1f0bd9 Fix pipeline 2021-03-07 17:20:08 +01:00
Moritz Dieing
92c694b847 Improved type assumptions 2021-03-07 17:09:19 +01:00
Moritz Dieing
8f8b9e967d Use client value for the algorithm 2021-03-07 14:17:21 +01:00
Johanna Stuber
7a28facd83 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 13:44:19 +01:00
Johanna Stuber
69ab9b6050 code style in view, typos in translation_de 2021-03-07 13:44:07 +01:00
Moritz Dieing
5c11d160d1 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 13:03:43 +01:00
Moritz Dieing
e06041bfcb Autoselect for ShareDialog 2021-03-07 13:03:35 +01:00
ucrhh
b635a9c5c6 make control panel on startpage fixed in position 2021-03-07 13:02:09 +01:00
ucrhh
43d1a80242 fix some warnings 2021-03-07 11:51:46 +01:00
ucrhh
85bf7df675 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-07 11:19:04 +01:00
ucrhh
cd20ce023e refresh unification error message on localeChange 2021-03-07 11:18:52 +01:00
Arne Keller
aeecea7577 Resolve TODO in LatexCreator 2021-03-07 11:15:37 +01:00
Arne Keller
7b3f412dd8 Move help style to CSS 2021-03-07 11:15:37 +01:00
ucrhh
05885a4e6e remove old todos 2021-03-07 10:33:34 +01:00
Johanna Stuber
907f766166 merge 2021-03-06 22:19:22 +01:00
Johanna Stuber
40a04d4646 add inference view features paragraph in help dialogue 2021-03-06 22:14:23 +01:00
Arne Keller
de8b2c0fe3 Set pattern attribute of field, show error border 2021-03-06 21:46:53 +01:00
Arne Keller
251d7a3fc2 Attach character + position to some errors 2021-03-06 20:39:10 +01:00
Johanna Stuber
b03d33a91c add typiclacInfo 2021-03-06 18:56:35 +01:00
Arne Keller
a176d299ce Only accept ASCII characters in type assumption name 2021-03-06 13:44:02 +01:00
ucrhh
c7c313650c fix bug where error texts would not change on localeChangeEvent 2021-03-05 22:18:23 +01:00
ucrhh
b7e519151c fix typo 2021-03-05 22:09:24 +01:00
ucrhh
06e6135a3b change error notification to error page 2021-03-05 22:05:24 +01:00
ucrhh
db14a72783 fix typos 2021-03-05 21:04:38 +01:00
ucrhh
098a358a0d Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 20:42:49 +01:00
ucrhh
e658060fd1 fix that examples are now visualized on click 2021-03-05 20:42:26 +01:00
Johanna Stuber
4c00af9007 fix exportLatexWithAssumptions test (failed due to icons that are now buttons) 2021-03-05 18:16:23 +01:00
Moritz Dieing
3fd5de7611 Better hover for buttons 2021-03-05 17:44:37 +01:00
Moritz Dieing
ca2b3ac934 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 17:11:23 +01:00
Moritz Dieing
d3abb4f10c Add title attribute to buttons 2021-03-05 17:11:14 +01:00
Johanna Stuber
a4f3b38a10 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-03-05 16:56:45 +01:00
Johanna Stuber
c2de56a29a add amsmath to needed packages 2021-03-05 16:56:23 +01:00
ucrhh
f1df0fee45 merge 2021-03-05 16:21:04 +01:00
ucrhh
26d10ce0cb add shortcut panel 2021-03-05 16:16:38 +01:00
Arne Keller
a442f5caf5 Fix checkstyle issue 2021-03-05 15:51:01 +01:00
Arne Keller
a6856d1252 Fancy key shortcut characters 2021-03-05 15:47:27 +01:00
ucrhh
e724aedebd add shortcuts demo 2021-03-05 14:21:50 +01:00
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
bd5f0eeefa Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-27 23:02:03 +01:00
Johanna Stuber
c2475d4983 Szenario mit Permlaink IT 2021-02-27 23:01:53 +01:00
ucrhh
6c291ce271 add scenario1 test 2021-02-27 22:19:55 +01:00
Moritz Dieing
b058ee037c Integration test: latex export + type assumptions 2021-02-27 15:40:15 +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
862fc87393 OnlyConclusionStepTest 2021-02-24 22:47:37 +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
Moritz Dieing
3283d566f3 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-20 00:33:58 +01:00
Moritz Dieing
cb28b00ca3 JavaDoc for IT classes 2021-02-20 00:32:33 +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
32dd59ef28 fix test 2021-02-15 16:16:19 +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
e12d09448b remove bad tests 2021-02-15 16:07:43 +01:00
ucrhh
9894c13df6 remove solved todo 2021-02-15 15:59:08 +01:00
Johanna Stuber
a76b1b3c8d add TypeInfererTest 2021-02-15 15:24:07 +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
fa9c1bd0eb Full ModelImpl test 2021-02-12 19:59:51 +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
9a0cb57250 second LatexCreatorConstraints test 2021-02-12 15:18:16 +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
0fa40e7837 fix tests 2021-02-11 23:06:13 +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
e85b39c93e Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-11 20:05:52 +01:00
ucrhh
1cc94a3125 constraints dont disappear during unification 2021-02-11 20:05:26 +01:00
Johanna Stuber
398d0b2e42 Merge branch 'master' of https://git.scc.kit.edu/pse-typinferenz/typicalc 2021-02-11 16:33:28 +01:00
Johanna Stuber
03bf906e92 add several equals() tests 2021-02-11 16:33:10 +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