1. 20 Apr, 2017 1 commit
  2. 07 Nov, 2016 1 commit
  3. 06 Nov, 2016 1 commit
    • Murray Cumming's avatar
      Replace most std::list with std::vector. · 54ac4379
      Murray Cumming authored
      Because vectors generally have better performance, because they
      are contiguous, without pointer chasing.
      Most of these uses are small vectors being built up gradually,
      but the small object optimization should help there.
      54ac4379
  4. 16 May, 2016 6 commits
  5. 18 Mar, 2016 1 commit
  6. 17 Mar, 2016 1 commit
  7. 16 Mar, 2016 1 commit
  8. 08 Mar, 2016 1 commit
  9. 07 Mar, 2016 2 commits
  10. 09 Feb, 2016 1 commit
  11. 08 Feb, 2016 1 commit
  12. 07 Jan, 2016 1 commit
  13. 21 Aug, 2015 1 commit
  14. 07 Jul, 2015 1 commit
    • Murray Cumming's avatar
      C++11: range-based for loops: Don't get the container separately. · 12453ef5
      Murray Cumming authored
      Don't use an intermediate variable to get the container.
      Range-based for loops only evaluate the second part once so this is
      fine. This simplifies code by not making us think about whether the
      variable is used later in the method.
      
      This is only useful with containers that don't need to be
      const-iterated. We can const_cast<> the container, but that is
      lengthy and involves mentining the type.
      12453ef5
  15. 03 Jul, 2015 1 commit
  16. 02 Jul, 2015 1 commit
    • Murray Cumming's avatar
      C++11: Use range-based for loops. · b2c57958
      Murray Cumming authored
      This replaces all for loops that use const_iterator.
      This doesn't actually give use a const_iterator, unless the thing
      we are iterating is const, but it's worth it for the shorter code.
      b2c57958
  17. 01 Jul, 2015 1 commit
  18. 30 Jun, 2015 2 commits
  19. 24 Mar, 2015 1 commit
  20. 06 Jun, 2014 1 commit
  21. 21 Nov, 2013 1 commit
  22. 30 Oct, 2013 1 commit
    • Murray Cumming's avatar
      DbAddDel: Replace use of TreeView::remove_all_columns(). · db36708e
      Murray Cumming authored
      * glom/utils_ui.[h|cc]:
        Add a treeview_delete_all_columns() method to explicitly
        delete the columns instead of just removing them and sometimes
        implicitly deleting them with Gtk::TreeView::remove_all_columns().
      * glom/mode_data/db_adddel/db_adddel.[h|cc]:
      * glom/utility_widgets/adddel/adddel.cc:
      * glom/import_csv/dialog_import_csv.cc: Use it.
      
      This seems to fix a crash when switching between Data and Find mode,
      though that might just have been due to not resetting the pointer
      to the button column.
      db36708e
  23. 29 Oct, 2013 1 commit
  24. 22 Oct, 2013 2 commits
    • Murray Cumming's avatar
      Move icons/ and ui/ in to data/ · 868f3322
      Murray Cumming authored
      Because this is common in GNOME applications.
      868f3322
    • Murray Cumming's avatar
      Use toolpallete and about icons from a GResource instead of installing. · f79223fa
      Murray Cumming authored
      * Makefile.am:
      * Makefile_glom.am: Put the ToolPalette and AboutDialog icons in
        a GResource instead of installing them. Some icons still need
        to be installed as icons for the application and the mime type.
      * icons/16x16/*.png: Move the toolpalette icons to icons/ as these
        were the only size ever used anyway.
      * glom/utils_ui.cc: get_icon_path(): Make this return the resource
        path instead of a file path.
      * glom/appwindow.cc: Load the about dialog icon from a resource
        instead of the filesystem.
      * glom/mode_design/print_layotus/print_layout_toolbar_button.cc:
      * glom/utility_widgets/layouttoolbarbutton.cc: Constructor:
        Load the icon from a resource instead of from the filesystem.
      f79223fa
  25. 22 Jul, 2013 1 commit
  26. 12 Apr, 2012 1 commit
  27. 23 Feb, 2012 1 commit
  28. 13 Feb, 2012 1 commit
  29. 05 Feb, 2012 1 commit
    • Murray Cumming's avatar
      Button scripts and Field Calculations: Test button: Check for pygtk2. · 42ab9898
      Murray Cumming authored
      * glom/mode_data/box_data.cc: :execute_button_script(): Move the
      warning UI into
      * glom/utils_ui.[h|cc]: a new script_check_for_pygtk2_with_warning()
      method.
      * glom/mode_design/fields/dialog_fieldcalculation.cc: on_button_test():
      * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
      on_button_test_script(): Use the new function here.
      42ab9898
  30. 16 Jan, 2012 2 commits
  31. 26 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Add and move #includes for the latest glibmm. · 6e78d9b2
      Murray Cumming authored
      	* glom/import_csv/csv_parser.cc:
      	* glom/import_csv/dialog_import_csv_progress.cc:
      	* glom/libglom/connectionpool.cc:
      	* glom/libglom/connectionpool_backends/postgres_self.cc:
      	* glom/libglom/privs.cc:
      	* glom/libglom/spawn_with_feedback.cc:
      	* glom/mode_data/box_data_list.cc:
      	* glom/mode_data/box_data_list_related.cc:
      	* glom/mode_data/db_adddel/db_adddel.cc:
      	* glom/mode_data/notebook_data.cc:
      	* glom/mode_design/print_layouts/window_print_layout_edit.h:
      	* glom/utility_widgets/dialog_image_load_progress.cc:
      	* glom/utility_widgets/dialog_image_save_progress.cc:
      	* glom/utils_ui.cc:
      	* tests/import/utils.cc: Add individual glibmm includes now that
      	gmmproc does not include glibmm.h from headers.
      	Always include glibmm/thread.h first to avoid deprecation warnings.
      6e78d9b2