1. 25 Sep, 2013 1 commit
  2. 23 Sep, 2013 3 commits
  3. 22 Jul, 2013 1 commit
  4. 11 Mar, 2013 3 commits
  5. 12 Apr, 2012 1 commit
  6. 11 Apr, 2012 1 commit
  7. 14 Mar, 2012 1 commit
    • Murray Cumming's avatar
      Make sure that get_appwindow() overrides are const. · 6f234d74
      Murray Cumming authored
      	* glom/mode_data/buttonglom.[h|cc]:
      	* glom/mode_data/datawidget/checkbutton.[h|cc]:
      	* glom/mode_data/datawidget/combo.[h|cc]:
      	* glom/mode_data/datawidget/combo_as_radio_buttons.[h|cc]:
      	* glom/mode_data/datawidget/datawidget.[h|cc]:
      	* glom/mode_data/datawidget/entry.[h|cc]:
      	* glom/mode_data/datawidget/label.[h|cc]:
      	* glom/mode_data/datawidget/textview.[h|cc]:
      	* glom/utility_widgets/imageglom.[h|cc]:
      	* glom/utility_widgets/notebookglom.[h|cc]: get_appwindow(): This should
      	be const because the pure virtual function (that it is meant to override)
      	is const.
      	This fixes warnings found by clang++.
      6f234d74
  8. 13 Feb, 2012 2 commits
  9. 04 Nov, 2011 1 commit
    • Murray Cumming's avatar
      Handle GdaBlob in query results instead of just GdaBinary. · daed2f59
      Murray Cumming authored
      	* glom/libglom/data_structure/field.cc: to_file_format():
      	The Value might have a GdaBlob that needs to be read first, to get the
      	GdaBinary. This can happen with SQLite.
      	* glom/libglom/python_embed/pygdavalue_conversions.cc:
      	glom_pygda_value_as_boost_pyobject(): Handle GdaBlob too, though neither
      	this or the GdaBinary case use the data length, so this code is doomed
      	if it is ever used. I need to find out if Python can really represent
      	binary data, or if this should just not be handled here.
      	* glom/utility_widgets/imageglom.cc: get_binary(): Handle GdaBlob
      	too in the original data.
      	* tests/test_selfhosting_new_then_image.cc: Handle GdaBlob in the
      	data that is read back, for SQLite. Uncomment the SQLite test, fixing
      	make check with the latest libgda.
      daed2f59
  10. 02 Nov, 2011 1 commit
    • Murray Cumming's avatar
      Add and use utility functions for creating temporary files. · 25562202
      Murray Cumming authored
      * glom/libglom/utils.[h|cc]: Added get_temp_file_uri(),
      get_temp_file_path(), get_temp_directory_uri() and
      get_temp_directory_path(), using the correct awkward code that
      avoids overwriting existing files.
      * glom/application.cc:
      * glom/libglom/connectionpool_backends/postgres_self.cc:
      * glom/libglom/report_builder.cc:
      * glom/utility_widgets/imageglom.cc:
      * tests/import/utils.cc:
      * tests/test_document_autosave.cc:
      * tests/test_selfhosting_new_empty.cc:
      * tests/test_selfhosting_utils.cc: Use these functions instead
      of repeating the same stuff badly.
      * Makefile_tests.am: Link to libglom so the import tests can use
      the new utility functions.
      25562202
  11. 25 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Change #includes for the latest glibmm. · a9513ff7
      Murray Cumming authored
      Add individual includes instead of general giomm.h, glibmm.h or gtkmm.h
      includes.
      Among other things, this might let us avoid the annoying warning about
      deprecated GThread functions.
      a9513ff7
  12. 24 Oct, 2011 1 commit
  13. 10 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Use gdk_window_get_device_position() instead of gdk_window_get_pointer(). · 2e970052
      Murray Cumming authored
      * glom/mode_data/box_data_calendar_related.cc:
      * glom/mode_data/buttonglom.cc:
      * glom/mode_data/datawidget/checkbutton.cc:
      * glom/mode_data/datawidget/combo.cc:
      * glom/mode_data/datawidget/combo_as_radio_buttons.cc:
      * glom/mode_data/datawidget/datawidget.cc:
      * glom/mode_data/datawidget/entry.cc:
      * glom/mode_data/datawidget/label.cc:
      * glom/mode_data/datawidget/textview.cc:
      * glom/mode_data/db_adddel/db_adddel.cc:
      * glom/mode_data/flowtablewithfields.cc:
      * glom/utility_widgets/adddel/adddel.cc:
      * glom/utility_widgets/imageglom.cc:
      * glom/utility_widgets/notebooklabelglom.cc: A fairly simple search/replace.
      2e970052
  14. 19 Sep, 2011 1 commit
  15. 08 Sep, 2011 1 commit
    • Murray Cumming's avatar
      Remove the Mameo UI. · e4e655db
      Murray Cumming authored
      * Makefile.am:
      * Makefile_glom.am:
      * configure.ac:
      * glom/*.[h|cc]: Remove the --enable-maemo option and the ifdefs in the code.
      Unforunately, the platform is dead so that Hildon API will never be available
      to us in the real world.
      e4e655db
  16. 20 Jul, 2011 1 commit
  17. 19 Jul, 2011 1 commit
  18. 15 Jul, 2011 3 commits
  19. 14 Jul, 2011 8 commits
  20. 13 Jul, 2011 5 commits
    • Murray Cumming's avatar
      ImageGlom: Remove hard-coded mentions of PNG file formats. · 1dec7b19
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: Open With: Use the actual (sniffed)
      mime type.
      Clipboard: Try to use the actual mime type, though this does not seem to
      work for any mime type now.
      1dec7b19
    • Murray Cumming's avatar
      ImageGlom: Show the missing image icon again. · 01af8b7c
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: set_value(): Clear the data, not the
      pixbuf.
      show_image_data(): Check for empty data and show the missing icon if so.
      01af8b7c
    • Murray Cumming's avatar
      ImageGlom: Make the context-menu work with the EvView. · fa52b8d0
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: Connect to the widget's own signal.
      fa52b8d0
    • Murray Cumming's avatar
      ImageGlom: Loading/Saving: Add more FileChooser filters. · 49a5c131
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: set_file_filter_images():
      Use ev_document_factory_add_filters().
      49a5c131
    • Murray Cumming's avatar
      Image fields: Support PDF (and other types supported by evince) · f62ccd27
      Murray Cumming authored
      * configure.ac: Depend on evince-view-3.0, which is a library installed by
      evince. It is packaged separately from evince by distros.
      * glom/main.cc: Call ev_init().
      * glom/utility_widgets/dialog_image_load_progress.[h|cc]: Remove
      get_pixbuf() and do not use Gdk::PixbufLoader here.
      * glom/utility_widgets/imageglom.[h|cc]: Create the pixbuf here, from
      the data from the dialog.
      Add an EvView, and use that instead of the Gtk::Image when the mime type is
      supported by EvView. We use g_content_type_guess() to sniff the mime type
      from the actual data, but this will probably not always work. We should
      store the mime type (and the filename) too.
      
      The context menu doesn't work with the EvView yet.
      f62ccd27
  21. 12 Jul, 2011 2 commits