Krasimir Angelov
174cc57eb7
restore the FastCGI service and move some files back to src/server
2022-06-22 11:18:56 +02:00
Krasimir Angelov
a8ad145aeb
move gf.cabal and all compiler dependent files into src/compiler
2022-06-18 20:42:31 +02:00
Krasimir Angelov
418aa1a2b2
the web server now serves both .pgf and .ngf files
2022-05-31 11:32:02 +02:00
krangelov
155657709a
Merge branch 'master' into c-runtime
2021-07-30 11:20:04 +02:00
Liyana
76bec6d71e
Omitted import Except(..)
2020-11-12 09:48:15 +08:00
Liyana
2dc179239f
Replaced Control.Monad.Error with Control.Monad.Except
2020-11-10 17:32:43 +08:00
krangelov
acb70ccc1b
cleanup
2019-09-19 22:30:08 +02:00
krangelov
e993ae59f8
drop the haskell runtime, part 2
2019-09-19 10:06:06 +02:00
John J. Camilleri
07768ba4c4
Revert "Completely remove uses of example-based"
...
This reverts commit 69cea20dac .
2018-11-28 19:23:05 +01:00
John J. Camilleri
69cea20dac
Completely remove uses of example-based
2018-11-28 18:09:56 +01:00
Krasimir Angelov
5a2b200948
manually copy the "c-runtime" branch from the old repository.
2018-11-02 14:38:44 +01:00
Thomas Hallgren
23961ef0b3
GF.Server: add 'import Control.Applicative' for compatibilit with GHC<7.10
...
One could also add stricter version constraints in gf.cabal, e.g.
base>=4.8 (implies GHC>=7.10) if we want to only support building with
GHC>=7.10.
2018-06-27 17:40:35 +02:00
Thomas Hallgren
3d6a5e8864
gfse: show grammar comments in the list of public grammars
...
gf -server now includes the comment field from the grammar in the
response to /cloud requests with command=ls-t and ext=.json
2018-03-29 18:23:32 +02:00
hallgren
12d2296991
GF cloud: more readable formatting of the GF version page
...
Factor out common CSS from gfse/editor.css into clouds.css.
2016-06-15 10:20:30 +00:00
hallgren
096b4cfcee
PGF service & minibar: only show dependency diagrams if the labels are known
...
+ The PGF service now reads and caches dependency label configuration files.
+ The grammar info returned by command=grammar has a new boolean field
'hasDependencyLabels' to indicate if dependency labels were found for
the grammar. Also, command=deptree will now fail if no labels are present.
+ The minibar only shows word dependency trees if labels are present.
+ Also changed the type of getDepLabels from [String] -> Labels to
String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-09 13:12:14 +00:00
hallgren
5bfaf10de5
Comment out some dead code found with -fwarn-unused-binds
...
Also fixed some warnings and tightened some imports
2015-08-28 13:59:43 +00:00
hallgren
3263968c79
gf -server: include grammar modification time in the info returned by /version
2015-04-17 13:21:20 +00:00
hallgren
748ebae433
GF.Server: request logging: increase length limit from 100 500 chars per field
2015-03-11 15:56:06 +00:00
hallgren
f6cb6d172e
PGF Service: limit the number of parallel calls to the C run-time parse function to 4 by default
...
The limit can be changed with the -j flag
2015-02-20 12:29:44 +00:00
hallgren
54ae70a81e
Changes for compatibility with ghc-7.10-rc2
...
2 modules: Name clashes caused by Applicative-Monad change in Prelude
2 modules: Ambiguities caused by Foldable/Traversable in Prelude
2 modules: Backwards incompatible changes in time-1.5 for defaultTimeLocale
9 modules: {-# LANGUAGE FlexibleContexts #-} (because GHC checks inferred types
now, in addition to explicitly given type signatures)
Also silenced warnings about tab characters in source files.
2015-02-16 15:05:06 +00:00
hallgren
719f926a48
GF.Server: remove some code duplication
2014-12-11 15:58:57 +00:00
hallgren
b70dba87ba
Rename modules GFI, GFC & GFServer...
...
... to GF.Interactive, GF.Compiler & GF.Server, respectively.
2014-10-15 21:04:29 +00:00