Commit Graph

8509 Commits

Author SHA1 Message Date
Krasimir Angelov
edb9ff33c5 another fix for linearizeAll and undefined lins 2022-06-28 18:21:58 +02:00
Krasimir Angelov
5b645ab42f normalForm should also sort the fields in a record type 2022-06-28 14:34:56 +02:00
Krasimir Angelov
42d01578ec added test for an unknown function at the top of an expression 2022-06-24 22:27:39 +02:00
Krasimir Angelov
635dc380a3 handle linref when the argument is an unknown function 2022-06-24 06:31:28 +02:00
Krasimir Angelov
f51f6240b6 remove redundant pattern 2022-06-23 14:53:58 +02:00
Krasimir Angelov
663cca2d06 fix the resolution of linrefs 2022-06-23 14:52:47 +02:00
Krasimir Angelov
44431d6a69 when in server mode reuse the NGF cache in the shell as well 2022-06-23 10:25:16 +02:00
Krasimir Angelov
7544e8dfbc remove duplicated export 2022-06-22 11:29:09 +02:00
Krasimir Angelov
174cc57eb7 restore the FastCGI service and move some files back to src/server 2022-06-22 11:18:56 +02:00
Krasimir Angelov
a8ad145aeb move gf.cabal and all compiler dependent files into src/compiler 2022-06-18 20:42:31 +02:00
Krasimir Angelov
96c8218564 remove left out debug message 2022-06-16 18:21:54 +02:00
Krasimir Angelov
8ac0d881ed the server must checkout the grammar if an .ngf file changes 2022-06-16 18:20:18 +02:00
Krasimir Angelov
ad8a32ce86 safe parsing of "" and '' 2022-06-16 11:22:15 +02:00
Krasimir Angelov
247a48e5bb restore missing case in the JSON instance for BracketedString 2022-05-31 11:38:02 +02:00
Krasimir Angelov
418aa1a2b2 the web server now serves both .pgf and .ngf files 2022-05-31 11:32:02 +02:00
Krasimir Angelov
4c433b6b9d Merge branch 'master' into majestic 2022-05-31 10:20:22 +02:00
Krasimir Angelov
b7672b67a3 adjust the -view command depending on the OS 2022-05-31 10:15:50 +02:00
Krasimir Angelov
03fe38124f Merge branch 'master' into majestic 2022-05-31 08:05:00 +02:00
Krasimir Angelov
e33de168fd use a relative link to WordNet 2022-05-31 07:44:25 +02:00
Krasimir Angelov
18f70b786f first draft for lookupMorpho 2022-05-30 21:16:34 +02:00
Krasimir Angelov
92fbe08f51 small correction 2022-05-29 08:07:35 +02:00
Krasimir Angelov
109f8c86e8 more bugfixes in the allocator 2022-05-28 07:43:56 +02:00
Krasimir Angelov
02e45f478f avoid std::min since it is not available on macOS 2022-05-25 08:13:03 +02:00
Krasimir Angelov
363abce351 small fixes 2022-05-24 14:07:17 +02:00
Krasimir Angelov
eb06ff77bf pgf_clone_concrete must release the old concrete 2022-05-23 20:09:46 +02:00
Krasimir Angelov
fc09bc776b transactions should always start with the last revision and release it when done 2022-05-23 19:50:41 +02:00
Krasimir Angelov
d66cf23811 Revisions now correspond to revision_entry:s in the database. 2022-05-23 13:59:03 +02:00
Krasimir Angelov
a3d73fa658 register_revision must refresh the transaction to the latest 2022-05-23 11:33:47 +02:00
Krasimir Angelov
165de70172 debug messages for revision handling 2022-05-23 11:05:59 +02:00
Krasimir Angelov
31e20ffd84 more debug messages 2022-05-23 10:31:29 +02:00
Krasimir Angelov
e794f46e49 merge set_active_revision() with commit() 2022-05-23 09:58:43 +02:00
Krasimir Angelov
8a7d8ce246 at the end of the transaction the old revision is already released. 2022-05-23 09:52:25 +02:00
Krasimir Angelov
35176cc721 descriptors released in the last transaction are now reused in the next 2022-05-23 09:50:58 +02:00
Krasimir Angelov
9cd5634873 better debugging output in the allocator 2022-05-20 20:21:22 +02:00
Krasimir Angelov
3c1a3fb899 bugfix 2022-05-20 19:49:27 +02:00
Krasimir Angelov
483285e193 bug fixes in the allocator 2022-05-20 17:49:45 +02:00
Krasimir Angelov
f82b0088ed fix for Windows 2022-05-20 16:20:45 +02:00
Krasimir Angelov
37e1707f18 hopefully last attempt 2022-05-20 16:15:45 +02:00
Krasimir Angelov
607b8d6d23 next attempt to fix Windows 2022-05-20 16:08:10 +02:00
Krasimir Angelov
825a43caf2 third fix for Windows 2022-05-20 15:58:21 +02:00
Krasimir Angelov
ddce47270b more Windows fixes 2022-05-20 15:49:23 +02:00
Krasimir Angelov
43ca1079d7 fix the compilation on Windows 2022-05-20 15:40:59 +02:00
Krasimir Angelov
6faaf0b7be update the JavaScript binding 2022-05-20 15:15:13 +02:00
Krasimir Angelov
22d98833f9 fix the compilation on MacOS 2022-05-20 15:09:33 +02:00
Krasimir Angelov
cad564741b bump the base package version 2022-05-20 15:01:31 +02:00
Krasimir Angelov
5594679a83 first draft of the new allocator with transactions support 2022-05-20 13:55:45 +02:00
Inari Listenmaa
fc5b3e9037 Merge pull request #141 from anka-213/hardcode-utf8
Always use UTF8 encoding in the gf executable
2022-05-18 09:46:03 +02:00
Andreas Källberg
9b9905c0b2 Always use UTF8 encoding in the gf executable
This fixes many of the "Invalid character" messages
you can get on different platforms.

This has helped both with a nix-installation that didn't have global
locale set and with a windows installation.
2022-05-18 14:42:01 +08:00
Inari Listenmaa
ec70e4a83e Merge pull request #136 from mengwong/ghc9
compiles with GHC 9.0.2
2022-05-06 03:26:00 +02:00
Inari Listenmaa
e6ade90679 update nightly to latest lts 2022-05-06 08:45:12 +08:00