bjorn
5ce5a3403b
Remove more unused stuff from GF.Data.Operations.
2008-12-01 21:33:53 +00:00
bjorn
09845dc0b4
Fix URL of delete-last.png in fridge app.
2008-12-01 20:45:07 +00:00
bjorn
acea90a252
Remove lots of old unused stuff from GF.Data.Operations.
2008-11-27 10:55:24 +00:00
bjorn
f6cf10e655
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
210089b6c8
Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.
2008-11-27 08:43:08 +00:00
bjorn
0619824fa3
Remove ununsed GF.Source.SharedString module.
2008-11-27 08:36:18 +00:00
bjorn
832f25fc2a
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
499d6ade49
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
22269d277e
Get 'make prof' working with GHC 6.8
2008-11-26 14:56:46 +00:00
bringert
fee1483bd8
lighttpd conf tweak.
2008-11-20 16:49:12 +00:00
bjorn
de09e64892
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
1203d31d77
gwt: rearragne html files and paths to get nicer URLs.
2008-11-20 14:06:06 +00:00
bjorn
dd58077add
Fix permissions of pgf server error log.
2008-11-20 09:52:18 +00:00
bjorn
7181e8540a
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
d6acf9ac89
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
cad49a225d
restored "?" as system pipe command
2008-11-18 15:31:30 +00:00
aarne
65aefea2d6
fixed a bug with type checking function types
2008-11-18 10:58:50 +00:00
peb
fae330f733
Fix in Prolog output of the atom "'"
2008-11-17 13:33:53 +00:00
bjorn
0992b8507b
gwt: fix gf-gwt.jar compilation to use the dnd jar
2008-11-11 22:13:12 +00:00
bjorn
edbe6c9edc
Frdige: hide magnet bag when empty.
2008-11-11 12:44:59 +00:00
bjorn
ec301fea5e
make food.pgf in src/server from resource-foods
2008-11-11 12:26:00 +00:00
bjorn
723e5e9dd6
Towards better layout of Fridge app.
2008-11-11 11:00:33 +00:00
aarne
0d6b1081ff
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
79ef938590
lexer documentation in help and tutorial updated
2008-11-10 15:53:38 +00:00
aarne
87c6bebf29
updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)
2008-11-10 10:59:13 +00:00
bjorn
eedd209458
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
9dbb65055d
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
526d8409bd
Nicer brushed metal background.
2008-11-08 20:09:24 +00:00
bjorn
e9dc470dcc
More work on IE 6 bugs.
2008-11-07 09:55:56 +00:00
bjorn
bc5f5e9413
Fridge: don't carch on start-up in IE6.
2008-11-07 09:07:58 +00:00
bjorn
ea0af09cbb
Added IE6-only testing module for FridgeApp.
2008-11-07 08:56:19 +00:00
bjorn
076a5167d0
Fridge: Added Delete Last button.
2008-11-06 14:31:06 +00:00
bjorn
6578905ddc
The PGF GWT module needs to inherit the DnD stuff.
2008-11-06 14:24:38 +00:00
bjorn
f686fd3e2f
Fridge: prefix panel layout tweak.
2008-11-06 14:13:24 +00:00
bjorn
4b5a88e6aa
Fridge: show initial letters in magnet bag when needed.
2008-11-06 14:11:32 +00:00
bjorn
599fa7dd55
Fridge: minor refactoring.
2008-11-06 13:47:40 +00:00
bjorn
66d46369be
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
95e637b845
Use drag and drop in Fridge app.
2008-11-06 10:15:38 +00:00
bjorn
d0a3b7e78e
Brushed metal look for fridge app.
2008-11-05 21:03:23 +00:00
bjorn
a1c8dc8ece
Make fridge magnets look more like magnets.
2008-11-05 16:47:52 +00:00
bjorn
294309f2e0
GWT: big refactoring of the translator and fridge apps.
2008-11-05 16:36:52 +00:00
aarne
cfce955aa8
distinguished know_VS and know_V2 in Lexicon; patched Italian imperatives (not quite finished yet)
2008-11-05 10:22:09 +00:00
aarne
59e418f77b
URL for gwt in README corrected
2008-11-04 15:23:25 +00:00
bjorn
408d4122f6
Get Fridge to compile with changes in Translate.
2008-11-04 14:12:37 +00:00
bjorn
2a567a6891
Forgotten record in src/server/Makefile.
2008-11-04 13:57:27 +00:00
bjorn
9b4d4cc13f
Added GWT compile instructions to src/server/README.
2008-11-04 13:32:44 +00:00
bjorn
e4552a97db
GWT: changed input na doutput language boxes to not pretend that they allow multiple selections.
2008-11-04 10:44:23 +00:00
bjorn
76b8d37824
pgf-server: write stderr to pgf-error.log, since lighttpd closes stderr for fastcgi processes.
2008-11-04 09:28:21 +00:00
bjorn
1684db98ea
Use next-lib when building example PGFs in src/server
2008-11-04 09:10:50 +00:00
bjorn
75c5c52179
Added /random to pgf-server.
2008-11-04 09:09:22 +00:00