aarne
d925bb35c1
Editor with some commands, using PGF API, with demo shell in exper/EditShell; still buggy
2008-12-09 14:52:12 +00:00
aarne
a6097ccee6
started PGF editor
2008-12-08 17:15:36 +00:00
aarne
e009048e08
removed dependencies of Zipper and editor in GF grammar compiler
2008-12-08 14:25:11 +00:00
aarne
75ecc5f97b
preperations for Val of params
2008-12-08 12:49:03 +00:00
aarne
de8bea8d69
data structures for param values with number, preparing optimized pattern matching in grammar compilation
2008-12-08 07:15:19 +00:00
bjorn
498466f8b2
Rename PGF Server cabal packages to pgf-server (was gf-server).
2008-12-05 19:10:51 +00:00
bjorn
934a5fc120
Added more functions to gf-server-jsapi.js
2008-12-05 19:08:58 +00:00
bjorn
91cc5f44c6
Update src/server/simple-client.html and gf-server-jsapi.js to work with current pgf server.
2008-12-05 19:00:20 +00:00
aarne
d38f56b025
fixed a Compute bug due to failure to match typed record values with untyped record patterns
2008-12-04 17:02:24 +00:00
bjorn
e0572650b3
pgf server: return 1 result for /random without limit argument.
2008-12-04 13:54:43 +00:00
bjorn
b8893fc0b5
Remove more unused stuff from GF.Data.Operations.
2008-12-01 21:33:53 +00:00
bjorn
6728ef2dcf
Fix URL of delete-last.png in fridge app.
2008-12-01 20:45:07 +00:00
bjorn
f50c4270ad
Remove lots of old unused stuff from GF.Data.Operations.
2008-11-27 10:55:24 +00:00
bjorn
1145aefdbb
More efficient implementation of topological sort.
...
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27 10:29:29 +00:00
bjorn
a4e731cc33
Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.
2008-11-27 08:43:08 +00:00
bjorn
a4f0d4f0d7
Remove ununsed GF.Source.SharedString module.
2008-11-27 08:36:18 +00:00
bjorn
720932d751
Don't use string sharing in LexGF.
...
Profiling showed that when loading a large .gfo file, shareString was responsible for
15-18% of the CPU time, and a lot of the allocation. Since we already use ByteStrings for
reading the source files, shareString mostly has the effect of creating lots
of small ByteStrings instead of one large one. Since the plain size of the .gfo is seldom
a problem (unlike when it was read as a String), it is ok to keep the whole file
as one ByteString in RAM, and have all tokens point into that.
Profiling after the change showed 15-20% reduction in CPU time and in total allocation.
2008-11-26 16:19:54 +00:00
bjorn
5dee98234e
My profiling showed that the BinTree operations were responsible for about 60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time.
2008-11-26 15:44:22 +00:00
bjorn
260e13146e
Get 'make prof' working with GHC 6.8
2008-11-26 14:56:46 +00:00
bringert
289618b81f
lighttpd conf tweak.
2008-11-20 16:49:12 +00:00
bjorn
93ab59dd58
pgf.fcgi: don't install any signal handlers. Since we didn't look at the variable they set, we just created zombies.
2008-11-20 15:00:53 +00:00
bjorn
b56a06fdda
gwt: rearragne html files and paths to get nicer URLs.
2008-11-20 14:06:06 +00:00
bjorn
7dbaae50a9
Fix permissions of pgf server error log.
2008-11-20 09:52:18 +00:00
bjorn
3195979031
gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This helps avoid clashed when running muyltiple gf servers on the same machine.
2008-11-20 08:56:17 +00:00
bringert
9167185d21
Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines.
2008-11-19 20:30:57 +00:00
aarne
288ffd290a
restored "?" as system pipe command
2008-11-18 15:31:30 +00:00
aarne
f1a68a3ca6
fixed a bug with type checking function types
2008-11-18 10:58:50 +00:00
peb
7babe205e8
Fix in Prolog output of the atom "'"
2008-11-17 13:33:53 +00:00
bjorn
bc7cb25a09
gwt: fix gf-gwt.jar compilation to use the dnd jar
2008-11-11 22:13:12 +00:00
bjorn
1a6d90ff66
Frdige: hide magnet bag when empty.
2008-11-11 12:44:59 +00:00
bjorn
a9d870d76a
make food.pgf in src/server from resource-foods
2008-11-11 12:26:00 +00:00
bjorn
18e80ce5de
Towards better layout of Fridge app.
2008-11-11 11:00:33 +00:00
aarne
ca59050abc
print "no trees found" in GF shell if an empty tree list is returned by p or pt
2008-11-10 16:23:09 +00:00
aarne
d9ff5aa48c
lexer documentation in help and tutorial updated
2008-11-10 15:53:38 +00:00
aarne
7e82e4a710
updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)
2008-11-10 10:59:13 +00:00
bjorn
c6968b626c
SRG generation: renameCats now gives new names to all cates used in the grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called.
2008-11-09 14:27:34 +00:00
bjorn
a24fab7873
Fixed PGF file overwriting issue reported by Peter, by refusing to overwrite any of the input pgf files. Maybe the right fix would be to read the PGF strictly?
2008-11-09 13:58:28 +00:00
bjorn
d9ef4d7e01
Nicer brushed metal background.
2008-11-08 20:09:24 +00:00
bjorn
e2de6a8555
More work on IE 6 bugs.
2008-11-07 09:55:56 +00:00
bjorn
818d9bc122
Fridge: don't carch on start-up in IE6.
2008-11-07 09:07:58 +00:00
bjorn
1ab8dbbd6a
Added IE6-only testing module for FridgeApp.
2008-11-07 08:56:19 +00:00
bjorn
654f0b968f
Fridge: Added Delete Last button.
2008-11-06 14:31:06 +00:00
bjorn
0d29ad9a6a
The PGF GWT module needs to inherit the DnD stuff.
2008-11-06 14:24:38 +00:00
bjorn
f866b07f68
Fridge: prefix panel layout tweak.
2008-11-06 14:13:24 +00:00
bjorn
14ea149c7f
Fridge: show initial letters in magnet bag when needed.
2008-11-06 14:11:32 +00:00
bjorn
68ee5c15a1
Fridge: minor refactoring.
2008-11-06 13:47:40 +00:00
bjorn
637bdfdb93
Fridge: allow clicks in addition to drag and drop. Don't remove magnets when dnd-ing.
2008-11-06 13:42:16 +00:00
bjorn
58bd23759f
Use drag and drop in Fridge app.
2008-11-06 10:15:38 +00:00
bjorn
3f092a5c7a
Brushed metal look for fridge app.
2008-11-05 21:03:23 +00:00
bjorn
5f78c8fa67
Make fridge magnets look more like magnets.
2008-11-05 16:47:52 +00:00