Commit Graph

47 Commits

Author SHA1 Message Date
kr.angelov
42dea944d9 added bracketedLinearize in the Java binding 2014-07-02 07:08:01 +00:00
kr.angelov
410b7c78ce fixed rare memory leak in the Java bindings 2014-07-02 07:06:51 +00:00
kr.angelov
3843f5505e fix warnings in the compilation of the Java binding 2014-07-01 17:31:29 +00:00
kr.angelov
78d8524138 bugfix in the Java binding. it was causing a crash in the Android app 2014-05-23 10:52:00 +00:00
kr.angelov
802a106b3e fix the literals API in Java for strings with non-latin characters 2014-05-08 14:56:46 +00:00
kr.angelov
b21f2c04e1 an initial Java/C API for predicting literals. Still not utilized 2014-04-25 08:53:18 +00:00
kr.angelov
a28d0d246f expose Java API for word completion 2014-04-11 07:50:22 +00:00
kr.angelov
ea40bc151b change the JVM version to 1.6 in JNI_OnLoad 2014-04-11 07:15:27 +00:00
kr.angelov
77c545fa4f bugfix in the Java binding 2014-04-10 16:43:40 +00:00
kr.angelov
a9ebeaea44 now fully functional Java API for custom literals 2014-04-10 14:14:31 +00:00
kr.angelov
1a1e7cdb2e compute the right word probability 2014-03-12 15:36:40 +00:00
kr.angelov
8b8a9a8968 added Java API to the simple word completion 2014-03-07 21:29:26 +00:00
kr.angelov
6b6c331f40 fix in the Java binding after the implementation for pre 2014-03-07 21:28:40 +00:00
kr.angelov
903abb5a4f rename pgf_lzr_linearize_table to pgf_lzr_get_table 2014-03-04 10:13:23 +00:00
kr.angelov
87527c5f04 load/unload in the Java binding 2013-12-10 16:06:34 +00:00
kr.angelov
9de4812482 better dictionary visualization in the Android App 2013-11-27 22:16:05 +00:00
kr.angelov
3509a8d4cc added API in the C runtime and the Java binding for checking whether a given function is linearizable in a given language. This is used in the Android UI for better vizualizations 2013-11-27 12:35:11 +00:00
kr.angelov
085808513d space leak in the Java binding 2013-11-27 12:34:06 +00:00
kr.angelov
85e238f824 the Java binding for lookupMorpho should release the local references created in a loop 2013-11-21 14:29:47 +00:00
kr.angelov
4265a31003 added #ifdef to detect MinGW in the Java binding and to import the right header for alloca 2013-11-07 08:08:41 +00:00
kr.angelov
5739785c77 bugfix in the Java binding 2013-11-06 14:41:42 +00:00
kr.angelov
c98a9a3266 tabular linearization in the C and Java runtimes 2013-10-23 14:49:28 +00:00
kr.angelov
7b1db5d36e readExpr in the Java binding 2013-10-11 08:10:04 +00:00
kr.angelov
76014aa2cc added lookupMorpho in the Java binding 2013-10-09 19:39:50 +00:00
kr.angelov
835a15a343 fix in the Java binding 2013-10-09 19:37:57 +00:00
kr.angelov
b058fdd17d a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode 2013-10-09 12:08:51 +00:00
kr.angelov
0d9d926131 fixes in the Java binding after the refactoring of GuString 2013-10-04 19:53:19 +00:00
kr.angelov
2f78333e28 GuString is now an ordinary C string - it makes live easier. In addition PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use. 2013-10-04 12:04:39 +00:00
kr.angelov
96399838b7 space leak in the Java binding 2013-10-03 21:00:45 +00:00
kr.angelov
d88084a2d5 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
4e328d1f33 added exhaustive generation in the Java binding 2013-09-06 07:21:38 +00:00
kr.angelov
993522eb5a added version readPGF in Java which takes as argument InputStream. This makes it easier to load grammars from the assets folder in Android 2013-09-05 12:12:01 +00:00
kr.angelov
83ca6c4f9f remove the read and write modules from libgu. this simplifies the i/o layer 2013-09-05 11:20:39 +00:00
kr.angelov
4b9ae55925 fix the warnings from the Java binding 2013-09-04 18:23:49 +00:00
kr.angelov
76d1db7dc5 now it is possible to compile the C code for the Java binding from Eclipse. The old and broken Makefile is now removed 2013-09-04 18:09:06 +00:00
kr.angelov
b37fed3d2d the PGF class is now using the new Pool class to manage the life time of the memory allocated in C. 2013-08-29 05:38:07 +00:00
kr.angelov
48b6af710d more carefull tracking of references in the Java binding 2013-08-29 05:35:45 +00:00
kr.angelov
de7fbd22e7 fix the error handling in the Java binding 2013-08-28 08:51:53 +00:00
kr.angelov
cb33a971f0 fixes in the Java binding 2013-08-28 00:04:50 +00:00
kr.angelov
109546b227 added PGF.getStartCat() 2013-08-27 23:02:00 +00:00
kr.angelov
2995a16da3 bugfix in the java binding 2013-08-27 22:53:38 +00:00
kr.angelov
c9c599977f linearization in the Java binding 2013-08-27 22:39:26 +00:00
kr.angelov
75c1100575 small refactoring in the Java binding 2013-08-27 22:37:31 +00:00
kr.angelov
8d82dc66bf parsing from the Java binding 2013-08-27 21:53:13 +00:00
kr.angelov
216f4b1c40 a bit more on the Java to C binding. Now it is possible to load a grammar and query for the list of languages 2013-08-01 10:48:19 +00:00
kr.angelov
e969aa69ff added a test class for the Java API plus a small refinement in the implementation for the binding 2013-05-28 13:32:32 +00:00
kr.angelov
bd859fcf28 an initial skeleton for building a Java binding to the C runtime 2013-05-28 12:59:19 +00:00