- 20 May, 2018 1 commit
-
-
Michael Natterer authored
...and gone are the annoying warnings.
-
- 13 Nov, 2017 1 commit
-
-
Ell authored
Move the highlight flags of the error console from GimpGuiConfig and sessionrc to GimpErrorConsole and its aux-info, respectively.
-
- 28 Oct, 2017 1 commit
-
-
Ell authored
Currently, the error console is highlighted (shown/blinked) only upon errors; however, warnings, which are not shown on the statusbar while the error console is open, often also contain important information. Allow the user to configure which message types (errors, warnings, and regular messages) highlight the error console, using a new "highlight" submenu in the error-console menu. Add corresponding config options, saved in sessionrc. By default, highlight the error console unpon both errors and warnings.
-
- 12 Feb, 2017 1 commit
-
-
Michael Natterer authored
Nobody has them anymore, and they are deprecated in GTK+ 3.x. This also fixes all conflicting mnemonics except those I missed, but we can fix them now.
-
- 25 Sep, 2016 1 commit
-
-
Michael Natterer authored
-
- 02 Jul, 2014 1 commit
-
-
Michael Natterer authored
-
- 01 Nov, 2013 1 commit
-
-
Michael Natterer authored
-
- 14 Sep, 2013 1 commit
-
-
Jehan authored
For some unknown reason, most calls to gimp_message_literal() were indented with tabs.
-
- 25 Feb, 2010 1 commit
-
-
Michael Natterer authored
Pull all text buffer utility functions as methods and use GimpTextBuffer all over the place instead of GtkTextBuffer. Some actually usefuly features coming soon...
-
- 17 Jan, 2009 1 commit
-
-
Michael Natterer authored
2009-01-17 Michael Natterer <mitch@gimp.org> * all files with a GPL header and all COPYING files: Change licence to GPLv3 (and to LGPLv3 for libgimp). Cleaned up some copyright headers and regenerated the parsers in the ImageMap plugin. svn path=/trunk/; revision=27913
-
- 04 Nov, 2008 1 commit
-
-
Sven Neumann authored
2008-11-04 Sven Neumann <sven@sven> * configure.in: bumped minimum required version of GLib to 2.18.0. * INSTALL: document the updated dependency. * app/core/gimp.[ch]: introduced gimp_message_literal(), a variant of gimp_message() that takes a literal string. * app/errors.[ch]: removed format arguments from gimp_fatal_error() and gimp_terminate() and let them take a literal string instead. * app/tools/gimptool.[ch]: introduced gimp_tool_message_literal(), a variant of gimp_tool_message() that takes a literal string. * app/actions/documents-commands.c * app/actions/drawable-commands.c * app/actions/edit-commands.c * app/actions/error-console-commands.c * app/actions/file-commands.c * app/actions/gradients-commands.c * app/actions/image-commands.c * app/actions/layers-commands.c * app/actions/palettes-commands.c * app/actions/plug-in-commands.c * app/actions/select-commands.c * app/actions/vectors-commands.c * app/config/gimprc.c * app/core/gimp-modules.c * app/core/gimp-parasites.c * app/core/gimp-templates.c * app/core/gimp-units.c * app/core/gimpchannel.c * app/core/gimpcontainer-filter.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpimage-convert.c * app/core/gimpimage-merge.c * app/core/gimpimage.c * app/core/gimpimagefile.c * app/core/gimplayer-floating-sel.c * app/core/gimplayer.c * app/core/gimpselection.c * app/dialogs/convert-dialog.c * app/dialogs/dialogs.c * app/dialogs/palette-import-dialog.c * app/dialogs/preferences-dialog.c * app/dialogs/quit-dialog.c * app/dialogs/stroke-dialog.c * app/display/gimpdisplayshell-dnd.c * app/file/file-open.c * app/file/file-procedure.c * app/file/file-save.c * app/file/file-utils.c * app/gegl/gimpcurvesconfig.c * app/gegl/gimplevelsconfig.c * app/gui/gui-message.c * app/gui/gui.c * app/gui/session.c * app/paint/gimpbrushcore.c * app/paint/gimpclone.c * app/paint/gimpheal.c * app/paint/gimpperspectiveclone.c * app/paint/gimpsourcecore.c * app/pdb/gimppdb-utils.c * app/pdb/gimpprocedure.c * app/plug-in/gimpplugin-message.c * app/plug-in/gimpplugin.c * app/plug-in/gimppluginmanager-restore.c * app/plug-in/gimppluginprocedure.c * app/text/gimptextlayer.c * app/tools/gimp-tools.c * app/tools/gimpaligntool.c * app/tools/gimpblendtool.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcurvestool.c * app/tools/gimpdesaturatetool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpforegroundselecttool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpgegltool.c * app/tools/gimphuesaturationtool.c * app/tools/gimpimagemaptool-settings.c * app/tools/gimpiscissorstool.c * app/tools/gimplevelstool.c * app/tools/gimpmeasuretool.c * app/tools/gimppainttool.c * app/tools/gimpposterizetool.c * app/tools/gimpselectiontool.c * app/tools/gimpsourcetool.c * app/tools/gimpthresholdtool.c * app/tools/gimptransformtool.c * app/tools/gimpvectortool.c * app/widgets/gimpactionview.c * app/widgets/gimpcontrollerlist.c * app/widgets/gimpcontrollers.c * app/widgets/gimpdataeditor.c * app/widgets/gimpdevices.c * app/widgets/gimpdnd-xds.c * app/widgets/gimperrordialog.c * app/widgets/gimphelp.c * app/widgets/gimpitemtreeview.c * app/widgets/gimppdbdialog.c * app/widgets/gimpsettingsbox.c * app/widgets/gimpvectorstreeview.c * app/widgets/gimpwidgets-utils.c * app/xcf/xcf-load.c * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/edit.pdb * tools/pdbgen/pdb/floating_sel.pdb * tools/pdbgen/pdb/image.pdb: use the _literal variants for g_set_error(), gimp_message() and gimp_tool_message(). * app/pdb/convert-cmds.c * app/pdb/edit-cmds.c * app/pdb/floating-sel-cmds.c * app/pdb/image-cmds.c: regenerated. svn path=/trunk/; revision=27548
-
- 02 Feb, 2007 1 commit
-
-
Sven Neumann authored
2007-02-02 Sven Neumann <sven@gimp.org> * app/actions/error-console-commands.c * app/actions/gradients-commands.c * app/actions/text-editor-commands.c * app/dialogs/vectors-export-dialog.c * app/dialogs/vectors-import-dialog.c * app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog): set default response and do-overwrite-confirmation on the file chooser dialogs. Fixes bug #403449 for all core dialogs. svn path=/trunk/; revision=21832
-
- 09 Dec, 2006 1 commit
-
-
Sven Neumann authored
2006-12-09 Sven Neumann <sven@gimp.org> * In all files, changed the standard copyright notice to say "GIMP - The GNU Image Manipulation Program".
-
- 09 Oct, 2006 1 commit
-
-
Michael Natterer authored
2006-10-09 Michael Natterer <mitch@gimp.org> Added message severities and make sure all messages are routed through a central function, so redirecting to the error console or stderr work again: * app/core/core-enums.[ch]: added enum GimpMessageSeverity { INFO, WARNING, ERROR }. * app/core/gimp.[ch] (gimp_message) (gimp_message_valist): added severity parameter. Changed "GimpProgress *progress" parameter to "GObject *handler", where "handler" can be either a GimpProgress, a GtkWidget or NULL. * app/core/gimp-gui.[ch] (gimp_show_message): ditto. Honor --console-messages again. Always dispatch to the GUI message handler first if it exists. * app/gui/gui-message.[ch]: pass severity parameters around. (gui_message_error_dialog): if "handler" is a progress, dispatch the message to it first. If it is a widget (and *not* a progress), use a GtkMessageDialog on top of that widget's toplevel. Fall back to the usual GimpErrorDialog otherwise. * app/core/gimpprogress.[ch] (gimp_progress_message): added severity parameter. Also added boolean return value to the virtual function so it can decide to fail if it can't handle the message. * app/display/gimpdisplay.c: implement GimpProgress::message() and redirect the message to GimpDisplayShell. * app/display/gimpdisplayshell-progress.c: implement GimpProgress::message() and redirect the message to GimpStatusbar if it is not an error and if the status bar is visible. * app/display/gimpstatusbar.[ch]: implement GimpProgress::message(), but fail on messages that contain a newline. Show the right icons for the message severities (work in progress). * app/display/gimpdisplayshell.[ch]: removed gimp_display_shell_message() and its _valist() variant. * app/widgets/gimperrorconsole.[ch]: show the right icons for the message severities. * app/widgets/gimpthumbbox.c (gimp_thumb_box_progress_message): return TRUE to swallow all messages. * app/widgets/gimpwidgets-utils.[ch]: removed gimp_show_message_dialog(). Added gimp_get_message_stock_id(). * app/errors.c * app/actions/edit-commands.c * app/actions/error-console-commands.c * app/actions/file-commands.c * app/actions/select-commands.c * app/actions/text-editor-commands.c * app/actions/vectors-commands.c * app/core/gimpimage-convert.c * app/core/gimpimagefile.c * app/dialogs/convert-dialog.c * app/dialogs/file-open-dialog.c * app/dialogs/file-open-location-dialog.c * app/dialogs/file-save-dialog.c * app/dialogs/palette-import-dialog.c * app/dialogs/stroke-dialog.c * app/display/gimpdisplayshell-dnd.c * app/pdb/gimppdb.c * app/plug-in/gimpplugin.c * app/tools/gimpimagemaptool.c * app/tools/gimptool.c * app/tools/gimpvectortool.c * app/widgets/gimpactionview.c * app/widgets/gimpcontrollerlist.c * app/widgets/gimppdbdialog.c * app/widgets/gimpvectorstreeview.c * app/xcf/xcf-load.c * app/xcf/xcf-save.c * app/xcf/xcf.c * tools/pdbgen/pdb/brush.pdb * tools/pdbgen/pdb/gradient.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/message.pdb * tools/pdbgen/pdb/palette.pdb: added severity parameter to gimp_message() calls. Convert all calls to gimp_show_message_dialog() and gimp_display_shell_message() to gimp_message(). Also converted some more g_message() calls. * app/pdb/brush_cmds.c * app/pdb/gradient_cmds.c * app/pdb/image_cmds.c * app/pdb/message_cmds.c * app/pdb/palette_cmds.c: regenerated.
-
- 11 Aug, 2006 1 commit
-
-
Sven Neumann authored
2006-08-11 Sven Neumann <sven@gimp.org> * app/actions/error-console-commands.c * app/actions/text-editor-commands.c: use gimp_show_message_dialog().
-
- 19 Jun, 2006 1 commit
-
-
Sven Neumann authored
2006-06-19 Sven Neumann <sven@gimp.org> * app/actions/error-console-commands.c * app/display/gimpdisplayshell-draw.c * app/display/gimpdisplayshell-scale.c * app/tools/gimpmeasuretool.c * app/tools/gimptexttool.c * app/widgets/gimpcellrendereraccel.c * app/widgets/gimpviewabledialog.c * app/widgets/gimpviewrenderer.c: changed casts in calls to g_object_add_weak_pointer() to silence compiler warnings.
-
- 07 Jun, 2006 1 commit
-
-
Sven Neumann authored
2006-06-07 Sven Neumann <sven@gimp.org> * app/actions/error-console-actions.c: * app/actions/error-console-commands.[ch] * app/widgets/gimphelp-ids.h * menus/error-console-menu.xml: added "select-all" action as suggested in bug #328838.
-
- 12 Apr, 2006 1 commit
-
-
Sven Neumann authored
2006-04-12 Sven Neumann <sven@gimp.org> * app/*.[ch] * app/*/*.[ch]: converted tabs to spaces.
-
- 27 May, 2005 1 commit
-
-
Sven Neumann authored
2005-05-27 Sven Neumann <sven@gimp.org> * (lots of files): Use the canonical form for signal names.
-
- 10 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-10 Sven Neumann <sven@gimp.org> * app/actions/data-commands.c * app/actions/edit-commands.c * app/actions/error-console-commands.c * app/actions/file-commands.c * app/actions/gradient-editor-commands.c * app/actions/gradients-commands.c * app/actions/plug-in-commands.c * app/actions/templates-commands.c * app/actions/text-editor-commands.c * app/actions/tool-options-commands.c * app/dialogs/image-new-dialog.c * app/dialogs/resize-dialog.c * app/display/gimpdisplayshell-close.c * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell-scale.c * app/tools/gimpimagemaptool.c * app/tools/gimptexttool.c * libgimp/gimpexport.c * libgimpwidgets/gimpcolorbutton.c * libgimpwidgets/gimpfileentry.c * libgimpwidgets/gimpquerybox.c * libgimpwidgets/gimpunitmenu.c: applied another patch by Patrice Tremblay to make more dialogs obey the alternative button order setting (bug #166678).
-
- 24 Oct, 2004 1 commit
-
-
Michael Natterer authored
2004-10-25 Michael Natterer <mitch@gimp.org> * app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a file. * app/widgets/gimperrorconsole.c: use gimp_editor_add_action_button() and removed all "clicked" callbacks, including all file saving code. * app/actions/error-console-actions.c * app/actions/error-console-commands.[ch]: added the code removed above to the action callbacks. Use gimp_text_buffer_save().
-
- 29 Apr, 2004 1 commit
-
-
Michael Natterer authored
2004-04-29 Michael Natterer <mitch@gimp.org> Switch from GtkItemFactory to GtkUIManager. The migration is almost complete, still stuff missing/incomplete, definitely added a bunch of new bugs... * app/actions/*-commands.[ch]: converted all callback from GtkItemFactory callbacks to GtkAction callbacks. * app/actions/debug-actions.c * app/actions/gradient-editor-actions.c * app/actions/help-actions.c * app/actions/plug-in-actions.c * app/actions/qmask-actions.c * app/actions/tool-options-actions.c: various fixes. * app/display/gimpdisplay.[ch] * app/display/gimpdisplayshell-appearance.[ch] * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell.[ch]: move everything from GtkItemFactory to GtkUIManager. * app/gui/dialogs.[ch]: added new function dialogs_get_toolbox(). Needed because the action callbacks don't have a widget parameter and sometimes we need a parent window for showing dialogs. * app/gui/Makefile.am * app/gui/brushes-menu.[ch] * app/gui/buffers-menu.[ch] * app/gui/channels-menu.[ch] * app/gui/colormap-editor-menu.[ch] * app/gui/dialogs-menu.[ch] * app/gui/documents-menu.[ch] * app/gui/error-console-menu.[ch] * app/gui/fonts-menu.[ch] * app/gui/gradient-editor-menu.[ch] * app/gui/gradients-menu.[ch] * app/gui/images-menu.[ch] * app/gui/layers-menu.[ch] * app/gui/palette-editor-menu.[ch] * app/gui/palettes-menu.[ch] * app/gui/patterns-menu.[ch] * app/gui/qmask-menu.[ch] * app/gui/templates-menu.[ch] * app/gui/vectors-menu.[ch]: removed these files. * app/gui/gui.c: create a global UI manager for the image popup menu and the toolbox menubar. * app/gui/menus.[ch]: removed all GtkItemFactory code. * app/gui/image-menu.[ch] * app/gui/toolbox-menu.[ch]: removed everything except the trivial setup_funcs. * app/gui/file-open-menu.c * app/gui/file-save-menu.c * app/gui/tool-options-menu.c: don't use the macros from menus.h any more, they are gone. * app/gui/gui-vtable.c * app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in menu entries. * app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/ gimp_ui_manager_update/g * app/widgets/gimpuimanager.[ch]: added API to get an action group by name. * app/widgets/gimpmenufactory.c: don't choke on the item_factory entries being NULL. * app/widgets/gimpactiongroup.c: make sure booleans set using g_object_set() only have TRUE or FALSE values. * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainereditor.[ch] * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.c * app/widgets/gimpdockable.[ch] * app/widgets/gimpdocked.[ch] * app/widgets/gimpeditor.[ch] * app/widgets/gimperrorconsole.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpitemtreeview.c * app/widgets/gimppaletteeditor.c * app/widgets/gimptoolbox.c * app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory code and enable the #if 0'ed UI manager stuff. * menus/gradient-editor-menu.xml: fixed typos. * menus/image-menu.xml: duplicate everything so we have both an image menubar and an image popup menu. Badly cries for an XSL processor. * menus/toolbox-menu.xml: added an "Extensions" placeholder.
-
- 20 Apr, 2004 1 commit
-
-
Michael Natterer authored
2004-04-20 Michael Natterer <mitch@gimp.org> * app/gui/*-commands.[ch]: removed... * app/actions/*-commands.[ch]: ...and added here. * app/gui/Makefile.am * app/gui/*-menu.c * app/gui/dialogs-constructors.c * app/gui/gui.c * app/gui/menus.c * app/actions/Makefile.am * app/actions/*-actions.c: changed accordingly. * app/actions/plug-in-actions.[ch] * app/actions/tools-actions.[ch]: new files. * app/Makefile.am: had to add more -u evilness because gui/ and actions/ have cyclic dependencies. * menus/image-menu.xml: added some more items.
-
- 19 Apr, 2004 1 commit
-
-
Michael Natterer authored
2004-04-19 Michael Natterer <mitch@gimp.org> * app/gui/colormap-editor-commands.[ch] * app/gui/debug-commands.[ch] * app/gui/dockable-commands.[ch] * app/gui/error-console-commands.[ch] * app/gui/file-commands.[ch] * app/gui/gradient-editor-commands.[ch] * app/gui/help-commands.[ch] * app/gui/qmask-commands.[ch] * app/gui/tool-options-commands.[ch]: removed "guint action" parameter from all callbacks which don't need it.
-
- 13 Jun, 2003 1 commit
-
-
Michael Natterer authored
2003-06-13 Michael Natterer <mitch@gimp.org> Cleaned up and improved the message system: * app/core/gimp.[ch]: added "const gchar *domain" to GimpMessageFunc (a NULL domain means the message is from the GIMP core, everything else is a plug-in). * app/errors.c: pass "domain == NULL" to gimp_message(). * tools/pdbgen/pdb/message.pdb: derive the message domain from the current plug-in's menu_path (evil hack but works reasonably well). * app/pdb/message_cmds.c: regenerated. * app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a header showing the message domain and changed the dialog layout to follow the HIG more closely. * app/gui/error-console-dialog.[ch]: removed. * app/widgets/gimperrorconsole.[ch] * app/gui/error-console-commands.[ch] * app/gui/error-console-menu.[ch]: new files containing a re-implementation of the error console dialog. * app/gui/Makefile.am * app/gui/dialogs-constructors.c * app/gui/gui.c * app/gui/menus.c * app/widgets/Makefile.am * app/widgets/widgets-types.h: changed accordingly. * app/display/gimpprogress.c: added more spacing and removed the separator (more HIG compliant). * plug-ins/[most plug-ins].c: Changed lots of messages and progress strings: - Removed plug-in names from messages since that's automatically covered by "domain" now. - Put all filenames in ''. - Changed "Loading" to "Opening". - Added "..." to all progress messages. - Cleaned up all file open/save error messages to look the same and include g_strerror(errno). - Removed special casing for progress bars and *always* show them, not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect all plug-ins to do this correctly but need to hack the core to sort out unwanted progress bars). Unrelated: - Cleaned up indentation, spacing, #includes, coding style and other stuff while I was at all these files.
-