summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-12-08data structures for param values with number, preparing optimized pattern ↵aarne
matching in grammar compilation
2008-12-05Rename PGF Server cabal packages to pgf-server (was gf-server).bjorn
2008-12-05Added more functions to gf-server-jsapi.jsbjorn
2008-12-05Update src/server/simple-client.html and gf-server-jsapi.js to work with ↵bjorn
current pgf server.
2008-12-04fixed a Compute bug due to failure to match typed record values with untyped ↵aarne
record patterns
2008-12-04pgf server: return 1 result for /random without limit argument.bjorn
2008-12-01Remove more unused stuff from GF.Data.Operations.bjorn
2008-12-01Fix URL of delete-last.png in fridge app.bjorn
2008-11-27Remove lots of old unused stuff from GF.Data.Operations.bjorn
2008-11-27More efficient implementation of topological sort. bjorn
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-27Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.bjorn
2008-11-27Remove ununsed GF.Source.SharedString module.bjorn
2008-11-26Don't use string sharing in LexGF.bjorn
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-26My profiling showed that the BinTree operations were responsible for about ↵bjorn
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-26Get 'make prof' working with GHC 6.8bjorn
2008-11-20lighttpd conf tweak.bringert
2008-11-20pgf.fcgi: don't install any signal handlers. Since we didn't look at the ↵bjorn
variable they set, we just created zombies.
2008-11-20gwt: rearragne html files and paths to get nicer URLs.bjorn
2008-11-20Fix permissions of pgf server error log.bjorn
2008-11-20gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This ↵bjorn
helps avoid clashed when running muyltiple gf servers on the same machine.
2008-11-19Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. ↵bringert
Without this, the Binary Word instance would be wrong on 64-bit machines.
2008-11-18restored "?" as system pipe commandaarne
2008-11-18fixed a bug with type checking function typesaarne
2008-11-17Fix in Prolog output of the atom "'"peb
2008-11-11gwt: fix gf-gwt.jar compilation to use the dnd jarbjorn
2008-11-11Frdige: hide magnet bag when empty.bjorn
2008-11-11make food.pgf in src/server from resource-foodsbjorn
2008-11-11Towards better layout of Fridge app.bjorn
2008-11-10print "no trees found" in GF shell if an empty tree list is returned by p or ptaarne
2008-11-10lexer documentation in help and tutorial updatedaarne
2008-11-10updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)aarne
2008-11-09SRG generation: renameCats now gives new names to all cates used in the ↵bjorn
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-09Fixed PGF file overwriting issue reported by Peter, by refusing to overwrite ↵bjorn
any of the input pgf files. Maybe the right fix would be to read the PGF strictly?
2008-11-08Nicer brushed metal background.bjorn
2008-11-07More work on IE 6 bugs.bjorn
2008-11-07Fridge: don't carch on start-up in IE6.bjorn
2008-11-07Added IE6-only testing module for FridgeApp.bjorn
2008-11-06Fridge: Added Delete Last button.bjorn
2008-11-06The PGF GWT module needs to inherit the DnD stuff.bjorn
2008-11-06Fridge: prefix panel layout tweak.bjorn
2008-11-06Fridge: show initial letters in magnet bag when needed.bjorn
2008-11-06Fridge: minor refactoring.bjorn
2008-11-06Fridge: allow clicks in addition to drag and drop. Don't remove magnets when ↵bjorn
dnd-ing.
2008-11-06Use drag and drop in Fridge app.bjorn
2008-11-05Brushed metal look for fridge app.bjorn
2008-11-05Make fridge magnets look more like magnets.bjorn
2008-11-05GWT: big refactoring of the translator and fridge apps.bjorn
2008-11-05distinguished know_VS and know_V2 in Lexicon; patched Italian imperatives ↵aarne
(not quite finished yet)
2008-11-04URL for gwt in README correctedaarne
2008-11-04Get Fridge to compile with changes in Translate.bjorn