1. 25 Oct, 2011 2 commits
  2. 24 Oct, 2011 11 commits
  3. 23 Oct, 2011 1 commit
  4. 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
      --enable-warnings=fatal.
      492690ed
  5. 20 Oct, 2011 8 commits
  6. 19 Oct, 2011 9 commits
  7. 18 Oct, 2011 8 commits
    • Murray Cumming's avatar
      1.19.14 · 18f8b6a6
      Murray Cumming authored
      18f8b6a6
    • 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.
      da38817b
    • 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.
      6d1c4843
    • 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.
      db63ba66
    • 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.
      6da30a80
    • 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]
      baa0549c
    • 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
      filepath.
      * 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.
      1db3de45
    • 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.
      eca8c786