summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-04memory leak in parseval.ckr.angelov
2014-03-04rename pgf_lzr_linearize_table to pgf_lzr_get_tablekr.angelov
2014-02-27more in src/runtime/java/INSTALLkr.angelov
2014-02-27another fix for building the Java bindingkr.angelov
2014-02-27added file with instructions for compiling the Java bindingkr.angelov
2014-02-27instructions for compiling the C runtime on Windowskr.angelov
2014-02-27changes in Makefile.am to make it easier to compile the C runtime on Windowskr.angelov
2014-02-27include malloc.h in a few places to avoid warnings on Windowskr.angelov
2014-02-27update the Eclipse project for jpgf with settings needed for Windowskr.angelov
2014-02-25bugfix with the keyboard label for Chinesekr.angelov
2014-02-25the Android UI uses a new progress indicator which works on both Nexus 1 and ↵kr.angelov
Nexus 7
2014-02-21the Android App is now using the documentation modules instead of xml files ↵kr.angelov
for generating the inflection tables. The xml files are removed
2014-02-19Wide coverage demo web app: add link to Google Translatehallgren
2014-02-19src/www/js/langcode.js: functions for converting language codeshallgren
factored out from src/www/translator/translator.js
2014-02-18bugfix in the android uikr.angelov
2014-02-17fix in GF.Compile.Compute.ConcreteNew which makes it possible to compile ↵kr.angelov
DocumentationBul.gf
2014-02-13demos/translation.t2t: the translation app needs more spacehallgren
2014-02-12Wide coverage demo: show up to 10 translationshallgren
The translations are loaded one at a time so you don't have to wait for all 10 to see the first one.
2014-02-11Work on web api & apps based on the C run-time systemhallgren
+ PGFService.hs: add command c-grammar, include probability in parse results + js/gftranslation.js: add start position and limit parameters, return more info to applications + Simple Translator: show two wide coverage translations + Wide coverage demo: show parse tree and probability (intended as grammar debugging aids)
2014-02-11GFServer.hs: avoid intertwined log messages from parallel requestshallgren
2014-02-10Restore compatibility with GHC 7.0hallgren
2014-02-10Fix broken C runtime support in gf.cabal and PGFService.hshallgren
Also add PGF service command c-flush to explicitly flush cached parse results from memory.
2014-02-10proper error checking in the C runtimekr.angelov
2014-02-10haskell-bind: fix broken pgf-shellhallgren
The type CId was replaced with String, so can't use show and read anymore.
2014-02-10bugfix in pgf2-bind.cabalkr.angelov
2014-02-09disabled ad hoc overloading, as it still causes mysterious errors. It is ↵aarne
just a few lines in Rename.hs
2014-02-09updated haskell-bind/READMEkr.angelov
2014-02-09cleanup the code for the FFI binding. The API is now more uniform with the ↵kr.angelov
Python and the Java bindings. Fixed a lot of memory leaks.
2014-02-09GuVariant is now plain uintptr_t instead of a structure to make it easier to ↵kr.angelov
write Haskell bindings
2014-02-07gf.cabal: pgf-shell needs containers nowhallgren
2014-02-07pgf-shell: show the names of the concrete syntaxes after loading the grammarhallgren
2014-02-07haskell-bind: add function languagesinari
2014-02-07pgf-shell: enable -rtsopts, call performGC between commandshallgren
This is to make it easier to find the cause of space leaks.
2014-02-06fixed some memory leaksinari
2014-02-05bugfix in the recognizer for literals in the C runtimekr.angelov
2014-02-04PGF.Optimize: one more fix for unsafeFreezehallgren
2014-02-04PGF.Optimize: import unsafeFreeze from Data.Array.Unsafe for compatibility ↵hallgren
with ghc-7.8
2014-02-04GFC.hs: encodeFile_ is not available in the standard Data.Binaryhallgren
2014-02-03gf.cabal: add default-language to silence warninghallgren
2014-02-01new overload resolution, taking care of ad hoc overloading.aarne
2014-02-01ad hoc overloading: a new way to deal with name resolution conflicts. ↵aarne
Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch.
2014-01-31typo in Concrete type checker: when type checking <e : t>, return annotated ↵aarne
e and not e itself. Fixed in RConcrete, which should soon replace Concrete; and hopefully will be replaced by some cleaner code soon, such as ConcreteNew which has been under construction for quite some time.
2014-01-31experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with ↵aarne
record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields.
2014-01-31gf-server.cabal: flag to include C run-time support in the FastCGI PGF servicehallgren
2014-01-31fix in the bracketedLinearize in Haskellkr.angelov
2014-01-29changes to pools in haskell bindingsinari
2014-01-28Wide coverage translation web demo improvementshallgren
+ Add lexing/unlexing + Add a button to swap input and output + Minor layout adjustments
2014-01-27PGFService.hs: fix a type ambiguity when compiling without C run-time supporthallgren
2014-01-27PGFService.hs: add a cache for C run-time parse result and a start offset ↵hallgren
parameter Cached parse results are discarded when they have been unused for 10 minutes.
2014-01-27gf -server: fix a redirection bug...hallgren
...that was introduced with the recent changes to the handling of the current working directory