krangelov
|
2cbf59d75b
|
fix the include for WINDOWS
|
2021-11-16 17:23:03 +01:00 |
|
krangelov
|
1e3efd9fa4
|
progress on showPGF
|
2021-11-16 16:15:22 +01:00 |
|
krangelov
|
10e26575de
|
started on showPGF
|
2021-11-16 12:07:38 +01:00 |
|
krangelov
|
5649bc1ef0
|
started piping PMCFG rules to the runtime
|
2021-11-16 11:49:02 +01:00 |
|
krangelov
|
db92bcfff6
|
fix for MacOS
|
2021-11-16 09:53:41 +01:00 |
|
krangelov
|
4a62ea02f4
|
destroy the r/w lock if there is no shared file
|
2021-11-16 09:48:50 +01:00 |
|
krangelov
|
c26f3b3cd5
|
an attempt to fix the failure on MacOS
|
2021-11-16 09:36:26 +01:00 |
|
krangelov
|
f5e6c695a7
|
make r/w lock shared only if there is a shared file as well
|
2021-11-16 08:53:22 +01:00 |
|
krangelov
|
c80ef3549c
|
fix error reporting when the r/w lock is created
|
2021-11-16 08:47:07 +01:00 |
|
krangelov
|
58b805606b
|
correct mode for pgf_boot_ngf on WIN32
|
2021-11-16 08:33:50 +01:00 |
|
krangelov
|
e0b93a37e2
|
fix the compilation on Windows again
|
2021-11-15 13:39:47 +01:00 |
|
krangelov
|
c1690ffa77
|
the r/w lock is now in the database itself
|
2021-11-15 13:13:00 +01:00 |
|
krangelov
|
92ecc8cc1d
|
finished porting to Windows
|
2021-11-13 05:40:38 +01:00 |
|
krangelov
|
9804d993e4
|
remove the dependency to pthread on Windows
|
2021-11-10 17:27:45 +01:00 |
|
krangelov
|
68fd5460f4
|
fix cleanup after exceptions in PgfDB::PgfDB
|
2021-11-10 17:10:31 +01:00 |
|
krangelov
|
c806ce2d26
|
minimal changes to make the runtime compilable on Windows
|
2021-11-10 15:52:02 +01:00 |
|
krangelov
|
befb61b0e3
|
first steps towards porting to Windows
|
2021-11-09 19:08:49 +01:00 |
|
krangelov
|
9eb88f9281
|
a number of new API functions for the concrete syntax.
|
2021-11-09 09:16:20 +01:00 |
|
krangelov
|
a4ad17a478
|
pgf_create_lin now has access to the abstract function
|
2021-11-09 08:50:54 +01:00 |
|
krangelov
|
1aacc34deb
|
fix reference counting for concrete revisions
|
2021-11-09 08:02:20 +01:00 |
|
krangelov
|
73b52bf4b5
|
started on pgf_create_lin
|
2021-11-09 02:20:42 +01:00 |
|
krangelov
|
2bed0b708c
|
PgfVector -> Vector
|
2021-11-09 02:10:17 +01:00 |
|
krangelov
|
6552bcf909
|
Unify the data model between the C runtime and the Haskell binding
|
2021-11-09 02:04:36 +01:00 |
|
krangelov
|
b3ef14c39b
|
another fix for MacOS
|
2021-11-08 10:41:09 +01:00 |
|
krangelov
|
d6cf023258
|
reading & writing grammars in the new format
|
2021-11-08 10:39:05 +01:00 |
|
krangelov
|
02b9915d11
|
attempt to fix compilation on Mac
|
2021-11-07 20:22:41 +01:00 |
|
krangelov
|
06b59b1f10
|
fix
|
2021-11-07 19:48:35 +01:00 |
|
krangelov
|
3f261c2854
|
first draft of the data model for the concrete syntax
|
2021-11-07 19:45:11 +01:00 |
|
krangelov
|
e806e94be9
|
fix typo
|
2021-11-04 08:31:31 +01:00 |
|
krangelov
|
547783e50e
|
PgfDB::ref_count must be size_t
|
2021-11-03 11:50:21 +01:00 |
|
krangelov
|
309a16d471
|
reference counting for concrete syntaxes
|
2021-11-03 10:48:20 +01:00 |
|
krangelov
|
611fe95322
|
fix typo
|
2021-10-26 10:28:33 +02:00 |
|
krangelov
|
a607799bb3
|
always unlock the mutex in case of failure
|
2021-10-26 10:22:29 +02:00 |
|
krangelov
|
fd40c204e2
|
more aggressive cleanup for dead processes
|
2021-10-26 10:14:16 +02:00 |
|
krangelov
|
00ba552026
|
ipc_release_file_rwlock should not assume that the file exists
|
2021-10-26 09:35:56 +02:00 |
|
krangelov
|
157574763f
|
now we use inter-process locking
|
2021-10-25 19:14:25 +02:00 |
|
krangelov
|
d061403ba2
|
fix typo in the comment
|
2021-10-25 18:21:20 +02:00 |
|
krangelov
|
204e645616
|
update ipc.h
|
2021-10-25 15:52:32 +02:00 |
|
krangelov
|
186b151a90
|
rewrite ipc.cxx to support dynamic allocation of rwlocks
|
2021-10-25 15:51:06 +02:00 |
|
krangelov
|
1413c273cc
|
API for adding concrete syntaxes. Garbage collection to be fixed!
|
2021-10-21 19:18:14 +02:00 |
|
John J. Camilleri
|
ac93f2dd10
|
Don't call msync in PgfDB::sync on macOS
|
2021-10-18 13:54:13 +02:00 |
|
John J. Camilleri
|
c9b668a583
|
Fix compilation with macOS mmap/malloc workaround. Add Python (macOS) to CI.
|
2021-10-15 17:34:19 +02:00 |
|
John J. Camilleri
|
8cd0bb5ec1
|
Use malloc/realloc on macOS when fd < 0... but doesn't compile
|
2021-10-15 15:24:15 +02:00 |
|
krangelov
|
45ee985fda
|
safe error reporting in case of mmap failure
|
2021-10-13 21:33:55 +02:00 |
|
John J. Camilleri
|
2686e63e58
|
Use memcpy instead of strcpy
|
2021-10-13 14:56:42 +02:00 |
|
John J. Camilleri
|
3bdfe1a336
|
Minor cleanup
|
2021-10-12 23:27:49 +02:00 |
|
krangelov
|
2a5434df96
|
avoid using the wildcard constant
|
2021-10-12 19:07:21 +02:00 |
|
krangelov
|
a2e7d20b7a
|
avoid using EOF in the expression parser
|
2021-10-12 18:47:04 +02:00 |
|
John J. Camilleri
|
ead1160a75
|
More changes to compile on macOS (incomplete)
|
2021-10-12 15:29:29 +02:00 |
|
John J. Camilleri
|
1401a6d209
|
Fix (most) macOS compilation problems
|
2021-10-12 10:46:39 +02:00 |
|