1. 28 Jan, 2011 1 commit
    • Murray Cumming's avatar
      Adapt to the gtkmm 3 change to using vectors. · 02ecae85
      Murray Cumming authored
      * 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.
      02ecae85
  2. 18 Jan, 2011 1 commit
  3. 16 Jan, 2011 2 commits
  4. 15 Jan, 2011 1 commit
  5. 12 Jan, 2011 1 commit
  6. 06 Jan, 2011 1 commit
  7. 05 Jan, 2011 3 commits
    • Murray Cumming's avatar
      tests: Link to all necessary libraries. · 3d39ec8d
      Murray Cumming authored
      * 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.
      3d39ec8d
    • Murray Cumming's avatar
      Use Gdk::Cursor via RefPtr. · fb433502
      Murray Cumming authored
      * 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.
      fb433502
    • Murray Cumming's avatar
      Replace a used of (removed from GTK+) gdk_spawn_*() API. · 921b7687
      Murray Cumming authored
      * glom/application.cc: This partially fixes the build.
      921b7687
  8. 16 Dec, 2010 8 commits
    • Murray Cumming's avatar
      More dealing with cppcheck errors. · 7d5ca968
      Murray Cumming authored
      * 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.
      7d5ca968
    • Murray Cumming's avatar
      Removed more unused methods. · e0cc4bf3
      Murray Cumming authored
      e0cc4bf3
    • Murray Cumming's avatar
      d687b82b
    • Murray Cumming's avatar
      Remove unused methods. · 8c957e25
      Murray Cumming authored
      * 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.
      8c957e25
    • Murray Cumming's avatar
      Remove unnecessary checks before use of delete. · 09c84e90
      Murray Cumming authored
      * 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.
      09c84e90
    • Murray Cumming's avatar
      2b8988f0
    • Ben Konrath 's avatar
      Add Eclipse 3.6 / CDT 7.0 configuration files. · a866111c
      Ben Konrath authored and Murray Cumming's avatar Murray Cumming committed
      * .cproject: New file generated by Eclipse.
      * .project: New file generated by Eclipse.
      a866111c
    • Murray Cumming's avatar
      Fix make check when using --enable-glom-ui=no. · 311bf85f
      Murray Cumming authored
      * Makefile_tests.am: Correct the LDADD flags for the selfhosting tests, so
      that make check still works when using --enable-glom-ui=no.
      311bf85f
  9. 14 Dec, 2010 2 commits
    • Murray Cumming's avatar
      Build: Reduce some duplication. · 6673e996
      Murray Cumming authored
      * 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.
      6673e996
    • Murray Cumming's avatar
      Build: Avoid use of non-UI cflags/libs where not necessary. · 3ce56537
      Murray Cumming authored
      * 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.
      3ce56537
  10. 13 Dec, 2010 3 commits
    • Murray Cumming's avatar
      Correct my previous commit. · 4cb912c1
      Murray Cumming authored
      * 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.
      4cb912c1
    • Murray Cumming's avatar
      Allow libglom to be built without building the Glom UI code too. · 8cd48c5a
      Murray Cumming authored
      * 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.
      8cd48c5a
    • Murray Cumming's avatar
      Fix the build with latest gtkmm. · 6dac6337
      Murray Cumming authored
      	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
      	Use Widget::render_icon_pixbuf() instead of the old render_icon() method.
      6dac6337
  11. 09 Dec, 2010 1 commit
  12. 08 Dec, 2010 2 commits
    • Murray Cumming's avatar
      More partial porting · 4475f7f2
      Murray Cumming authored
      4475f7f2
    • Murray Cumming's avatar
      Partial port to recent gtkmm API changes from git master. · 454aa887
      Murray Cumming authored
      * 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().
      454aa887
  13. 03 Dec, 2010 2 commits
    • Murray Cumming's avatar
      Fix the build with latest gtksourceviewmm from git master. · d152a0b0
      Murray Cumming authored
      * 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.
      d152a0b0
    • Murray Cumming's avatar
      Fix the build with latest gtkmm from git master. · 53fa45da
      Murray Cumming authored
      * 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.
      53fa45da
  14. 29 Nov, 2010 1 commit
    • Murray Cumming's avatar
      Replaced GtkRuler with GimpRuler because GtkRuler was removed from GTK 3. · 6b16a90f
      Murray Cumming authored
      * 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.
      6b16a90f
  15. 23 Nov, 2010 3 commits
    • Murray Cumming's avatar
      1.19.2 · 1ff08e8e
      Murray Cumming authored
      1ff08e8e
    • Murray Cumming's avatar
      Fix the tests build during distcheck · 60129d70
      Murray Cumming authored
      	* Makefile_glom.am: Correct eggspreadtablemm.c to eggspreadtablemm.cc.
      	* Makefile.am:
      	* Makefile_tests.am: Distribute the albums.csv test file and put the
      	path to its directory in a define.
      	* tests/import/test_parsing.cc: Use the define here, instead of using
      	get_current_directory, which is not enough when builddir!=srcdir.
      60129d70
    • Murray Cumming's avatar
      Correct NEWS · b903bd52
      Murray Cumming authored
      b903bd52
  16. 17 Nov, 2010 3 commits
  17. 14 Nov, 2010 3 commits
  18. 12 Nov, 2010 2 commits