Commit Graph

44 Commits

Author SHA1 Message Date
kr.angelov
dbb4fdd0f7 bugfix in the Java binding. it was causing a crash in the Android app 2014-05-23 10:52:00 +00:00
kr.angelov
41c8749b5c fix the literals API in Java for strings with non-latin characters 2014-05-08 14:56:46 +00:00
kr.angelov
d278965095 an initial Java/C API for predicting literals. Still not utilized 2014-04-25 08:53:18 +00:00
kr.angelov
b82f9a5035 expose Java API for word completion 2014-04-11 07:50:22 +00:00
kr.angelov
65b4ba2459 change the JVM version to 1.6 in JNI_OnLoad 2014-04-11 07:15:27 +00:00
kr.angelov
dbc8a6f579 bugfix in the Java binding 2014-04-10 16:43:40 +00:00
kr.angelov
1ca09448f9 now fully functional Java API for custom literals 2014-04-10 14:14:31 +00:00
kr.angelov
ae1512c926 compute the right word probability 2014-03-12 15:36:40 +00:00
kr.angelov
2132eb6bed added Java API to the simple word completion 2014-03-07 21:29:26 +00:00
kr.angelov
319308007c fix in the Java binding after the implementation for pre 2014-03-07 21:28:40 +00:00
kr.angelov
c197de7fbd rename pgf_lzr_linearize_table to pgf_lzr_get_table 2014-03-04 10:13:23 +00:00
kr.angelov
97d56065c4 load/unload in the Java binding 2013-12-10 16:06:34 +00:00
kr.angelov
f5ec987c5d better dictionary visualization in the Android App 2013-11-27 22:16:05 +00:00
kr.angelov
b0a74ddc59 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
7a428198c6 space leak in the Java binding 2013-11-27 12:34:06 +00:00
kr.angelov
a50724ca2c the Java binding for lookupMorpho should release the local references created in a loop 2013-11-21 14:29:47 +00:00
kr.angelov
62dee6c805 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
7caf89b382 bugfix in the Java binding 2013-11-06 14:41:42 +00:00
kr.angelov
0882396875 tabular linearization in the C and Java runtimes 2013-10-23 14:49:28 +00:00
kr.angelov
f7fb6fa5bc readExpr in the Java binding 2013-10-11 08:10:04 +00:00
kr.angelov
c9b2e11782 added lookupMorpho in the Java binding 2013-10-09 19:39:50 +00:00
kr.angelov
f58d684ab4 fix in the Java binding 2013-10-09 19:37:57 +00:00
kr.angelov
8cf03bc5b6 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
f156a5e8f9 fixes in the Java binding after the refactoring of GuString 2013-10-04 19:53:19 +00:00
kr.angelov
e8335806af 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
27091048ce space leak in the Java binding 2013-10-03 21:00:45 +00:00
kr.angelov
2105188bd0 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
5a4454aa8f added exhaustive generation in the Java binding 2013-09-06 07:21:38 +00:00
kr.angelov
f190e349c2 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
7c0bad5092 remove the read and write modules from libgu. this simplifies the i/o layer 2013-09-05 11:20:39 +00:00
kr.angelov
1fdf0cbcfb fix the warnings from the Java binding 2013-09-04 18:23:49 +00:00
kr.angelov
b129eedcfa 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
1da6b2a34a 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
bb007630d7 more carefull tracking of references in the Java binding 2013-08-29 05:35:45 +00:00
kr.angelov
e1362fdb83 fix the error handling in the Java binding 2013-08-28 08:51:53 +00:00
kr.angelov
5a24be9735 fixes in the Java binding 2013-08-28 00:04:50 +00:00
kr.angelov
e3bd66cc78 added PGF.getStartCat() 2013-08-27 23:02:00 +00:00
kr.angelov
e3c5882721 bugfix in the java binding 2013-08-27 22:53:38 +00:00
kr.angelov
e274cce213 linearization in the Java binding 2013-08-27 22:39:26 +00:00
kr.angelov
e1df8e713c small refactoring in the Java binding 2013-08-27 22:37:31 +00:00
kr.angelov
d3631d918d parsing from the Java binding 2013-08-27 21:53:13 +00:00
kr.angelov
bf04d9fce7 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
bae05df3b0 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
3147e16453 an initial skeleton for building a Java binding to the C runtime 2013-05-28 12:59:19 +00:00