1.9.4: 2009-03-10 Armin Burgmeier * win32/build_installer: Only install the postgres and sqlite libgda provider, and not all the others. This prevents libgda from trying to load them, and fail doing so with a user-visible message about some DLLs not being found. 2009-03-10 Armin Burgmeier * glom/xsl_utils.cc: Made reports work on Windows, by using Glib::get_tmp_dir() instead of "/tmp" and ShellExecute instead of g_app_info_launch_default_for_uri(), for which file:// URIs don't seem to be supported on Windows. * win32/build_installer: Don't ship libdb47.dll anymore, as this is no longer required with libgda 3.99.13. 2009-03-09 Claude Paroz * glom/mode_data/dialog_layout_details.cc: Add a translator comment. Bug #574672. 2009-03-09 Murray Cumming * configure.in: Require the latest (from svn, not yet in a tarball) version of libgda, needed by the images in the example files. 2009-03-09 Armin Burgmeier * glom/libglom/connectionpool_backends/postgres_self.cc (startup): Use "postgres" executable instead of "postmaster". * glom/libglom/connectionpool.cc: Fixed the Windows build. * glom/main.cc: Fixed locale search path. * win32/querymodules.bat: Removed, this file is no longer required. * win32/build-installer: * win32/glom.iss.in: * win32/Makefile.am: * win32/README: Update for current version. 2009-03-09 Murray Cumming * glom/libglom/document/document_glom.h: HostingMode: Declare all enum values regardless of what is enabled, to avoid ABI confusion and to maybe allow us to say that some are not supported at runtime. 2009-03-08 Stéphane Raimbault * glom/libglom/data_structure/glomconversions.cc: sanity_check_date_text_representation_uses_4_digit_years(): Fix a typo in the word representation of the error message. 2009-03-08 Stéphane Raimbault * configure.in: Changes made to reflect new po linguas setup including removing ALL_LINGUAS (now in new file LINGUAS). * po/LINGUAS: new file. Fixes #569721 2009-03-06 Murray Cumming * glom/libglom/document/document_glom.cc: load_after(): Added an ifdef to fix the client-only sqlite build. 2009-03-06 Murray Cumming * glom/frame_glom.cc: connection_request_password_and_choose_new_database_name(): Added an ifdef to fix the client-only postgres build. 2009-03-06 Murray Cumming * glom/mode_data/box_data_portal.cc: get_suitable_record_to_view_details(): Use the correct primary key of the related table. This fixes navigation on the Small Business Example, on the invoice lines, which goes to the product record. 2009-03-06 Murray Cumming * examples/example_lesson_planner.glom: * examples/example_project_manager.glom: * examples/example_smallbusiness.glom: Resaved these, because libgda corrected the string format for binary data (images). libgda also fixed the crash when parsing that string, as used in from_file_format(). 2009-03-05 Murray Cumming * glom/libglom/data_structure/field.cc: from_file_format(): Add some checks. 2009-03-04 Murray Cumming * configure.in: Generate libglom/libglom_config.h instead of config.h, so we can install it and use it in our public headers. * glom/libglom/Makefile.am: Install libglom_config.h. * glom/libglom/glom-1.0.pc.in: Correct the shared library name. * *.[h|cc]: Include libglom/libglom_config.h instead of config.h. 2009-03-04 Murray Cumming * configure.in: Ran autoupdate on this so it does things as per what is currently correct. 2009-03-04 Murray Cumming * glom/libglom/Makefile.am: Link to the correct library name for test_document.cc * glom/libglom/test_document.cc: List the tables in the document. 2009-03-03 Armin Burgmeier * glom/libglom/document/document_glom.cc (load_after): Fixed another misplaced else which prevented postgresql files from being opened when support for both postgresql and sqlite was enabled. * glom/libglom/document/document_glom.h: Changed DEFAULT_HOSTED to HOSTING_MODE_POSTGRES_SELF if postgresql is enabled. * glom/application.cc (constructor): Use DEFAULT_HOSTED to initialize m_ui_save_extra_newdb_hosting_mode, so that we don't need an #ifdef. 2009-03-03 Murray Cumming * *.[h|cc]: Include all libglom headers via libglom/ instead of glom/libglom so it works from outside, with the path to the installed headers, from pkg-config. * All Makefile.am files: Add -I@top_srcdir@/glom to AM_CPPFLAGS. The repetition is awful. We should avoid that somehow. 2009-03-03 Murray Cumming * configure.in: * glom/libglom/Makefile.am: * glom/libglom/glom-1.0.pc.in: Added and installed pkg-config file. * glom/Makefile.am: * glom/libglom/data_structure/Makefile.am: * glom/libglom/data_structure/layout/Makefile.am: * glom/libglom/data_structure/layout/report_parts/Makefile.am: * glom/libglom/document/Makefile.am: * glom/python_embed/python_module/Makefile.am: * regression_tests/Makefile.am: Change libglom to libglom-1.0 so we can use proper API versioning. Install the headers. * glom/libglom/document/document_glom.cc: Use std::auto_ptr<> to avoid instantiating Bakery::BusyCursor if no parent window was set, to avoid the need to initialize gtkmm/GTK+. 2009-03-03 Murray Cumming * glom/libglom/document/document_glom.h: Add some SWIG ifdefs to improve the Java wrapping output with swig. 2009-03-03 Murray Cumming * glom/dialog_existing_or_new.cc: Parser::on_start_element(): Call xmlStopParser() to avoid unnecessary extra parsing, fixing a TODO. 2009-03-03 Murray Cumming * glom/libglom/document/Makefile.am: * glom/libglom/document/document_glom.[h|cc]: Renamed the *_HOSTED enum values to use a prefix. Moved the View tyepdefs into a view.h file. * glom/application.cc: * glom/base_db.h: * glom/dialog_connection.cc: * glom/frame_glom.cc: * glom/layout_item_dialogs/dialog_field_layout.h: * glom/mode_design/dialog_design.h: * glom/relationships_overview/dialog_relationships_overview.h: * glom/translation/dialog_identify_original.h: * glom/translation/window_translations.[h|cc]: * glom/utility_widgets/datawidget.h: * glom/utility_widgets/filechooserdialog_saveextras.cc: Adapted. 2009-03-02 Armin Burgmeier * glom/frame_glom.cc: (connection_request_password_and_choose_new_database_name): Call connectionpool's startup() also if SQLite is disabled. Bug #573799. 2009-03-02 Murray Cumming * Many .h files: Changed many protected to private to make the API clearer. This is particularly important for libglom, as I start thinking of wrapping the API for Java/Web. 2009-03-02 Murray Cumming * configure.in: Added an --enable-postgresql option, so we can have embedded builds that only use SQLite. Disable SQLite by default. * glom/utility_widgets/filechooserdialog_saveextras.[h|cc]: Don't mention the backend names if only SQLite is disabled, to avoid confronting people with unnecessary technicalese. * glom/application.cc: * glom/dialog_connection.cc: * glom/frame_glom.cc: * glom/libglom/connectionpool_backends/Makefile.am: * glom/libglom/connectionpool_backends/postgres.h: * glom/libglom/connectionpool_backends/postgres_central.[h|cc]: * glom/libglom/connectionpool_backends/sqlite.h: * glom/libglom/data_structure/glomconversions.h: * glom/libglom/document/document_glom.[h|cc]: * glom/libglom/gst-package.c: * glom/libglom/test_connectionpool.cc: * glom/main.cc: Added ifdefs to allow builds with -enable-postgresql=no. * glom/dialog_import_csv.cc: Replace gettext() with _().