Commit Graph

8519 Commits

Author SHA1 Message Date
Krasimir Angelov
a66693770c started with lookupCohorts 2022-07-07 14:03:07 +02:00
Krasimir Angelov
c783da51a4 bugfix in lookupMorpho 2022-07-06 19:25:37 +02:00
Krasimir Angelov
c3c1cf2a64 on POSIX systems use mprotect to protect the data from accidental changes 2022-07-05 15:59:06 +02:00
Krasimir Angelov
73d4e326f7 consolidation of free blocks 2022-07-05 13:21:53 +02:00
Krasimir Angelov
96304a52d1 added checks to control compilation with emscripten 2022-07-04 14:26:04 +02:00
Krasimir Angelov
feb9b3373f fix the type cast, to avoid warnings on some platforms 2022-07-04 14:25:17 +02:00
Krasimir Angelov
1862ba5cec Define custom isdigit version. The expression parser now uses the custom isspace and isdigit 2022-07-04 14:24:06 +02:00
Krasimir Angelov
69a2b8a448 second attempt to fix the compilation 2022-06-29 21:48:48 +02:00
Krasimir Angelov
46a9a8f07d fix the compilation on Windows and macOS 2022-06-29 21:40:51 +02:00
Krasimir Angelov
88477a8834 added mutex for single writer exclusion 2022-06-29 16:28:01 +02:00
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