1. 16 Oct, 2006 1 commit
    • Kevin Cozens's avatar
      With this commit we finally say goodbye to SIOD. This large set of changes · 6239dddd
      Kevin Cozens authored
      2006-10-15  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	With this commit we finally say goodbye to SIOD. This large set of
      	changes updates the Script-Fu plug-in to use the TinyScheme Scheme
      	interpreter. These changes originated with changes originally made
      	to Script-Fu which created Tiny-Fu (aka. the gimp-tiny-fu module).
      
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-scripts.h
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu-text-console.c
      	* plug-ins/script-fu/script-fu.c: Updated with the changes made to
      	these files as part of the work on the Tiny-Fu project.
      
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/scheme-wrapper.h: Renamed from siod-wrapper.[ch]
      	and updated based on differences to ts-wrapper.[ch] from gimp-tiny-fu.
      
      	* plug-ins/script-fu/ftx/*
      	* plug-ins/script-fu/re/*
      	* plug-ins/script-fu/tinyscheme/*
      	* plug-ins/script-fu/scripts/script-fu.init
      	* plug-ins/script-fu/scripts/script-fu-compat.init
      	* plug-ins/script-fu/scripts/contactsheet.scm
      	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
      	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm
      	* plug-ins/script-fu/scripts/ts-helloworld.scm: Added all of these
      	files and directories from Tiny-Fu. Updated the Makefile.am files
      	of ftx, re, and tinyscheme now they are in the GIMP source tree.
      
      	* plug-ins/script-fu/scripts/*.scm: All scripts have been updated as
      	needed to ensure they will work with the TinyScheme interpreter. Most
      	of the files have been reformatted making it easier to see the syntax
      	of Scheme and making them easier to read.
      
      	* plug-ins/script-fu/scripts/Makefile.am: Updated script file lists.
      
      	* plug-ins/script-fu/siod-wrapper.c
      	* plug-ins/script-fu/siod-wrapper.h
      	* plug-ins/script-fu/siod/*: Removed obsolete files.
      
      	* configure.in: Updated list of files in AC_CONFIG_FILES. Changed
      	--disable-script-fu to --without-script-fu which it should have
      	been when originally added.
      
      	* INSTALL: Updated to show change to --without-script-fu.
      6239dddd
  2. 15 Oct, 2006 3 commits
    • Michael Natterer's avatar
      if the passed filename starts with a valid, but unhandled uri scheme, fail · a99f9687
      Michael Natterer authored
      2006-10-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.c (file_utils_filename_to_uri): if the
      	passed filename starts with a valid, but unhandled uri scheme,
      	fail with an error saying "URI scheme 'foo:' is not supported"
      	instead of treating it as relative file path. Fixes bug #358203.
      
      	* app/dialogs/file-open-location-dialog.c
      	(file_open_location_response): don't close the dialog on errors
      	that are related to the entered URI because these errors are
      	failed user input validation, not failed open.
      a99f9687
    • Michael Natterer's avatar
      close the popup when a drag starts. · 33720907
      Michael Natterer authored
      2006-10-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpview-popup.c: close the popup when a drag starts.
      33720907
    • Michael Natterer's avatar
      Applied slightly modified patch from Martin Nordholts which implements · 8354a781
      Michael Natterer authored
      2006-10-15  Michael Natterer  <mitch@gimp.org>
      
      	Applied slightly modified patch from Martin Nordholts which
      	implements more fine-grained steps for actions. Fixes bug #165612.
      
      	* app/actions/actions-types.h: add additional values to
      	enum GimpActionSelectType.
      
      	* app/actions/actions.[ch] (action_select_value)
      	(action_select_property): handle them here and added "small_inc"
      	and "delta_factor" parameters.
      
      	* app/actions/context-actions.c: added small and percent actions
      	for the brush radius.
      
      	* app/actions/context-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/tools-commands.c
      	* app/actions/view-commands.c: pass small and percent increase
      	values to the action_select_foo() functions.
      
      	* app/actions/context-commands.c (context_brush_radius_cmd_callback):
      	make sure we don't end up with 1.1, 2.1 etc brush radius values.
      8354a781
  3. 14 Oct, 2006 6 commits
    • Michael Natterer's avatar
      use GDK_INVERT instead of GDK_XOR with white foreground color. · a02ac93e
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/rcm/rcm_callback.c: use GDK_INVERT instead of GDK_XOR
      	with white foreground color.
      a02ac93e
    • Michael Natterer's avatar
      plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_move_sash.c · 750c0cdb
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/imagemap/imap_cmd_move.c
      	* plug-ins/imagemap/imap_cmd_move_sash.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_object.c: use GDK_XOR instead of
      	GDK_EQUIV. Fixes bug #311621.
      750c0cdb
    • Michael Natterer's avatar
      app/dialogs/convert-dialog.c app/dialogs/desaturate-dialog.c · ece8647d
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/desaturate-dialog.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/image-properties-dialog.c
      	* app/dialogs/layer-add-mask-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/print-size-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/scale-dialog.c
      	* app/dialogs/vectors-options-dialog.c: don't allow "context" to
      	be NULL in any dialog constructor.
      ece8647d
    • Michael Natterer's avatar
      Remember the settings in the scale and resize dialogs for images and · 76ba5de1
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	Remember the settings in the scale and resize dialogs for images
      	and layers. Fixes bug #164995, bug #316392, and bug #357424.
      
      	* app/dialogs/scale-dialog.h: removed GimpScaleCallback typedef.
      
      	* app/dialogs/dialogs-types.h: added it here.
      
      	* app/dialogs/image-scale-dialog.[ch]: made the ImageScaleDialog
      	struct private, return a GtkWidget* from image_scale_dialog_new()
      	and use a GimpScaleCallback in the public API.
      
      	* app/actions/actions-types.h: #include "dialogs/dialogs-types.h"
      
      	* app/actions/image-commands.c: changed according to image scale
      	dialog changes. Remember the scale dialog's unit (if it is
      	"percent") and interpolation type across dialog invocations. Also
      	remember the resize dialog's unit (if it is "percent").
      
      	* app/actions/layers-commands.c: remember scale and resize dialog
      	stuff as in image-commands.c
      76ba5de1
    • Michael Natterer's avatar
      don't include "libgimpbase/gimplimits.h" · 1e5f8625
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgrid.c: don't include "libgimpbase/gimplimits.h"
      
      	* app/core/gimpimage-undo-push.c: one more g_message() converted
      	to gimp_message().
      1e5f8625
    • Michael Natterer's avatar
      flush the image after clearing the selection and after anchoring a · a21bb4ac
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_execute):
      	flush the image after clearing the selection and after anchoring
      	a floating layer. Fixes bug #362096.
      a21bb4ac
  4. 13 Oct, 2006 1 commit
    • Sven Neumann's avatar
      minor cleanup. · bd8e8a13
      Sven Neumann authored
      2006-10-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcropoptions.c (gimp_crop_options_[gs]et_property):
      	minor cleanup.
      bd8e8a13
  5. 12 Oct, 2006 5 commits
  6. 11 Oct, 2006 8 commits
  7. 10 Oct, 2006 1 commit
  8. 09 Oct, 2006 4 commits
    • Tor Lillqvist's avatar
      Suffix LCMS with EXEEXT. Unbreaks build on Win32. · afcdeae3
      Tor Lillqvist authored
      2006-10-09  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in: Suffix LCMS with EXEEXT. Unbreaks build on Win32.
      afcdeae3
    • Michael Natterer's avatar
      app/actions/data-commands.c app/actions/documents-commands.c · 1ed8dd4f
      Michael Natterer authored
      2006-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp-contexts.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-edit.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/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppdbprogress.c
      	* app/core/gimpselection.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/session.c
      	* app/gui/themes.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-file.c
      	* app/plug-in/gimppluginmanager.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpuimanager.c
      	* app/widgets/gimpvectorstreeview.c
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb: convert lots of g_message() to
      	gimp_message(). Make sure we never pass unknown strings (like
      	error->message) to printf-like functions directly; run them
      	thorugh "%s" instead. Don't translate some messages which should
      	never happen.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c: regenerated.
      1ed8dd4f
    • Sven Neumann's avatar
      accept printf-style format strings. · 27f5e542
      Sven Neumann authored
      2006-10-09  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/tips-parser.[ch]: accept printf-style format strings.
      
      	* app/dialogs/tips-dialog.c: avoid markup in translatable messages
      	(bug #360458).
      27f5e542
    • Michael Natterer's avatar
      Added message severities and make sure all messages are routed through a · f5afb754
      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.
      f5afb754
  9. 07 Oct, 2006 1 commit
  10. 06 Oct, 2006 7 commits
  11. 05 Oct, 2006 2 commits
  12. 04 Oct, 2006 1 commit