summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-21minibar support.js: add function ajax_http_post for posting FormDatahallgren
2011-06-21gf-server: make pgf-service work the Apache mod_fastcgihallgren
pgf-service now appears to works with Apache mod_fastcgi (under Mac OS X) in addition to lighttpd. One difference appears to be that while lighttpd passes the name of the PGF file in the SCRIPT_FILENAME variable, Apache passes it in PATH_TRANSLATED. But perhaps this depends on exactly how the fastcgi service is configured. The following is what I added to the Apache configuration file to test this: <Directory /Library/WebServer/Documents/fcgi-bin> SetHandler fastcgi-script Options +ExecCGI </Directory> Action pgf-service /fcgi-bin/pgf-service AddHandler pgf-service .pgf
2011-06-21gf-server: enable -rtsopts when compiling with ghc>=7.0hallgren
2011-06-21gf-server.cabal: a separate flag for the content servicehallgren
* Use cabal install -ffastcgi to compile the fastcgi server. * Use cabal install -fcontent to compile the content service (off by default, currently broken) * Use both flag to compile both.
2011-05-07gfse: fix a problem in browsers where "class" is a reserved keywordhallgren
2011-06-20updated information on GF bookaarne
2011-06-20refinementNepali-11-06-20virk.shafqat
2011-06-14allow empty lines in transliteration filesaarne
2011-06-02Predef functions toUpper, toLower, isUpperaarne
2011-06-02"Urd in Phrasebook Makefile; correct form of adj Spa.spanish_A"aarne
2011-06-02ported the change in English NPCase and Polarity to SUMOaarne
2011-06-02patches in Spanish adjectives by Inariaarne
2011-06-01Fixed A's in Cat phrasebook nationalitiesjordi.saludes
2011-05-19refinementsTextUrd-11-05-19virk.shafqat
2011-05-19refinements-2011-05-19virk.shafqat
2011-05-13refinementsUrdPhrasebook-2011-05-13virk.shafqat
2011-05-13addition to Urdu phrasebookaarne
2011-05-12refinementsUrdPhrbook-2011-05-12virk.shafqat
2011-05-11refinementsUrdPnb-2011-05-11virk.shafqat
2011-05-10refinements-2011-05-10virk.shafqat
2011-05-06gfse: you can now add concrete syntax for arbitrary languageshallgren
Before, you had to pick a language from a list of supported languages, but now you can also pick Other and change the language code afterwards.
2011-05-06Urdu phrasebook (not complete)aarne
2011-05-06fixed problems in persian transliteration pointed out by Elnazaarne
2011-04-30refinements-Pnb-2011-04-30virk.shafqat
2011-05-02transliteration via configuration file: ps -to=file or ps -from=fileaarne
2011-04-20Ctrl-C shouldn't terminate the GF shellhallgren
This quick fix should make Ctrl-C in the GF shell behave more like it does in other shells: even if no command is running, Ctrl-C now just gives you a new prompt instead of terminating the shell.
2011-04-15GFI.hs: some refactoring for readabilityhallgren
Also some minor changes in how Ctrl-C is handled and how CPU time is measured.
2011-04-15added book in the documentationaarne
2011-04-13gfse: use "gf -server" mode instead of upload.cgihallgren
Work in progress on making the online grammar editor use the new "gf -server" mode instead of the old upload.cgi script. A first benefit is that the editor now calls the server to check the syntax of lin & lincat definitions. (But the links to minibar/gfshell/quiz are not available at the moment.)
2011-04-13Added a preliminary "gf -server" mode.hallgren
The command "gf -server" now starts a simple HTTP server on port 41295, providing a simple web API to the GF compiler. It currently support the follwing operations: * creating new temporary directories for grammar uploads, * uploading grammars files for use in the GF shell, * executing GF shell commands, and * accessing static files. This means that GF now depends on some additional networking related packages, but they should be available and easy to install on all platforms. There is also a new configuration flag "server" in gf.cabal, so GF will be compiled without support for server mode if the extra packages are unavailable. Note that running gf -server while connected to the internet can be a security risk. To prevent unauthorized access to the rest of the system, it is advisable to run the server in GF_RESTRICTED mode and as a user with suitably restricted file permissions.
2011-04-13Show configuration options as part of build infohallgren
The GF shell welcome message will now include something like This is GF version 3.2.1-darcs. Built on darwin/i386 with ghc-7.0, flags: interrupt where a list of enabled configuration flags are included on the last line. This is implemented in GF.Infra.BuildInfo by consulting the CPP macros defined by the respective option in gf.cabal. For this to work, GF.Infra.BuildInfo obviously has to be updated when new flags are added to gf.cabal or if the CPP macros are renamed. (Also, I suspect that if you reconfigure with different flags and rebuild GF without cleaning first, the BuildInfo module will not be recompiled, resulting in a misleading welcome message...)
2011-04-13GF.Infra.UseIO: add functions readBinaryFile & writeBinaryFilehallgren
2011-04-11minibar: fix typohallgren
2011-04-11minibar: small documentation updates and correctionshallgren
2011-04-08GF shell restricted mode: found one more writeFile that should be restrictedhallgren
2011-04-06avoid warning from ghc-7.0hallgren
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06avoid warning from ghc-7.0hallgren
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06generate Eq instance for GADTaarne
2011-04-06fixed the printing of predefined and list categories in haskell=gadtaarne
2011-04-04GFI.hs: refactoring to add a function for executing a single GF shell command.hallgren
The intention is to use the new function to implement a web service API to the GF shell.
2011-04-04Add build info to the GF shell welcome messagehallgren
2011-03-28gfse: somewhat simplified configuration/installationhallgren
2011-03-28gfse: added an alternate style sheet with the MOLTO color schemehallgren
2011-03-22minibar: don't force focus to the typed input field after every wordhallgren
On touch-based devices, the on-screen keyboard kept popping up after every word, which was very annoying if you were entering a sentence by tapping on the magnets.
2011-03-22minibar: add trailing slash in suggested grammar URLshallgren
2011-03-17Adding a missing file for the tokenizer...gdetrez
2011-02-10Adding a basic lexicon-based tokenizer and the asociated command in gf shellgdetrez
2010-12-11Adding an option to the gf compiler to add an index to pgf filesgdetrez
This is gonna be used by the android library to skip unused part of a pgf file
2011-03-14started a grammar for grammatical terms, covering the cats of the RGLaarne
2011-03-13smaller query grammars for MOLTO KRIaarne