- 08 Apr, 2010 1 commit
-
-
Murray Cumming authored
* glom/utility_widgets/imageglom.[h|cc]: Move scale_keeping_ratio() to glom/utils_ui.[h]cc] as Utils::image_scale_keeping_ratio(). * glom/utility_widgets/canvas/canvas_image_movable.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/flowtable_dnd.cc: Adapted.
-
- 28 Feb, 2010 1 commit
-
-
Murray Cumming authored
-
- 06 Nov, 2009 1 commit
-
-
Murray Cumming authored
* glom/utility_widgets/imageglom.cc: on_menupopup_activate_select_file(): Check for a null parent window pointer to avoid a crash, fixing bug #600954 (Michael Hasselmann).
-
- 13 Oct, 2009 1 commit
-
-
Murray Cumming authored
Replace use of != NULL with nothing.
-
- 07 Sep, 2009 1 commit
-
-
Murray Cumming authored
-
- 05 Sep, 2009 1 commit
-
-
Murray Cumming authored
* glom/application.[h|cc]: Remove unused (and unnecessary since the new initial dialog) on_menu_file_open() and on_menu_file_close() overrides and ui_file_select_open_with_browse(). * glom/dialog_existing_or_new.cc: on_select_clicked(): Use Hildon::FileChooserDialog on Maemo. * glom/bakery/app_withdoc_gtk.cc: Remove the uncommented undef of GLOM_ENABLE_MAEMO - no more nasty hacks please. Instead comment-out the set_menu() call with a TODO, leaving the rest of the maemo-specific code working.
-
- 04 Sep, 2009 2 commits
-
-
Murray Cumming authored
is used.
-
Murray Cumming authored
* configure.ac: Correct the AS_IF() calls so that we really do not need iso-codes in client-only mode. * glom/print_layout/canvas_layout_item.cc: * glom/print_layout/canvas_print_layout.cc: * glom/printoperation_printlayout.cc: Fix the build without exceptions, without properties and without default signal handlers, with ifdefs. * glom/base_db.cc: get_fields_for_table_from_database(): Actually add a no-exceptions ifdef for the use of Gda::MetaStruct::complement() instead of just ifdefing it out for Maemo. * glom/mode_data/notebook_data.cc: * glom/utility_widgets/adddel/adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/entryglom.cc: * glom/utility_widgets/imageglom.cc: Likewise, ifdef the use of get_accessible on GTKMM_ATKMM_ENABLED instead of GLOM_ENABLE_MAEMO, to fix the client-only non-maemo build on Maemo. Again, please stop abusing the MAEMO ifdef for hacks without even a TODO.
-
- 25 Aug, 2009 1 commit
-
-
Johannes Schmid authored
-
- 31 Jul, 2009 1 commit
-
-
Johannes Schmid authored
-
- 08 Jun, 2009 1 commit
-
-
Armin Burgmeier authored
* glom/utility_widgets/db_adddel/db_adddel.cc: Added an accessible name for the TreeView. * glom/utility_widgets/imageglom.h: * glom/utility_widgets/imageglom.cc: * glom/utility_widgets/entryglom.h: * glom/utility_widgets/entryglom.cc: Set an accessible name, based on the layout item's name.
-
- 07 May, 2009 2 commits
-
-
Armin Burgmeier authored
* glom/glom.glade: * glom/utility_widgets/dialog_image_progress.h: * glom/utility_widgets/dialog_image_progress.cc: * glom/utility_widgets/Makefile.am: Added a dialog which loads an image and shows progress of the operation. * glom/utility_widgets/imageglom.h: * glom/utility_widgets/imageglom.cc: Use this dialog when the user selects an image to load, to indicate progress for large images.
-
Murray Cumming authored
* glom/mode_data/flowtablewithfields.h: Made methods non-virtual where the virtual is unnecessary and misleading. * glom/utility_widgets/adddel/eggcolumnchooser/: Removed. * several: Fixed minor compiler warnings.
-
- 05 May, 2009 1 commit
-
-
Armin Burgmeier authored
* glom/libglom/sharedptr.h: Added operator!=. * glom/mode_data/flowtablewithfields.h: * glom/mode_data/flowtablewithfields.cc: Added set_other_field_value which is the same as set_field_value except that it does not set the value for widget that belongs to the passed layout item's widget itself. This can be used if that very widget already contains the new value to avoid setting it again. Especially when dealing with large images this brings an essential speedup. * glom/mode_data/box_data_details.cc (on_flowtable_field_edited): Use set_other_field_value, so that we don't set the value for the field which the user already changed again. * glom/utility_widgets/imageglom.h: * glom/utility_widgets/imageglom.cc: Store the original data of the image file, and return it in get_value(), instead of creating a PNG from the raw image data, to speed up loading a large image file. * glom/utils_ui.cc (get_pixbuf_for_gda_value): When loading images from the database, allow all image types, not just PNGs. * glom/xsl_utils.cc: Include gtk/gtk.h to fix the build for me.
-
- 30 Mar, 2009 1 commit
-
-
Murray Cumming authored
2009-03-30 Murray Cumming <murrayc@murrayc.com> * configure.ac: Remove the gtkmm dependency from libglom. * glom/libglom/Makefile.am: * glom/bakery/Makefile.am: * glom/libglom/busy_cursor.[h|cc]: Moved this to glom/bakery/. * glom/libglom/data_structure/glomconversions.[h|cc]: Moved get_pixbuf_for_gda_value() to glom/utils_ui.[h|cc]. * glom/libglom/*.[h|cc]: Adapted, and removed any gtkmm or gdkmm headers. svn path=/trunk/; revision=2035
-
- 27 Mar, 2009 1 commit
-
-
Murray Cumming authored
2009-03-27 Murray Cumming <murrayc@murrayc.com> * configure.ac, glom/libglom/*/Makefile.am: Do two separate PKG_CONFIG_MODULE() checks for Glom and libglom to avoid unnecessary dependencies in libglom. * Moved libglom/glade_utils.h to glom/libglom/glade_utils.h. * *.[h|cc]: Some incomplete improvement of includes, to use full paths, to make search/replace refactoring easier. svn path=/trunk/; revision=2032
-
- 17 Mar, 2009 1 commit
-
-
Murray Cumming authored
2009-03-17 Murray Cumming <murrayc@murrayc.com> * configure.ac: Remove the libglademm dependency. * glom/glom.glade: * glom/glom_developer.glade: Resaved as GtkBuilder format in glade-3. * glom/Makefile.am: * glom/variablesmap.[h|cc]: Copied this from libglademm and adapted it to Gtk::Builder. * glom/*.[h|cc]: Use Gtk::Builder instead of Gnome::Glade::Xml. The changes are mostly just search/replace. svn path=/trunk/; revision=1998
-
- 03 Mar, 2009 1 commit
-
-
Murray Cumming authored
2009-03-03 Murray Cumming <murrayc@murrayc.com> * *.[h|cc]: Include all libglom headers via libglom/ instead of glom/libglom so it works from outside, with the path to the installed headers, from pkg-config. * All Makefile.am files: Add -I@top_srcdir@/glom to AM_CPPFLAGS. The repetition is awful. We should avoid that somehow. svn path=/trunk/; revision=1950
-
- 13 Mar, 2008 1 commit
-
-
Murray Cumming authored
2008-03-13 Murray Cumming <murrayc@murrayc.com> Bug 521992 – Pressing Escape on Initial dialog does not close application properly. (Pavel Mlčoch) * glom/dialog_database_preferences.cc load_from_document(): Do not crash if the Gda::DataModel is empty. * glom/application.cc ui_file_select_save(), on_document_load(), offer_new_or_existing(): * glom/frame_glom.cc on_menu_file_export(): * glom/utility_widgets/imageglom.cc on_menupopup_activate_select_file(): Check for Gtk::RESPONSE_DELETE_EVENT instead of just Gtk::RESPONSE_CANCEL, so that we treat pressing Escape the same as pressing Cancel. When we just ignore this then we can leave the application in an unexpected state. svn path=/trunk/; revision=1456
-
- 20 Dec, 2007 1 commit
-
-
Murray Cumming authored
2007-12-20 Murray Cumming <murrayc@murrayc.com> * glom/libglom/data_structure/glomconversions.cc: get_text_for_gda_value(): Return escaped text for images, instead of using to_string(). This fixes the loading of images from the document, so they are not lost when closing the document. svn path=/trunk/; revision=1374
-
- 21 Nov, 2007 1 commit
-
-
Murray Cumming authored
2007-11-21 Murray Cumming <murrayc@murrayc.com> * glom/application.cc: * glom/utility_widgets/Makefile.am: * glom/utility_widgets/filechooserdialog.cc: * glom/utility_widgets/filechooserdialog.h: Rename this to: * glom/utility_widgets/filechooserdialog_saveextras.cc: * glom/utility_widgets/filechooserdialog_saveextras.h: because I want to add another custom one for loading. svn path=/trunk/; revision=1302
-
- 01 Oct, 2007 1 commit
-
-
Armin Burgmeier authored
2007-10-01 Armin Burgmeier <armin@openismus.com> * several files: Merged changes from the GLOM_CLIENTONLY branch. This adds an --enable-maemo configure option that builds a clientonly version of glom for the maemo platform. See the ChangeLog in the GLOM_CLIENTONLY branch for a detailed list of changes. svn path=/trunk/; revision=1156
-
- 14 Sep, 2007 1 commit
-
-
Armin Burgmeier authored
2007-09-14 Armin Burgmeier <armin@openismus.com> * several files: Merged changes from the GLOM_CLIENTONLY branch. This adds an --enable-client-only configure option that disables support for developer mode and self-hosting. See the ChangeLog in the GLOM_CLIENTONLY branch for a detailed list of changes. svn path=/trunk/; revision=1142
-
- 08 May, 2007 1 commit
-
-
Armin Burgmeier authored
2007-05-08 Armin Burgmeier <armin@openismus.com> * several files: Merged changes from the GLOM_LIBGDA3 branch. Glom now builds against the new libgda and pygda API. See the ChangeLog in that branch for a more detailed view of what has exactly changed. svn path=/trunk/; revision=1102
-
- 18 Oct, 2006 1 commit
-
-
Murray Cumming authored
2006-10-18 Murray Cumming <murrayc@murrayc.com> * glom/mode_data/dialog_layout_list.cc: * glom/mode_data/dialog_layout_list.h: Remove warn_about_images() and don't use it in on_button_add_field() and on_button_edit_field(). * glom/utility_widgets/imageglom.cc: * glom/utility_widgets/imageglom.h: Make scale_keeping_ratio() public, so we can use it from elsewhere, and check for null pixbufs. * glom/utility_widgets/db_adddel/db_adddel.cc: treeviewcolumn_on_cell_data(): Show pixbufs too, so that Image fields show up in the list view too.
-
- 06 Oct, 2006 1 commit
-
-
Murray Cumming authored
2006-10-06 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/db_adddel/Makefile.am: * glom/utility_widgets/imageglom.cc: Moved value->pixbuf conversion code from here to: * glom/libglom/data_structure/glomconversions.cc: * glom/libglom/data_structure/glomconversions.h: * glom/utility_widgets/db_adddel/cellrenderer_button.cc: * glom/utility_widgets/db_adddel/cellrenderer_button.h: renamed to * glom/utility_widgets/db_adddel/cellrenderer_buttonimage.cc: * glom/utility_widgets/db_adddel/cellrenderer_buttonimage.h: Added: * glom/utility_widgets/db_adddel/cellrenderer_buttontext.cc: * glom/utility_widgets/db_adddel/cellrenderer_buttontext.h: * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: add_column() now take a LayoutItem rather than only a LayoutItem_Field, so that the list can in future show other items, such as buttons. * glom/libglom/data_structure/layout/layoutgroup.cc: * glom/libglom/data_structure/layout/layoutitem.cc: * glom/libglom/data_structure/layout/layoutitem.h: * glom/libglom/data_structure/layout/layoutitem_field.cc: * glom/libglom/data_structure/layout/layoutitem_field.h: * glom/libglom/data_structure/layout/layoutitem_image.h: * glom/libglom/data_structure/layout/layoutitem_portal.cc: * glom/libglom/data_structure/layout/layoutitem_portal.h: * glom/libglom/utils.cc: * glom/mode_data/box_data.cc: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list.h: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/box_data_list_related.h: Adapted.
-
- 27 May, 2006 2 commits
-
-
Murray Cumming authored
2006-05-27 Murray Cumming <murrayc@murrayc.com> * Changed namespaces: GlomUtils to Glom::Utils. GlomConversions to Glom::Conversions. GlomPrivs to Glom::Privs.
-
Murray Cumming authored
2006-05-27 Murray Cumming <murrayc@murrayc.com> Almost all files: Put everthing in the Glom namespace.
-
- 28 Apr, 2006 1 commit
-
-
Murray Cumming authored
2006-04-28 Murray Cumming <murrayc@murrayc.com> * configure.in: * glom/Makefile.am: * po/POTFILES.in: * many files: Moved data_structure, document, and part of python_embed directories into libglom, so that the glom python module does not need to use symbols in the glom executable, because this is not allowed in cygwin, using --no-undefined. In future, this can be used as public API to make the document/database structure available to separate utilities and a web UI.
-
- 21 Mar, 2006 2 commits
-
-
Murray Cumming authored
2006-03-21 Murray Cumming <murrayc@murrayc.com> * glom/data_structure/glomconversions.cc: parse_value(): Handle images, assuming that the text is the escaped SQL image format. This means that the image layout items are actually loaded from the document. * glom/utility_widgets/flowtablewithfields.cc: add_textobject_at_position(), add_imageobject_at_position(): Pass true to add(), so that these widgets take up the full available width when they have no titles.
-
Murray Cumming authored
2006-03-21 Murray Cumming <murrayc@murrayc.com> * po/POTFILES.in: * glom/data_structure/layout/Makefile.am: * glom/data_structure/layout/layoutitem_image.cc: * glom/data_structure/layout/layoutitem_image.h: Added new image type, for arbitrary images on layouts and reports. * glom/base_db.cc: * glom/base_db.h: Added build_records_imageobject() and offer_imageobject(). Handle image fields in report_build_records_field(). * glom/glom.glade: * glom/mode_data/dialog_layout_details.cc: * glom/mode_data/dialog_layout_details.h: Added Add Image button and handled it. * glom/document/document_glom.cc: * glom/document/document_glom.h: Load/Save the new layout item. * glom/layout_item_dialogs/Makefile.am: * glom/layout_item_dialogs/dialog_imageobject.cc: * glom/layout_item_dialogs/dialog_imageobject.h: New dialog for editing the new layout item. * glom/reports/dialog_layout_report.cc: Constructor: Add new image item to available parts. * glom/utils.cc: * glom/utils.h: Added create_local_image_uri(), to save a temporary copy of the image to the filesystem, for use in HTML report. * glom/utility_widgets/imageglom.cc: * glom/utility_widgets/imageglom.h: Added set_read_only(). * xslt/print_report_to_html.xsl: Handle field nodes that have image_uri instead of value.
-
- 14 Mar, 2006 1 commit
-
-
Murray Cumming authored
2006-03-14 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/imageglom.cc: set_value(): When clearing the image, also clear m_pixbuf_original, so that it doesn't come back when the image is rescaled. For instance, this makes sure that picture fields are empty when adding new records on the detail view.
-
- 19 Feb, 2006 3 commits
-
-
Murray Cumming authored
2006-02-19 Murray Cumming <murrayc@murrayc.com> * glom/frame_glom.cc: on_menu_Mode_Find(): Start the Find mode on the same layout (Details or List) as the Data mode was in. Add a little hack to make sure that we go back into Data mode in List view at first, to make sure that the first result will show up properly in the Details mode. * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: Added set_current_view(). * glom/mode_find/notebook_find.cc: * glom/mode_find/notebook_find.h: Added set_current_view().
-
Murray Cumming authored
2006-02-19 Murray Cumming, <murrayc@murrayc.com> * glom/utility_widgets/imageglom.cc: scale(): Call Gtk::Image::get_storage_type() before Gtk::Image::get_pixbuf(), to avoid a critical warning.
-
Murray Cumming authored
2006-02-19 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/imageglom.cc: * glom/utility_widgets/imageglom.h: Overried on_expose_event() so we can scale the image when we actually have a real (>1) allocation. scale(): Do not call set_image() if the scaled pixbuf has exactly the same dimensions as the existing image. And do not try to scale the image if the allocation is very small, because this will generally fail. This fixes the disappearing image problem.
-
- 17 Jan, 2006 2 commits
-
-
Murray Cumming authored
2006-01-17 Murray Cumming <murrayc@murrayc.com> * glom/data_structure/field.cc: sql(): Move text escaping code into glom_escape_text() so it can be reused. For IMAGE fields, assume that get_binary() is already the escaped binary format, but escape it again as text, so we get the \ needed for SQL commands. * glom/data_structure/glomconversions.cc: get_escaped_binary_data(): Use one \, not \ to separate byte numbers, because that's the format used by get/set_binary() in libgda at the moment. * glom/utility_widgets/imageglom.cc: get_value(): Use GlomConversions::get_escaped_binary_data() before set_binary() because Glom must assume elsewhere that it is escaped in all GdaValues. This workaround will all be unnecessary in libgda-2.0, which properly unescapes binary buffers. Images are now saved properly into examples, and inserted properly into the new databases that are created when examples are opened.
-
Murray Cumming authored
2006-01-17 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/imageglom.cc: on_menupopup_activate_clear(): Emit the signal to actually update the database. on_menupopup_activate_paste(): Prevent crash when the received pixbuf is NULL. on_menupopup_activate_copy(): Prevent crash when the pixbuf is NULL.
-
- 14 Jan, 2006 1 commit
-
-
Murray Cumming authored
2006-01-14 Murray Cumming <murrayc@murrayc.com> * glom/frame_glom.cc: * glom/frame_glom.h: Add a File/Export menu item, for exporting the found set as comma-separated text. * glom/base_db.cc: * glom/base_db.h: * glom/box_db_table.cc: * glom/box_db_table.h: * glom/data_structure/glomconversions.cc: * glom/data_structure/layout/layoutitem_field.h: * glom/filechooser_export.cc: * glom/filechooser_export.h: * glom/mode_data/Makefile.am: * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/notebook_data.cc: * glom/mode_data/notebook_data.h: * glom/base_db.cc: * glom/base_db.h:Moved various folders into Base_DB so that Frame_Glom can use them. * glom/Makefile.am: * glom/mode_data/dialog_layout_export.cc: * glom/mode_data/dialog_layout_export.h: New layout UI for export field sequences, not yet finished or used.
-
- 12 Jan, 2006 1 commit
-
-
Murray Cumming authored
2006-01-12 Murray Cumming <murrayc@murrayc.com> * glom/utility_widgets/db_adddel/db_adddel.cc: * glom/utility_widgets/db_adddel/db_adddel.h: * glom/utility_widgets/db_adddel/glom_db_treemodel.cc: * glom/utility_widgets/db_adddel/glom_db_treemodel.h: Define the placeholder row as the last row, whose existance we cause just by increasing the number of rows, so that iter_next_vfunc() gives one more row, instead of marking a boolean. This simplifies things and prevents extra placeholder rows being generated. * glom/base_db.cc: * glom/frame_glom.cc: * glom/mode_data/box_data.cc: * glom/mode_data/box_data.h: * glom/mode_data/box_data_details.cc: * glom/mode_data/box_data_details.h: * glom/mode_data/box_data_list.cc: * glom/mode_data/box_data_list_related.cc: * glom/mode_data/box_data_list_related.h: * glom/mode_data/notebook_data.cc: * glom/mode_find/box_data_list_find.cc: * glom/utility_widgets/flowtablewithfields.cc: * glom/utility_widgets/imageglom.cc: Adapt to new API. And some changes to ensure that find results are shown in the appropriate view depending on whether there are >1 records found.
-
- 29 Jul, 2005 1 commit
-
-
Murray Cumming authored
2005-07-29 Murray Cumming <murrayc@murrayc.com> * glom/frame_glom.cc: show_table_title(): Use pango markup to show a big title. * glom/utility_widgets/imageglom.cc: on_menupopup_activate_select_file(): Give the filter a name.
-