summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-10-11add teyjus/simulator/builtins/builtins.hkr.angelov
2012-10-11added the forgoten libteyjus.pc.in file in the C runtimekr.angelov
2012-10-09gfse: adding a section about public grammars in about.htmlhallgren
2012-10-09gfse: show the grammar list if the currently selected grammar can not be loadedhallgren
Avoid showing a blank page if there is an unexpected problem with the grammars in localStorage.
2012-10-09gf -server: /parse command now supports input with character codes > 255hallgren
This enables the use of arbitrary Unicode character in text mode in GFSE.
2012-10-05Factor out code for setting the console encodinghallgren
Moved similar low-level code blocks in Main and GFI for setting the console encoding to the new module GF.System.Console.
2012-10-04simple translator: make it usable on iOS deviceshallgren
To make the popup menus accessible, use a simple trick to activate the simulate-hovering-by-tapping behaviour.
2012-10-04simple translator: bug fixhallgren
"Edit/Add a segment..." stopped working at some point. (Importing text still worked.)
2012-10-04gfse: various code improvements and prelimiary support for public grammarshallgren
2012-10-03gfse: fix a bug caused by sharing when copying a linearization function in ↵hallgren
the row view Functional programming is easier than imperative programming!
2012-10-03gfse: some refactoringhallgren
2012-10-03gfse: row view: add a button to copy a linearizationhallgren
When adding a new function, you can enter a linearization for one language and then copy it to the other languages with one button click.
2012-10-02gfse and cloud service documentation updatehallgren
2012-10-02gfse: you can now add new functions from the matrix viewhallgren
2012-10-02gfse: more intuitive buttons for switching between the column, matrix & row ↵hallgren
views
2012-10-01gfse: adding a "row" viewhallgren
Accessed by clicking on a function in the Abstract column in the matrix view.
2012-10-01gfse: matrix view improvementshallgren
+ You can click on a column header to switch to column view (i.e. the corresponding abstract/concrete syntax tab). + The categories and functions in the abstract syntax can be edited directly in the matrix view.
2012-09-30gfse: small linearization type display adjustmenthallgren
2012-09-30gfse: display "??" instead of "null" in linearization types when lincats are ↵hallgren
missing
2012-09-30gfse: show the types of linearization functions when hovering over their nameshallgren
2012-09-30PGF service & minibar: put a limit on the number of parse treeshallgren
+ In the PGF web service API, the commands parse, translate and translategroup now accept a limit parameter. It limits the number of parse trees returned. If no limit is given, the behaviour is backwards compatible, i.e. no limit is applied. + In minibar, the limit is now set to 25 by default. This change is based on a suggestion by Kaarel Kaljurand.
2012-09-28gfse & cloud improvementshallgren
+ Added "Symbolic" to the list of resource modules that can be opened. + Clicking on the name of an opened resource module now displays the list operations it provides. (Implemented using show_operations in the GF shell.) + Added a GF version info link to the cloud service start page.
2012-09-28GF shell, show_operations: nicer looking types for linearization functionshallgren
Adding a lock field to the result type of linearization functions. TODO: figure out how to add a lock field to the argument types too.
2012-09-27GF shell, show_operations: also show the types of linearization functionshallgren
This is a simple change in GF.Grammar.Lookup.allOpers, which is used only in the implementation of the show_operations command in the shell. This is useful when importing a concrete syntax (like LexiconEng) as a resource. However, the types don't always look as nice as I hoped...
2012-09-26SIO bug fixhallgren
Line breaks were missing when capturing stdout. (putStrLn acted like putStr.)
2012-09-26gf -server: add a GF version info requesthallgren
GF version info can now be obtained from http://localhost:41926/version Also removed some unused imports.
2012-09-25Use the SIO monad in the GF shellhallgren
+ The restrictions on arbitrary IO when GF is running in restricted mode is now enforced in the types. + This hopefully also solves an intermittent problem when accessing the GF shell through the web API provided by gf -server. This was visible in the Simple Translation Tool and probably caused by some low-level bug in the GHC IO libraries.
2012-09-25GF.Infra.SIO.hs: adding the SIO monad (where S = Shell or Safe)hallgren
The SIO monad is a restriction of the IO monad with two purposes: + Access to arbitrary IO operations can be turned off by setting the environment variable GF_RESTRICTED. There is a limited set of IO operations that are considered safe and always allowed. + It allows output to stdout to be captured. This can be used in gf -server mode, where output of GF shell commands is made part of HTTP responses returned to clients.
2012-09-25GF.Command.Commands: allCommands is now a constanthallgren
The dependency on PGFEnv has been moved from the list to the exec function of the commands in the list. This means that the help command no longer needs to generate a new list of commands and that the state of the shell (type GF.Command.Interpreter.CommandEnv) no longer needs to contain the list of commands.
2012-09-24now the meta probability for a category is explicitly specified in the ↵kr.angelov
statistical model instead of computed internally. this avoids rounding errors while computing the sum of a large number of small values.
2012-09-24in the robust parser we don't have to care about trees which yeld empty ↵kr.angelov
strings. this makes the parser a lot faster
2012-09-23refactoring German VPaarne
2012-09-22GFServer.hs: code improvementshallgren
Use a monad in the request handler to make the code a bit more modular and readable.
2012-09-21gf -server: also restrict the paths of uploaded fileshallgren
2012-09-21gfse: added a new "matrix view" of grammarshallgren
2012-09-21simple translator: make it possible to delete documentshallgren
2012-09-21gf -server: improved security checkshallgren
+ More restrictive limits on which file paths can be downloaded and removed. + Add more extensions to the list of file types that may be removed. In particular, allow documents created by simple translation tool to be removed.
2012-09-20simple translator: bug fixhallgren
A bug in the line break change prevented text import from working.
2012-09-18the Haskell runtime now exports 'functionsByCat' which returns the list of ↵kr.angelov
all functions for a given category
2012-09-18the C runtime now has a type prob_t which is used only for probability valueskr.angelov
2012-09-18catch all case in GenerateBC.genFunkr.angelov
2012-09-14negative patterns in gfmorphoaarne
2012-09-17simple translator: accept DOS, Mac and Unix line breaks when importing texthallgren
2012-09-17minibar-api.html: documentation fixeshallgren
2012-09-12First version of a web server for morphological paradigms.aarne
2012-09-11simple translator: export GlobalSight Download Fileshallgren
TODO: consider using a better way to save to a local file
2012-09-11simple translator: more work on GlobalSight supporthallgren
Disable editing source segments in GlobalSight documents
2012-09-10simple translator: more work on GlobalSight supporthallgren
+ Retain metadata from GlobalSight Download Files. + Disable adding&removing segments when editing a GlobalSight documents.
2012-09-09minibar: fix links to Wikipedia article on JSONPhallgren
Wikipedia moved it.
2012-09-09simple translator: support for importing GlobalSight Download Fileshallgren
TODO: support for export translations in the same format.