1.17.4:
2011-10-27 Ben Konrath <
[email protected]>
Require glom-1.18 >= 1.18.5.
* configure.ac:
2011-10-27 Ben Konrath <
[email protected]>
Add libgdamm.i to tar.gz.
* Makefile.am:
2011-10-27 Ben Konrath <
[email protected]>
Throw Exception if Thread.join() has problems.
* src/test/java/org/glom/libglom/tests/DocumentTest.java:
testThreadedAccess(): Throw the InterruptedException if caught to
ensure the test fails.
2011-10-27 Ben Konrath <
[email protected]>
Move libgdamm.i to src directory.
I'm not even sure why this was working.
* src/libgdamm.i: Moved from main project directory.
2011-10-27 Ben Konrath <
[email protected]>
Add synchronized keyword to all jni methods.
This fixes a JVM crash with threaded access to java-libglom.
* Makefile.am: Add synchronized keyword to public methods in GlomJNI
using sed.
* src/test/java/org/glom/libglom/tests/DocumentTest.java: Add test for
threaded access to java-libglom.
* tools/JUnitTests.in: Use 2Mb as the maximum memory heap size to
ensure that the garbage collection kicks in.
2011-10-27 Ben Konrath <
[email protected]>
Use Swig feature to load the jni shared library.
This is better than adding the library loading code with sed because
there is a better error message displayed when it the so doesn't load.
* Makefile.am: Remove sed line that adds System.loadLibrary statement.
* src/glom.i: Move %include glom_constants.i to top of file.
* src/glom_constants.i.in: Add Swig / java code to load the jni shared
library.
2011-10-26 Ben Konrath <
[email protected]>
Update sample jhbuildrc file for libglom-1-18 branch.
* tools/build/jhbuildrc-java-libglom: Add new URL. Use https URL.
2011-10-26 Ben Konrath <
[email protected]>
Require glom-1.18 >= 1.18.4.
We actually need glom-1.18 >= 1.18.5 but it hasn't been released yet.
* configure.ac:
2011-10-26 Ben Konrath <
[email protected]>
Add wrapper for Gnome::Gda::Value.
Most of the methods are ignored but it's a start.
* Makefile.am: Add libgdamm include directory to Swig line. Add
Value.java to generated sources variable.
* configure.ac: Add checks for libgdamm.
* libgdamm.i: Include value.h but ignore most of the methods.
* src/glom.i: Don't ignore methods that use Gnome::Gda::Value. Include
libgdamm.i.
2011-10-25 Ben Konrath <
[email protected]>
Add JAVACFLAGS variables to unit tests and example compile line.
* Makefile.am: Add $(AM_JAVACFLAGS) and $(JAVACFLAGS) to compile lines
of unit tests and example document load.
2011-10-24 Ben Konrath <
[email protected]>
Update jbuild moduleset for libglom-1-18 branch.
* tools/build/java-libglom.modules: Add libglom-1-18 branch to
java-libglom.
2011-10-18 Murray Cumming <
[email protected]>
Recompile the test when the test source code changes.
* Makefile.am: tests-and-examples.stamp: Make this target depend on the
.java test sources.
2011-10-15 Ben Konrath <
[email protected]>
Set the correct parameters for AssertEquals in DocumentTest.
The expected parameter was incorrectly set to the actual parameter.
* src/test/java/org/glom/libglom/tests/DocumentTest.java:
2011-10-15 Ben Konrath <
[email protected]>
Enable methods to LayoutItem_Portal to get relationship info.
* src/glom.i: Add custom wrapper methods for
get_navigation_relationship_specific(),
get_suitable_table_to_view_details() and
get_portal_navigation_relationship_automatic() in LayoutItem_Portal.
* src/test/java/org/glom/libglom/tests/DocumentTest.java: Add a test
for get_suitable_table_to_view_details().
2011-10-15 Ben Konrath <
[email protected]>
Enable Glib::ustring reference parameters.
I also removed the %ignore for FieldFormatting.get_choices_related() so
that I could use this method as a test case.
* src/glib_ustring_reference_parameter.i: New file to enable
Glib::ustring reference parameters.
* src/glom.i: Include glib_ustring_reference_parameter.i. Remove
%ignore for FieldFormatting.get_choices_related(). Add %apply to
enable Glib::ustring reference parameters in
FieldFormatting.get_choices_related(). Cleanup comments a bit.
* src/test/java/org/glom/libglom/tests/DocumentTest.java: Add test case
for Glib::ustring reference parameters.
2011-10-14 Ben Konrath <
[email protected]>
Add LayoutItem_CalendarPortal class.
* Makefile.am: Add LayoutItem_CalendarPortal.java to list of compiled Java
files.
* src/glom.i: Add statements to wrap LayoutItem_CalendarPortal.
2011-10-05 Ben Konrath <
[email protected]>
Add LayoutItem_Notebook class.
* Makefile.am: Add LayoutItem_Notebook.java to list of compiled Java
files.
* src/glom.i: Add statements to wrap LayoutItem_Notebook. Add
cast_dynamic method to LayoutItem_Notebook.
2011-10-05 Ben Konrath <
[email protected]>
Add methods from Glom::DbUtils.
All of the methods from Glom::DbUtils that are easy to wrap are now
available in the bindings including
DbUtils::layout_field_should_have_navigation().
* src/glom.i: Rename glom_sql_builder_methods.i to glom_db_utils.i. Add
include for libglom/db_utils.h. Temporarily ignore a couple of new
methods in LayoutItem_Portal. Cleanup some comments.
* src/glom_db_utils.i: Renamed from glom_sql_builder_methods.i. Add
statements to wrap Glom::DbUtils.
2011-10-04 Ben Konrath <
[email protected]>
Add clear section markers to main interface file.
No functionality has been changed with this commit.
* src/glom.i:
2011-10-04 Ben Konrath <
[email protected]>
Use libgdamm 4.1.3 in the jhbuild moduleset.
* tools/build/java-libglom.modules: