1.19.3: 2011-02-07 Murray Cumming Require the correct gtksourceviewmm version. * configure.ac: Use the gtksourceviewmm version with the API changes to use vector. 2011-01-30 Murray Cumming Adapt to libgdamm API changes. * glom/libglom/connectionpool.cc: * glom/libglom/db_utils.cc: libgdamm now uses std::vector instead of *Handle, like gtkmm. 2011-01-28 Murray Cumming Adapt to the gtkmm 3 change to using vectors. * glom/mode_data/datawidget/cellrenderer_dblist.cc: * glom/mode_data/db_adddel/db_adddel.cc: * glom/mode_design/layout/dialog_choose_field.cc: * glom/mode_design/print_layouts/print_layout_toolbar_button.cc: * glom/mode_design/print_layouts/window_print_layout_edit.h: * glom/utility_widgets/imageglom.cc: * glom/utility_widgets/layouttoolbarbutton.cc: Use std::vector instead of std::list. * glom/dialog_existing_or_new.cc: This one even used the intermediate type directly, showing how necessary this API change was. 2011-01-18 Murray Cumming Disable more deprecated API. * configure.ac: Add PANGO, PANGOMM, and CAIRO to the list. 2011-01-15 Murray Cumming Require the appropriate gtksourceviewmm version. * configure.ac: Use the latest gtksourceviewmm release. Older versions would not build with the newer versions of gtkmm 3, so this is a hint. 2011-01-13 Murray Cumming Require the appropriate goocanvasmm version. * configure.ac: Use the latest goocanvasmm release. The code has already been ported. 2011-01-06 Murray Cumming get_current_locale(): Handle more complex setlocale(NULL) results. * glom/libglom/utils.cc: locale_simplify(): On Ubuntu Natty, setlocale() has started returning a more complex string. Parse it, or the older simpler syntax. 2011-01-06 Murray Cumming tests: Link to all necessary libraries. * Makefile_libglom.am: Define libglom_all_libs to avoid duplication. * Makefile_glom.am: Use libglom_all_libs instead of repeating. * Makefile_tests.am: Use libglom_all_libs to explicitly link against the dependencies of libglom. This seems to have been automatic with the linker in previous versions of Ubuntu, but not with Ubuntu Natty. 2011-01-05 Murray Cumming Use Gdk::Cursor via RefPtr. * glom/bakery/busy_cursor.[h|cc]: * glom/utility_widgets/canvas/canvas_item_movable.[h|cc]: gtkmm 3 now requires Gdk::Cursor to be used via RefPtr. 2011-01-05 Murray Cumming Replace a used of (removed from GTK+) gdk_spawn_*() API. * glom/application.cc: This partially fixes the build. 2010-12-16 Murray Cumming More dealing with cppcheck errors. * glom/libglom/data_structure/layout/layoutitem.cc: operator=(): Check for src=this. * glom/base_db.cc: * glom/frame_glom.cc: * glom/frame_glom.h: * glom/libglom/connectionpool_backends/postgres_central.cc: * glom/libglom/data_structure/foundset.cc: * glom/libglom/data_structure/foundset.h: * glom/libglom/document/bakery/document_xml.cc: * glom/libglom/document/bakery/document_xml.h: * glom/libglom/document/document.cc: * glom/utility_widgets/adddel/adddel.cc: * tests/import/test_parsing.cc: * tests/import/test_signals.cc: Removed unused methods and unused variables. 2010-12-16 Murray Cumming Remove unused methods. * glom/libglom/data_structure/glomconversions.cc: * glom/libglom/document/bakery/document.cc: * glom/libglom/document/bakery/document.h: * glom/libglom/document/bakery/document_xml.cc: * glom/libglom/document/bakery/document_xml.h: * glom/libglom/document/document.cc: * glom/libglom/document/document.h: * glom/utility_widgets/canvas/test_canvas_editable.cc: Remove unused methods, found by cppcheck. Some other methods that cppcheck mentions seem to be virtual methods that are used. 2010-12-16 Murray Cumming Remove unnecessary checks before use of delete. * glom/application.cc: * glom/bakery/app_withdoc.cc: * glom/bakery/app_withdoc_gtk.cc: * glom/frame_glom.cc: * glom/libglom/connectionpool.cc: * glom/libglom/data_structure/layout/layoutitem.cc: * glom/libglom/sharedptr.h: * glom/libglom/test_avahi_publisher.cc: * glom/mode_data/box_data_portal.cc: * glom/mode_data/datawidget/combochoiceswithtreemodel.cc: * glom/mode_data/flowtablewithfields.cc: * glom/mode_data/notebook_data.cc: C++ doesn't mind if we call delete on a null pointer. Found by cppcheck. 2010-12-15 Ben Konrath Add Eclipse 3.6 / CDT 7.0 configuration files. * .cproject: New file generated by Eclipse. * .project: New file generated by Eclipse. 2010-12-16 Murray Cumming Fix make check when using --enable-glom-ui=no. * Makefile_tests.am: Correct the LDADD flags for the selfhosting tests, so that make check still works when using --enable-glom-ui=no. 2010-12-14 Murray Cumming Build: Reduce some duplication. * Makefile.am: * Makefile_glom.am: * Makefile_libglom.am: * Makefile_tests.am: Use AM_CPPFLAGS and AM_CFLAGS just to hold the (optional) warning flags, as we did previously. 2010-12-14 Murray Cumming Build: Avoid use of non-UI cflags/libs where not necessary. * Makefile.am: Do not use AM_CPPFLAGS, AM_CFLAGS or AM_CXXFLAGS. * Makefile_glom.am: * Makefile_libglom.am: * Makefile_tests.am: Instead use individual variables for each target, making sure that we use only the necessary flags. libglom may have been linking to some unnecessary UI libraries before. * glom/import_csv/csv_parser.h: Avoid unnecessary UI includes. * tests/import/test_parsing.cc: * tests/import/test_signals.cc: Avoid including gtkmm.h. As a side-effect, the build is now longer, because some files are now compiled again separately for the tests, presumably because they now need to be built with different compiler flags. But that is a better test. 2010-12-13 Murray Cumming Correct my previous commit. * configure.ac: Correct the no/yes test for --enable-glom-ui and add a comma so it actually works. * Makefile_tests.am: Restore the source file lists for the python tests. 2010-12-13 Murray Cumming Allow libglom to be built without building the Glom UI code too. * configure.ac: Added an --enable-glom-ui option, defaulting to yes. When using --enable-glom-ui=no then only libglom will be built. This is useful for deployment of libglom to servers where the UI dependencies are not wanted. We still use GLOM_LIBS and GLOM_FLAGS even in libglom, instead of using LIBGLOM_LIBS and LIBGLOM_CFLAGS anywhere, but this does reduce duplication of the flags in glom's UI build. * Makefile.am: Do not include Makefile_glom.am if the UI should not be built. * Makefile_glom.am: Move the bin_programs definition to here. * Makefile_libglom.am: Move the LTLIBRARIES definitions to here. * Makefile_tests.am: Attempt, unsuccessfully, to build and run UI-dependent tests only when the UI was built, when running make check. 2010-12-13 Murray Cumming Fix the build with latest gtkmm. * glom/mode_design/print_layouts/window_print_layout_edit.cc: Use Widget::render_icon_pixbuf() instead of the old render_icon() method. 2010-12-08 Murray Cumming Partial port to recent gtkmm API changes from git master. * glom/mode_data/datawidget/datawidget.cc: signal_style_changed was removed though it might come back later. * glom/mode_data/datawidget/entry.cc: Use override_color() instead of modify_text(). * glom/mode_data/placeholder-glom.cc: Use set_source_rgba() instead of set_source_color(). Use get_style_context() instead of get_style(). 2010-12-03 Murray Cumming Fix the build with latest gtksourceviewmm from git master. * glom/main.cc: * glom/mode_design/dialog_database_preferences.cc: * glom/mode_design/dialog_database_preferences.h: * glom/mode_design/fields/dialog_fieldcalculation.cc: * glom/mode_design/fields/dialog_fieldcalculation.h: * glom/mode_design/fields/dialog_fielddefinition.h: * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.c c: * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.h : * glom/mode_design/script_library/dialog_script_library.cc: * glom/mode_design/script_library/dialog_script_library.h: * tests/glade_toplevels_instantiation.cc: * tests/test_glade_derived_instantiation.cc: Change the gtksourceview namespace to Gsv. 2010-12-03 Murray Cumming Fix the build with latest gtkmm from git master. * glom/mode_design/dialog_add_related_table.cc: * glom/mode_design/fields/dialog_fielddefinition.cc: * glom/mode_design/script_library/dialog_script_library.cc: * glom/mode_design/users/dialog_choose_user.cc: * glom/mode_design/users/dialog_users_list.cc: Adapt to the ComoboBoxText append_text() -> append() change. 2010-11-29 Murray Cumming Replaced GtkRuler with GimpRuler because GtkRuler was removed from GTK 3. * glom/utility_widgets/gimpruler/: Added several source files from gimp, with small changes to make it build for us, to provide the GimpRuler widget. * COPYING: Switch to GPL version 3 (instead of 2), because the GIMP source code uses it. * Makefile_glom.am: * glom/glom_developer.glade: * glom/mode_design/print_layouts/window_print_layout_edit.[cc|cc]: Use GimpRuler instead of GtkRuler, creating and adding them in code instead of in the .glade file, to avoid Glade needing to know about that widget.