summaryrefslogtreecommitdiff
path: root/src/server/gf-server.cabal
AgeCommit message (Collapse)Author
2015-02-25PGFService: make the restriction on parallelism more effectivehallgren
Restrict the entire request handler instead of just the call to the C parser.
2014-09-03gf.cabal, gf-server.cabal: add version bounds on network & httpd-shedhallgren
* httpd-shed-0.4 does not specify an upper bound on network, but it fails to build against network>=2.6. This is fixed in httpd-shed-0.4.0.2. * With network-2.6, the Network.URI modules is moved to a separate package, so for the time being GF requires network>=2.3 && <2.6. This is compatible with the four most recent versions of the Haskell Platform.
2014-09-02src/server: refactoring to isolate dependencies on the cgi/fastcgi packageshallgren
* Introducing the module CGI, re-exporting a subset of the cgi package. It might complete replace the cgi package in the future. * Introducing the module CGIUtils, containing functions from FastCGIUtils that have nothing to do with fastcgi. Some low level hackery with unsafePerformIO and global variables was left in FastCGIUtils, but it is actually not used, neither for gf -server nor exec/pgf-fcgi.hs.
2014-07-21PGF service: expire PGFs from the cache when they have been unused for 24 hourshallgren
...to keep memory use down on the server.
2014-07-15src/server/gf-server.cabal: update dependencieshallgren
2014-01-31gf-server.cabal: flag to include C run-time support in the FastCGI PGF servicehallgren
2013-12-17src/server/gf-server.cabal: compile it as a common library + executableshallgren
2013-07-15gf-server.cabal: same changes as in gf.cabal for ghc-7.6 compatibilityhallgren
2012-04-02gf-server.cabal: mtl is needed to build pgf-server nowhallgren
2012-03-05gf-server.cabal: always build the fastcgi module (pgf-server), lower version ↵hallgren
requirement on the cgi package + The flag fastcgi is removed: building the fastcgi is the main purpose of this cabal file again. + pgf-http superseded by gf-server, but is still available as an option + Require cgi>=3001.7.3 instead of cgi>=3001.8.0.
2012-02-23src/server/ContentService.hs: fix compilaton problemhallgren
2011-08-23pgf-service: add Jordis transfer function for OpenMath LaTeX outputhallgren
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.
2010-12-23gf-server.cabal: changes to stop cabal from demanding hsql even when ↵hallgren
content-server is not going to be built
2010-12-22gf-server.cabal: update description of fastcgi flaghallgren
2010-12-22gf-server.cabal: make hsql-mysql optional like fastcgihallgren
content-service depends on hsql-mysql, which depends on a C library, so like fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22gf-server.cabal: Change the default for the flag fastcgi to Falsehallgren
If you want the fastcgi server, use cabal install -ffastcgi. This is to avoid problems when you only want to compile pgf-http and the fastcgi library fails to install, which it usually does, since it depends on a C library which is not installed automatically with cabal.
2010-12-22tweak gf-server.cabalkrasimir
2010-12-17Install minibar and some example grammars along with pgf-httphallgren
Together with the changes to pgf-http, this should make it much easier to run the PGF service and minibar locally.
2010-11-26Split pgf-server into pgf-fcgi and pgf-http.hallgren
The dependency on the fastcgi package made pgf-server difficult to compile, so it is now split into - pgf-fgci (main module in pgf-fcgi.hs), which is built only if fastcgi is already installed or if you turn on the fastcgi flag (e.g. by doing 'cabal install -f fastcgi'). - pgf-http (main module in pgf-http.hs) which is always built (and hopefully has no problematic dependencies.) The modules FastCGIUtils and PGFService no longer depend on fastcgi.
2010-11-09Make PGFService.hs compile againhallgren
+ PGFService.hs: add Nothing arguments in calls to PGF.parse_ and PGF.getPArseOutput + gf-server.cabal: mark content-server as not buildable, since required source files are missing.
2010-10-11the exhaustive/random generator now knows how to handle computable functions ↵krasimir
in the types
2010-09-30update PGFService to work after the extensions in the random generation APIkrasimir
2010-09-01Standalone HTTP version of pgf-serverhallgren
pgf-server can now act as a standalone HTTP server. To activate this mode, start it with pfg-server http to use the default port number (41296), or give an explicit port number, e.g., pgf-server http 8080 The HTTP server serves PGF files in the same way as the old FastCGI interface. In addition, it also serves static files. The document root for static files is the www subdirectory of the current directory where pgf-server is started. In spite of these addition, backwards compatibility is maintaned. The old FastCGI interface continues to work as before. (It is activated when pgf-server is started without arguments.)
2010-07-31fix: PGFService should type-check the trees that comes from the userkrasimir
2010-04-22Update version numbers for build-depends in gf-server.cabalhallgren
2010-04-22now the PGF service communicates with Graphviz using UTF8 for the input and ↵krasimir
binary for the output
2010-04-22the pgf service now compiles with the latest CGI packagekrasimir
2009-12-15Update version number 3.0 to 3.1 in a number of placeshallgren
2009-12-14fix the directories in gf-server.cabalkrasimir
2009-06-04GF.Grammar.Parser is added to gf-server.cabal to tell Cabal that he has to ↵krasimir
run Happy
2009-06-04the morpho server is now updated and works with the current GF. the sources ↵krasimir
are moved in directory server
2008-12-05Rename PGF Server cabal packages to pgf-server (was gf-server).bjorn
2008-11-05distinguished know_VS and know_V2 in Lexicon; patched Italian imperatives ↵aarne
(not quite finished yet)
2008-10-29gf-server: added a way to list the available pgf filesbjorn
2008-10-29Rename MainFastCGI.hs to PGFService.hs.bjorn
2008-10-17(fastcgi) replace DataRef with a more general Cache type, which can hold ↵bjorn
several PGF grammars.
2008-10-16A bunch of changes that make it easy to run the gf server with lighttpdbjorn
2008-10-16Multithreaded gf.fcgi.bjorn
2008-09-17fastcgi server: add /mylanguage resource, which selects the language that ↵bjorn
best matches the Accept-language header.
2008-08-19First version of ajax / fastcgi interface with completion.bjorn
2008-08-14Added first version of the GF FastCGI server.bjorn