Commit Graph

1693 Commits

Author SHA1 Message Date
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
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
bringert
9fab68709c Some lighttpd config fixes for the gwt translator. 2008-10-29 14:45:15 +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
bringert
7f4ba6333c Better way of building gf-gwt.jar. 2008-10-29 14:02:58 +00:00
bringert
15314fda12 GWT: Some changes to compilation scripts to run on linux. 2008-10-29 13:55:00 +00:00
krasimir
c3c834c79e even more compact binary representation. saldo < 19MB 2008-10-28 16:54:46 +00:00
krasimir
ee8a2738e2 Data.Binary should use Data.ByteString.copy when decoding ByteStrings 2008-10-28 16:43:00 +00:00
krasimir
adcf1a8c34 remove some traces that I left by incident 2008-10-28 16:31:30 +00:00
krasimir
03d86ba05c remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
krasimir
e6bb0a8eda forgot to add PGF.Binary 2008-10-28 15:40:10 +00:00
krasimir
ebd98056ce binary serialization for PGF 2008-10-28 13:57:10 +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
krasimir
f8331e5b4b define Read and Show instances for Expr and Tree 2008-10-28 12:22:34 +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
aarne
970e69add9 missing case in PGF generation 2008-10-27 09:24:33 +00:00
krasimir
3fed05e121 fix typo 2008-10-25 20:44:04 +00:00
krasimir
4104b83801 Windows fix: the default coding isn't utf8 but the current system codepage. The se command changes the codepage as well as the coding 2008-10-25 20:26:48 +00:00
krasimir
e816ae237a add cp1252. usefull for Swedish and German 2008-10-25 20:25:09 +00:00
krasimir
a06d2c6d50 extend the cp1251 coding to cover all cyrillic letters 2008-10-25 20:22:06 +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
krasimir
9ba3b739df fix the word completion in the shell 2008-10-22 11:27:01 +00:00
krasimir
bb007215ab fix a typo. It is option "-cat" not "-type" 2008-10-22 09:36:50 +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
krasimir
0606de738e efficient and nicer implementation for literal categories 2008-10-21 14:30:36 +00:00