1. 24 Oct, 2011 11 commits
  2. 23 Oct, 2011 1 commit
  3. 21 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Avoid calling g_thread_init() if possible. · 492690ed
      Murray Cumming authored
      * configure.ac: Add a comment about not linking to gthread-2.0 in future.
      * glom/libglom/init.cc:
      * tests/import/test_parsing.cc:
      * tests/import/test_signals.cc: Avoid calls to deprecated Glib::thread_init()
      if glib is new enough.
      This is a step to making Glom build against glibmm from git master with
  4. 20 Oct, 2011 8 commits
  5. 19 Oct, 2011 9 commits
  6. 18 Oct, 2011 10 commits
    • Murray Cumming's avatar
      1.19.14 · 18f8b6a6
      Murray Cumming authored
    • Murray Cumming's avatar
      Add a simple SQL injection test. · da38817b
      Murray Cumming authored
      * tests/test_selfhosting_sqlinjection.cc: Attempt to do bad things
      that would be possible if our SQL values were not escaped properly
      in the SQL. (libgda takes care of this.)
      * Makefile_tests.am: Mention the new test.
    • Murray Cumming's avatar
      Self hosting test: Check that other tables exist. · 6d1c4843
      Murray Cumming authored
      	* glom/libglom/document/document.[h|cc]: Added get_field_primary_key(),
      	for use by:
      	* tests/test_selfhosting_utils.[h|cc]: Added test_table_exists().
      	* tests/test_selfhosting_new_from_example.cc: Add quick checks that
      	some other tables exist.
    • Murray Cumming's avatar
      Test some query functions. · db63ba66
      Murray Cumming authored
      	* tests/test_selfhosting_utils.[h|cc]: Added test_model_expected_size().
      	* tests/test_selfhosting_new_from_example.cc: Test the quick find and
      	the count query.
    • Murray Cumming's avatar
      Avoid a compiler warning. · 6da30a80
      Murray Cumming authored
      	* glom/libglom/data_structure/glomconversions.cc: format_time():
      	Return a result from the catch block.
    • Murray Cumming's avatar
      Avoid some copy/pasting of code. · baa0549c
      Murray Cumming authored
      * glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
      * glom/utility_widgets/layouttoolbar.cc:
      * glom/utility_widgets/layouttoolbarbutton.cc: Moved get_icon_path() to:
      * glom/utils_ui.[h|cc]
    • Murray Cumming's avatar
      Test report contents. · 1db3de45
      Murray Cumming authored
      * glom/libglom/xsl_utils.[h|cc]: transform(): Return the contents,
      not a filepath.
      * glom/libglom/report_builder.[h|cc]: report_build(): return the
      contents, not the path. Add report_build_and_save() to get a temporary
      * glom/mode_data/box_data_manyrecords.cc:
      * glom/frame_glom.cc: Adapted.
      * tests/test_selfhosting_new_then_report.cc: Check that some expected
      text is in the generated HTML.
    • Murray Cumming's avatar
      Test report building. · eca8c786
      Murray Cumming authored
      * tests/test_selfhosting_new_from_example.cc: Move most code into
      utility functions in:
      * tests/test_selfhosting_utils.[h|cc]:
      * tests/test_selfhosting_new_then_report.cc: Add a new test that also
      generates a HTML report.
      * Makefile_tests: Mention the new files.
    • Murray Cumming's avatar
      Film Manager example: Change default table. · 4146efc4
      Murray Cumming authored
      * examples/example_film_manager.glom: Make the Scenes table appear first so
      people get a better idea of what this is about - managing production of a
      single film, not managing a collection of films.
    • Murray Cumming's avatar
      Add a test for the locale problem and for a missing translated date format. · 743ce0db
      Murray Cumming authored
      	* tests/test_glom_date_in_locales.sh: A new test that sets LANG and then tries
      	to start glom with it's date-checking option, to see if any fail.
      	However, this is not run during "make check", or even distributed, because
      	it depends on you having the locales installed and configured.