1. 20 Sep, 2013 1 commit
    • Murray Cumming's avatar
      Move to a generated (in dist) ChangeLog · 76ead2b7
      Murray Cumming authored
      I still do not like not being able to correct the commit messages
      and I still do not like how it leads us to be lazy when writing
      the ChangeLog entries, but git still makes it hard to manage
      branches when using a manually-written ChangeLog.
  2. 11 Sep, 2013 2 commits
    • Murray Cumming's avatar
      Use the regular AX_BOOST_PYTHON configure.ac macro. · 75c2f220
      Murray Cumming authored
      	* macros/ax_boost_python_murrayc.m4: Remove this heavily changed
      	version of AX_BOOST_PYTHON because it is hard to use this while getting
      	improvements to the official one.
      	* macros/mm-python.m4: Remove this, which we used in
      	* macros/: Add the latest versions of ax_python_devel.m4,
      	ax_boost_base.m4 and ax_boost_python.m4.
      	* configure.ac: Use the official macros.
      	* Makefile_libglom.am: Create some variables to build the
      	flags and concatenate them together for simple use, and use them.
      	* Makefile_tests.am: Use the variables here too.
      Hopefully this does not cause any regressions. It should make it
      easier to use python 3.
    • Murray Cumming's avatar
      Avoid a crash at shutdown. · 9d7e0d61
      Murray Cumming authored
      	* glom/bakery/appwindow_withdoc.cc: on_menu_file_close():
      	Close the document after hiding the UI, instead of the other way
      	around because, with Gio::Application, hiding the window can cause
      	it to be deleted, making any further use of it impossible.
  3. 22 Jul, 2013 1 commit
  4. 18 Jul, 2013 1 commit
  5. 10 Jun, 2013 1 commit
  6. 17 May, 2013 1 commit
  7. 30 Apr, 2013 1 commit
  8. 26 Apr, 2013 1 commit
  9. 03 Apr, 2013 1 commit
    • Murray Cumming's avatar
      Python embedding: Deal with TODO. · 8640e266
      Murray Cumming authored
      	* glom/libglom/python_embed/pygdavalue_conversions.cc:
      	Avoid a redefinition of PyDateTime_IMPORT for python 2.7
      	and later, which fixes the compiler error.
  10. 02 Apr, 2013 6 commits
    • Murray Cumming's avatar
      Deal with a minor TODO. · c35ee022
      Murray Cumming authored
      	* glom/frame_glom.h: Make the signal handlers private.
    • Murray Cumming's avatar
      DbUtis: Some const improvements. · d357f8ba
      Murray Cumming authored
      	* glom/libglom/db_utils.cc: Make the Document* const
      	where possible.
    • Murray Cumming's avatar
      Document: Use DocumentTableInfo by sharedptr<>. · c2a261c2
      Murray Cumming authored
      * glom/glom/libglom/document/document.[h|cc]:
      get_tables(): Have both const and non-const overloads of this
      method, to allow proper use of const elsewhere.
      * glom/libglom/db_utils.cc: Adapted.
    • Murray Cumming's avatar
      Document: Use DocumentTableInfo by sharedptr<>. · 223de912
      Murray Cumming authored
      * glom/glom/libglom/document/document.[h|cc]:
      DocumentTableInfo: Remove the copy constructor and operator=(),
      making them private and unimplemented. Use it by sharedptr<>
      instead to be more efficient and simpler.
      Add get_table_info() so we can check for a null sharedptr<>
      instead of repeatedly using std::map::find() awkwardly.
    • Murray Cumming's avatar
      Update another test .glom file. · 0de8d89d
      Murray Cumming authored
      * examples/sqlite/test_sqlite_music/test_sqlite_music.glom:
      Remove the parent_table attributes.
    • Murray Cumming's avatar
      LayoutInfo: Remove the superfluous parent_table. · 42c6ba9a
      Murray Cumming authored
              * glom/glom/libglom/document/document.[h|cc]:
      	LayoutInfo: Do not bother storing the parent table here because
      	these are all stored in a table-specific map anyway.
              * glom/glom/glom_document.dtd: Remove the mention of the
      	parent_table attribute. The parent table node already specifies
              * glom/examples/*.glom: Resave these without the parent_table
  11. 01 Apr, 2013 3 commits
  12. 21 Mar, 2013 1 commit
    • Murray Cumming's avatar
      Add a translation file for an example. · aa86eff7
      Murray Cumming authored
              * examples/po_files/example_film_manager/gl.po:
      	Add this missing file. The translations seem to have got into
      	the .glom file somehow, but this .po file was not in git.
  13. 15 Mar, 2013 1 commit
  14. 11 Mar, 2013 2 commits
  15. 25 Feb, 2013 1 commit
    • Murray Cumming's avatar
      Fix the build on Ubuntu Raring. · bab3794d
      Murray Cumming authored
              * macros/macros/mm-python.m4: Also check in
              /usr/lib/i386-linux-gnu/ because that is where Ubuntu Raring
              (and maybe Debian) put libpython2.7 there.
  16. 04 Feb, 2013 2 commits
  17. 28 Jan, 2013 1 commit
  18. 16 Jan, 2013 1 commit
  19. 15 Jan, 2013 1 commit
  20. 13 Jan, 2013 4 commits
  21. 11 Jan, 2013 7 commits
    • Murray Cumming's avatar
      MySQL: Add checkboxes to select MySQL when it is in the build. · ee434b33
      Murray Cumming authored
              * glom/utility_widgets/filechooserdialog_saveextras.[h|cc]:
      Add checkboxes for self-hosting and central MySQL servers.
              * glom/frame_glom.cc: Handle MySQL too, though the
      MySQL startup does not actually work here, though it
      does in the tests.
    • Murray Cumming's avatar
      FileChooserDialog_SaveExtras: Simplify the ifdefing. · 9e6f4493
      Murray Cumming authored
              * glom/utility_widgets/filechooserdialog_saveextras.cc:
      Do not worry about so many combinations of options.
      Let people worry about that if they use it.
    • Murray Cumming's avatar
      MySQL:Use MySQL syntax to change columns · ccf09aae
      Murray Cumming authored
      	* glom/libglom/connnectionpool_backends/mysql.cc:
      	MYSQL uses:
      	ALTER TABLE tablename CHANGE oldfieldname newfieldname oldfieldtype
      	to rename columns, instead of PostgreSQL's:
      	ALTER TABLE tablename RENAME oldfieldname TO newfieldname
    • Murray Cumming's avatar
      MySQL: Avoid affecting PostgreSQL field types. · afa78877
      Murray Cumming authored
              * glom/libglom/db_utils.[h|cc]: create_table():
      Take the hosting mode so we can only do checks for
      relevant hosting modes.
              * glom/appwindow.cc: Adapt.
    • Murray Cumming's avatar
      MySQL: Use double instead of DECIMAL for numeric values. · 7cd47f1c
      Murray Cumming authored
              * glom/libglom/db_utils.cc: create_table():
      Do not use DECIMAL with no parameters because that means
      0 decimal points, so we lose data when reading values
    • Murray Cumming's avatar
      tests: Add try/catch around all calls of the test functions. · 99acb3ec
      Murray Cumming authored
              * tests/test_selfhosting_utils.[h|cc]:
      Check for uncaught exceptions.
    • Murray Cumming's avatar
      tests: Avoid some copy/pasting. · 0e9b9abc
      Murray Cumming authored
      * tests/test_selfhosting_utils.[h|cc]:
      Add test_all_hosting_modes().
              * tests/test_selfhosting_new_empty.cc:
              * tests/test_selfhosting_new_empty_change_sysprefs.cc:
              * tests/test_selfhosting_new_empty_then_users.cc:
              * tests/test_selfhosting_new_from_example.cc:
              * tests/test_selfhosting_new_from_example_operator.cc:
              * tests/test_selfhosting_new_from_example_strangepath.cc:
              * tests/test_selfhosting_new_then_alter_table.cc:
              * tests/test_selfhosting_new_then_change_columns.cc:
              * tests/test_selfhosting_new_then_choices.cc:
              * tests/test_selfhosting_new_then_image.cc:
              * tests/test_selfhosting_new_then_lookup.cc:
              * tests/test_selfhosting_new_then_report.cc:
              * tests/test_selfhosting_non_numeric_primary_keys.cc:
              * tests/test_selfhosting_sqlinjection.cc: Use this,
      passing a callback slot, instead of having the same repeated
      code in each file.