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 |
|
krangelov
|
3c5741c846
|
fix in str_char
|
2021-10-05 13:36:21 +02:00 |
|
krangelov
|
e6960e30f6
|
fix the estimation of the character size in PgfExprParser::putc
|
2021-10-01 12:22:15 +02:00 |
|
krangelov
|
c21627950a
|
remove the accidentally added debug messages
|
2021-10-01 12:01:05 +02:00 |
|
krangelov
|
0708f6e0cc
|
when at EOF don't try to read further
|
2021-10-01 11:57:31 +02:00 |
|
krangelov
|
67f83ebf8a
|
don't add_ref if the revision doesn't exist
|
2021-09-28 11:12:12 +02:00 |
|
krangelov
|
9863f32d05
|
fix a memory leak
|
2021-09-28 09:53:40 +02:00 |
|
krangelov
|
2b725861fb
|
mark 10000000000000000000 as UL
|
2021-09-27 19:47:24 +02:00 |
|
krangelov
|
38de1bf924
|
pgf_category_prob should return INFINITY for non-existant categories
|
2021-09-27 14:11:52 +02:00 |
|
krangelov
|
bdd84f10f9
|
got started on inter-process communication
|
2021-09-24 11:25:58 +02:00 |
|
krangelov
|
dd65f9f365
|
a better way to handle double releases
|
2021-09-22 13:44:03 +02:00 |
|
krangelov
|
e11e775a96
|
merge pgf_free and pgf_free_revision since otherwise we cannot control the finalizers in Haskell
|
2021-09-22 13:21:07 +02:00 |
|
krangelov
|
58b8c2771e
|
fix double release for stable pointers
|
2021-09-22 11:16:29 +02:00 |
|
krangelov
|
be43b0ba35
|
fix variable type
|
2021-09-22 11:03:16 +02:00 |
|
krangelov
|
1d1d1aad81
|
small optimization
|
2021-09-22 11:02:45 +02:00 |
|
krangelov
|
432bc26b23
|
bugfix in PgfExprProbEstimator
|
2021-09-22 07:35:07 +02:00 |
|
krangelov
|
e41feae82a
|
database synchronization only on commit
|
2021-09-17 16:43:54 +02:00 |
|
krangelov
|
2e30c7f6cb
|
bugfix
|
2021-09-17 12:01:14 +02:00 |
|
krangelov
|
3f31d86d0d
|
errno is not set for FILE I/O so we do our best
|
2021-09-17 10:06:11 +02:00 |
|
krangelov
|
b408650125
|
createFunction now takes arity as argument
|
2021-09-16 11:04:45 +02:00 |
|
krangelov
|
a79fff548d
|
readNGF now fails if the file doesn't exist. Instead there is newNGF
|
2021-09-16 10:34:51 +02:00 |
|
krangelov
|
e00be98ac6
|
added writePGF
|
2021-09-15 19:58:42 +02:00 |
|
krangelov
|
c6d6914688
|
switch to using FILE * in the reader
|
2021-09-15 08:06:18 +02:00 |
|
krangelov
|
9fe6ee3cce
|
bugfixes for showContext & showType
|
2021-09-14 19:54:38 +02:00 |
|
krangelov
|
a7bf47cb87
|
added showContext
|
2021-09-14 19:10:01 +02:00 |
|
krangelov
|
e82fb7f32f
|
added exprProbability
|
2021-09-14 17:33:22 +02:00 |
|
krangelov
|
22f62be511
|
added PGF(pIdent,pExpr)
|
2021-09-14 09:34:00 +02:00 |
|
krangelov
|
6cb4bef521
|
added API for accessing flags
|
2021-09-12 12:57:45 +02:00 |
|
krangelov
|
f1e1564228
|
the reader now controls the PGF version
|
2021-09-12 08:26:05 +02:00 |
|
krangelov
|
a7f00a4e84
|
detect and report an attempt to load non .ngf file in readNGF
|
2021-09-12 08:11:10 +02:00 |
|