Commit Graph
100 Commits
Author SHA1 Message Date
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
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 4e921573f4 Symbolic.symb: overload versions with Quant instead of Det. 2008-11-07 16:15:53 +00:00
bjorn f0eed5cd69 Added variants of Symbolic.symb that take Numeral instead of Card. 2008-11-07 14:30:32 +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
bjorn 29ad828b9d GWT: big refactoring of the translator and fridge apps. 2008-11-05 16:36:52 +00:00
bjorn cf079aa6e4 Get Fridge to compile with changes in Translate. 2008-11-04 14:12:37 +00:00
bjorn 13042d7dac Forgotten record in src/server/Makefile. 2008-11-04 13:57:27 +00:00
bjorn 84aebb8ab8 Added GWT compile instructions to src/server/README. 2008-11-04 13:32:44 +00:00
bjorn c5bc06c36d GWT: changed input na doutput language boxes to not pretend that they allow multiple selections. 2008-11-04 10:44:23 +00:00
bjorn f1fcee964f pgf-server: write stderr to pgf-error.log, since lighttpd closes stderr for fastcgi processes. 2008-11-04 09:28:21 +00:00
bjorn a6905d654d Use next-lib when building example PGFs in src/server 2008-11-04 09:10:50 +00:00
bjorn 748c695009 Added /random to pgf-server. 2008-11-04 09:09:22 +00:00
bjorn 3a6466ac1a Fix GWT client-side completion caching bug. Typing a space and then a letter quickly would cause the first request to be cancelled, and the second would use the two steps old results, which didn't go past the space => 0 completions. 2008-11-03 21:07:53 +00:00
bjorn bf50b5d70d Added first version of the fridge poetry gui 2008-11-03 16:43:47 +00:00
bjorn 07a0e8fe86 gf-server: complete noew sorts case-insensitive 2008-11-03 16:43:19 +00:00
bjorn ed05fc771c GWT: Refactor TranslateApp to make the suggestion panel and the settings panel separate classes. This makes it possible to reuse them in mosg and fridge. 2008-11-03 14:42:49 +00:00
bjorn 770135af5f ParseEng: more liberal IdRP 2008-11-03 13:00:35 +00:00
bjorn dfd2adad09 Added 'parse' target to Make.hs. 2008-11-03 12:29:28 +00:00
bjorn 759d648de9 ParseEng: StrandRelSlash as variant of RelSlash. 2008-11-03 12:28:40 +00:00
bjorn 88fa05749b ParseEng: ise CompleBareVS as variant of ComplVS 2008-10-31 11:04:22 +00:00
bjorn 5f59b091a0 Use BigLexEng in ParseEng. 2008-10-31 10:58:21 +00:00
bjorn 531cdf355d BigLexEng: use mkV3 instead of dirdirV3 2008-10-31 10:54:39 +00:00
bjorn ef19c479a2 BigLexEng: drop superfluous parantheses. 2008-10-31 10:51:33 +00:00
bjorn ddcd92d8fe BigLexEng: better use of mkV3, mkV2, mkN2. 2008-10-31 10:47:28 +00:00
bjorn d5b8e459ba ParadigmsEng: more versions of mkV2 and mkV3. 2008-10-31 10:43:13 +00:00
bjorn 229f2569dc BigLexEng: Get rid of the last mkV2 with empty second argument. 2008-10-31 10:34:59 +00:00
bjorn b3e4bf7a36 igLexEng: Use mkV2 : Str -> V2 instead of mkV2 (mkV "...") 2008-10-31 10:32:47 +00:00
bjorn 026086c1e9 BigLexEng: Use one-argument mkV2 instead of two-argument one with empty prep. 2008-10-31 10:28:54 +00:00
bjorn 03d687fad3 Update BigLexEng to use overloaded paradigms. 2008-10-31 10:26:17 +00:00
bjorn c14baecf51 ParadigmsEng: more overloaded version of mkA2, mkV2, mkV3, mkN2. Added mkSubj. 2008-10-31 10:19:44 +00:00
bjorn b4a433bd31 LexiconEng: Lexicon.sister_N is N, not N2 (but it probably should be). 2008-10-31 10:05:59 +00:00
bjorn f33d9e169c Added BigLexEng from mosg (originally from GF/example) to next-lib/parsing. 2008-10-31 09:26:38 +00:00
bjorn 6fcfe5d7b7 Added Pol argument to ExtraEng.Unc* to give them the same signatures as the standard (contracted) versions. This makes it easier to use Unc* as a variant without getting meta-variables when parsing, 2008-10-31 09:22:09 +00:00
bjorn 09177428d3 Started working on a parsing grammar. English-only so far. 2008-10-30 16:53:26 +00:00
bjorn e64d5a8bb0 Removed "that" variant in RelativeEng.IdRP. Added instead that_RP in ExtraEng[Abs]. 2008-10-30 15:06:34 +00:00
bjorn bed2d9068e More English morphology clean-up. 2008-10-30 14:37:54 +00:00
bjorn 9e26b4f852 Remove lots of dead code from MorphoEng. 2008-10-30 14:21:46 +00:00
bjorn a726630bb7 Added case parameter for stand-alone forms of determiners. I had to move mkPron from ResEng to MorphoEng, and mkQuant from StructuralEng to MorphoEng. I also removed the unused mkPronoun stuff from MorphoEng. 2008-10-30 14:09:27 +00:00
bjorn d4d94f6c23 Towards cleaner english morphology: use mkPrep instead of ss in StructuralEng. 2008-10-30 14:08:21 +00:00
bjorn 0486f4cd37 Removed some unused (and strange) code from MorphoEng.
Why would you want a function that always returns the noun "dog"?
2008-10-30 13:10:29 +00:00
bjorn 5e711e7abc Include .gf file name in source parsing syntax error message. 2008-10-30 10:49:23 +00:00
bjorn 0c7ac1cc6f GWT lib and translator: added support for multiple pgf files. 2008-10-30 09:19:58 +00:00
bjorn 7c3021c2da gf-server: added a way to list the available pgf files 2008-10-29 20:45:18 +00:00
bjorn 55efa546a9 Rename MainFastCGI.hs to PGFService.hs. 2008-10-29 19:49:38 +00:00
bjorn 553d323495 GWT translator: fixed copy-paste bug where the from language was sent as both from and to language. 2008-10-29 14:30:20 +00:00
bjorn 856d401337 Changed UncNegX in ExtraEng to take a Temp rather than Tense and Ant arguments. 2008-10-29 13:27:04 +00:00
bjorn 03fb2af472 Remove superfluous RP argument to EmptyRelSlash. 2008-10-29 13:06:03 +00:00
bjorn 97e1f27a0c Replace PGF.Raw with PGF.Binary in the executable section of GF.cabal 2008-10-29 09:46:46 +00:00
bjorn 8e43cfb8a8 GWT: better heuristics for when to ask the server for completions. 2008-10-28 12:59:00 +00:00
bjorn 1a34a24df0 GWT completion: only return request.getLimit() results to the SuggestBox. Re-request completions from the server if there is only one completion. 2008-10-28 12:37:52 +00:00
bjorn 50b2b453f3 Changed PGF.complete to include the given input if it can be parsed as a complete tree. 2008-10-28 12:28:46 +00:00
bjorn 8de7fa2678 GWT: Hold on to the previous suggestions, and try filtering them before asking the server. 2008-10-27 21:51:54 +00:00
bjorn 9457ebe0c3 GWT: added IterableJsArray.isEmpty(). 2008-10-27 10:18:21 +00:00
bjorn 4cd3d6395b GWT: hide stale suggestions. 2008-10-24 14:22:19 +00:00
bjorn d5678ee2de GWT code import tweak. 2008-10-24 14:00:24 +00:00
bjorn a2503e3b0f More GWT refactoring. 2008-10-24 08:45:34 +00:00
bjorn edaf206383 Added Eclipse project stuff for the GWT library. Some refactoring of the GWT code. 2008-10-23 11:51:52 +00:00
bjorn 8872b0b010 Added PGF.parse method to GWT client. 2008-10-22 19:59:43 +00:00
bjorn 7c914d39cb Some refactoring of the GWT translator. 2008-10-22 19:37:57 +00:00
bjorn 7a2ef0bb09 Make GWT compilation easier. 2008-10-22 13:29:57 +00:00
bjorn 245e1b3300 Remove compiled GWT stuff. 2008-10-22 13:28:33 +00:00
bjorn ecf391ee87 gf-server: preliminary Ubuntu instructions 2008-10-22 12:36:13 +00:00
bjorn 4685919ac3 Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious. 2008-10-22 12:07:04 +00:00
bjorn 5dbace4cc2 Rename the GWT Translate module to PGF. Rename the GF class to PGF. 2008-10-22 12:05:59 +00:00
bjorn 2aa899a5ff Change GWT compilation scripts to make it easier to change the GWT dir location. 2008-10-22 11:19:12 +00:00
bjorn dea941eea9 New compiled GWT stuff. 2008-10-22 09:37:06 +00:00
bjorn acdcd57fa6 Reorganize GWT stuff into a reusable module and one application module. 2008-10-22 09:36:05 +00:00
bjorn 6633ae71f1 gf-server: move some general stuff to FastCGIUtils 2008-10-20 15:17:57 +00:00
bjorn d327d9da6c Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn 6b8c9dd4c9 Added PGF.Macros.mapConcretes 2008-10-20 14:51:42 +00:00
bjorn 05343e78a9 Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases. 2008-10-20 14:05:39 +00:00
bjorn 5cbc5aeb9d Added new generated GWT output. 2008-10-20 13:30:01 +00:00
bjorn 66397a454d Removed the flag icons from the GWT client. 2008-10-20 13:23:40 +00:00
bjorn 9b8f50534c Update gf-server instructions and configuration. 2008-10-20 12:56:08 +00:00
bjorn cec2b61af0 Drop -beta2 from version in GF.cabal. It confuses cabal-install. 2008-10-20 12:49:18 +00:00
bjorn 88eed35c18 Reorganize PGF export list to get easier to read haddock. 2008-10-20 12:10:42 +00:00
bjorn 617c707a77 Update gf-server to compile with changed PGF API. 2008-10-20 12:07:05 +00:00
bjorn d41616dd6a Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. 2008-10-20 11:59:31 +00:00
bjorn 2174690c5e Added Read and Show instances for Type. This required moving some code around. 2008-10-20 11:36:17 +00:00
bjorn a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
bjorn 072f19212f Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd. 2008-10-20 08:46:32 +00:00
bjorn e6d7e5e97f Added compiled GWT code to repo. 2008-10-20 08:45:42 +00:00
bjorn a11ccb9cd8 gf-server: New URL format: /grammar.pgf/command 2008-10-20 08:45:00 +00:00