1. 09 Oct, 2004 2 commits
    • Kevin Cozens's avatar
      ftx/Makefile.am re/Makefile.am scripts/Makefile.am · af2eb68c
      Kevin Cozens authored
      2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
      
          * ftx/Makefile.am
          * re/Makefile.am
          * scripts/Makefile.am
          * scripts/images/Makefile.am
          * tiny-fu/Makefile.am
          * tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
          list of files to include in a distribution. Fixed typo in filename
          in the re/Makefile.am file.
      af2eb68c
    • Kevin Cozens's avatar
      Added my name to the list of contributors. · 4ba85ba3
      Kevin Cozens authored
      2004-10-08  Kevin Cozens  <kcozens@cvs.gimp.org>
      
          * tools/authorsgen/contributors: Added my name to the
          list of contributors.
      4ba85ba3
  2. 08 Oct, 2004 10 commits
    • Sven Neumann's avatar
      tweaked the text shown while updating the preview so that the dialog · dc539fda
      Sven Neumann authored
      2004-10-08  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpthumbbox.c: tweaked the text shown while
      	updating the preview so that the dialog doesn't need to resize.
      dc539fda
    • Sven Neumann's avatar
      allow 0 for the thumbnail-filesize-limit · d02f9b64
      Sven Neumann authored
      d02f9b64
    • Sven Neumann's avatar
      app/config/gimpcoreconfig.[ch] added new gimprc option · ec693d7b
      Sven Neumann authored
      2004-10-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added new gimprc option
      	"thumbnail-filesize-limit" that allows to control the maximum
      	filesize for automatic thumbnail creation.
      
      	* app/dialogs/preferences-dialog.c: added a GUI for it, needs
      	review.
      
      	* app/core/gimpimagefile.[ch]: minor cleanups. Moved call to
      	gimp_thumbnail_peek_image() from gimp_imagefile_save_thumb() to
      	 gimp_imagefile_save_thumbnail() to avoid it being called twice.
      
      	* app/file/file-utils.[ch]: export utility function
      	file_utils_find_proc_by_extension() that allows to check for a
      	file plug-in by looking at the filename extension only.
      
      	* app/widgets/gimpthumbbox.[ch]: automatically create or update
      	thumbnails for image files with a known extension that are smaller
      	than "thumbnail-filesize-limit".  Fixes bug #137176.
      ec693d7b
    • Sven Neumann's avatar
      handle the tile parameter identically for preview and final result. Set · cc87c4c2
      Sven Neumann authored
      2004-10-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/ripple.c: handle the tile parameter identically
      	for preview and final result. Set Edges options insensitive when
      	"Retain tileability" is checked. Reported by Olivier.
      cc87c4c2
    • Sven Neumann's avatar
      invalidate the preview when the toggle buttons are used. Reported by · 299dad1d
      Sven Neumann authored
      2004-10-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/apply_lens.c (lens_dialog): invalidate the
      	preview when the toggle buttons are used. Reported by Olivier.
      
      	* app/widgets/gimpview.c: minor cleanup.
      299dad1d
    • Michael Natterer's avatar
      implement GimpTool::key_press() and cancel the tool on GDK_Escape. Come · 8a622048
      Michael Natterer authored
      2004-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpmeasuretool.c: implement GimpTool::key_press() and
      	cancel the tool on GDK_Escape. Come cleanup.
      8a622048
    • Michael Natterer's avatar
      Made the text options about two toolbox grid columns smaller. Addresses · 57f9d32e
      Michael Natterer authored
      2004-10-08  Michael Natterer  <mitch@gimp.org>
      
      	Made the text options about two toolbox grid columns smaller.
      	Addresses bug #122862.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new): use
      	the number of digits of the property's max_val plus two as number
      	of chars for the sizeentry'y spinbutton (instead of always 10 as
      	before).
      
      	* app/tools/gimptextoptions.c (gimp_text_options_gui): GtkEntry
      	has a minimal width of 150 pixels (eek). Set a silly small minimal
      	width instead (the entry expands to the available width anyway).
      57f9d32e
    • Sven Neumann's avatar
      added lots of const qualifiers. · 983e918d
      Sven Neumann authored
      2004-10-08  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.c: added lots of const qualifiers.
      983e918d
    • Michael Natterer's avatar
      the gradient button in blend options got lost, added it back. Also moved · c9f9c56c
      Michael Natterer authored
      2004-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c: the gradient button in blend
      	options got lost, added it back. Also moved creation of the brush,
      	pattern and gradient buttons to utility functions and cleaned up
      	the whole file a bit.
      c9f9c56c
    • Michael Natterer's avatar
      app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled) · fb315d6c
      Michael Natterer authored
      2004-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled)
      	(gimp_display_shell_flush)
      	* app/gui/gui-vtable.c (gui_display_create): always pass a
      	GimpDisplay, not a GimpDisplayShell as "data" to
      	gimp_ui_manager_update().
      
      	* app/actions/actions.c (action_data_get_*): removed checks if the
      	passed data is a GimpDisplayShell and temporarily added g_assert()
      	to be sure. The assertions will be removed before 2.2.
      fb315d6c
  3. 07 Oct, 2004 8 commits
    • Sven Neumann's avatar
      added some (disabled) debug output. · de68f16e
      Sven Neumann authored
      2004-10-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/gimpthumbnail.c: added some (disabled) debug output.
      
      	* app/widgets/gimpviewrenderer-frame.[ch]: added a way to retrieve
      	the size of the frame borders.
      
      	* app/widgets/gimpthumbbox.c: don't set an arbitrary padding but
      	exactly the size of the frame borders. Otherwise we get large
      	thumbnails (scaled down) if we request normal sized ones.
      de68f16e
    • Kevin Cozens's avatar
      Changed deprecated constant ADD to CHANNEL-OP-ADD. · cb8cb6e4
      Kevin Cozens authored
      2004-10-07  Kevin Cozens  <kcozens@cvs.gimp.org>
      
          * plug-ins/script-fu/scripts/selection-round.scm: Changed deprecated
          constant ADD to CHANNEL-OP-ADD.
      cb8cb6e4
    • Michael Natterer's avatar
      gz.c and bz2.c are now compressor.c · a9e08991
      Michael Natterer authored
      2004-10-07  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: gz.c and bz2.c are now compressor.c
      a9e08991
    • Michael Natterer's avatar
      Merged the gz and bz2 plug-ins into one generic compression handler that · 270c0336
      Michael Natterer authored
      2004-10-07  Michael Natterer  <mitch@gimp.org>
      
      	Merged the gz and bz2 plug-ins into one generic compression
      	handler that can be extended by adding entries to a table of
      	compressor definitions:
      
      	* configure.in: removed bz2 special casing for win32.
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c: removed.
      
      	* plug-ins/common/compressor.c: new plug-in.
      
      	* plug-ins/common/plugin-defs.pl: changed accordingly.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am: regenerated.
      270c0336
    • Simon Budig's avatar
      fill in the formula... :-) untabbified. · 236cd655
      Simon Budig authored
      2004-10-07  Simon Budig  <simon@gimp.org>
      
      	* app/actions/view-commands.c: fill in the formula...  :-)
      	untabbified.
      
      	* app/display/gimpdisplayshell-scale.c: Micro-Cleanup, untabbified.
      236cd655
    • Kevin Cozens's avatar
    • Kevin Cozens's avatar
    • Michael Natterer's avatar
      changed zoom actions to be GimpEnumActions using the GimpActionSelectType · 4117fa44
      Michael Natterer authored
      2004-10-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c: changed zoom actions to be
      	GimpEnumActions using the GimpActionSelectType enum. Enables
      	keyboard shortcuts for useless stuff like "zoom out a lot", and
      	makes them better accessible for external controllers.
      
      	* app/actions/view-commands.[ch]: renamed view_zoom_cmd_callback()
      	to view_zoom_explicit_cmd_callback(), removed the zoom_in and
      	zoom_out callbacks and added a new view_zoom_cmd_callback() for
      	the new GimpActionSelectType-based actions. The implementation of
      	the new zoom types is questionable but now there is a place where
      	nomis can fill in nice formulas...
      4117fa44
  4. 06 Oct, 2004 20 commits
    • Kevin Cozens's avatar
    • Kevin Cozens's avatar
      Import of autoconf version of Tiny-Fu 0.9.3 · c89e7340
      Kevin Cozens authored
      c89e7340
    • Kevin Cozens's avatar
      Initial revision · 5a420188
      Kevin Cozens authored
      5a420188
    • Michael Natterer's avatar
      added new parameter "gboolean propagate_release" to · 76d95a10
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpeditselectiontool.[ch]: added new parameter
      	"gboolean propagate_release" to gimp_edit_slection_tool_start()
      	and remember it in the GimpEditSelectionTool struct. If requested,
      	propagate GimpTool::button_release() to the tool below in the tool
      	stack.
      
      	* app/tools/gimpselectiontool.c (gimp_selection_tool_start_edit):
      	pass FALSE so we don't get the button_release().
      
      	* app/tools/gimpmovetool.[ch]: pass TRUE so we get
      	button_release(). If moving a layer or path in "pick active" mode,
      	remember the old active layer/path and switch back to it in
      	button_release(). Fixes bug #97734.
      
      	Unrelated:
      
      	* app/tools/gimpeditselectiontool.c
      	(gimp_edit_selection_tool_motion): set "first_move" to FALSE only
      	if a move actually happened. Fixes un-undoable moves at high zoom
      	factors.
      76d95a10
    • Michael Natterer's avatar
      remember for which GdkDragContext the icon_widget was made. · da1a2de8
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_drag_begin): remember for
      	which GdkDragContext the icon_widget was made.
      
      	(gimp_dnd_data_drag_end): destroy the icon_widget only if it was
      	created for this GdkDragContext. Fixes broken DND icon_widgets
      	when dragging the same source again while the old icon_widget is
      	still floating back from an unsuccessful drop. Fixes bug #139337.
      da1a2de8
    • Manish Singh's avatar
      Slight cleanup of doc generating code. · 131da633
      Manish Singh authored
      2004-10-05  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/lib.pl: Slight cleanup of doc generating code.
      131da633
    • Michael Natterer's avatar
      s/gimpgradientedit/gimpgradient/ · c5d20b35
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/tmpl/gimpgradient.sgml: s/gimpgradientedit/gimpgradient/
      c5d20b35
    • Michael Natterer's avatar
      for deprecated procedures, create a gtk-doc comment that contains a link · 5408ed17
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: for deprecated procedures, create a gtk-doc
      	comment that contains a link to the replacement procedure and
      	doesn't contain redundant information.
      
      	* tools/pdbgen/pdb/text_tool.pdb: fixed names of replacement
      	procedures.
      
      	* libgimp/gimpbrushes.c
      	* libgimp/gimpgradients.c
      	* libgimp/gimppalettes.c
      	* libgimp/gimppatterns.c: made the handwritten gtk-doc comments of
      	deprecated procedures look like the generated ones.
      
      	* app/pdb/text_tool_cmds.c
      	* libgimp/gimpbrushes_pdb.c
      	* libgimp/gimpgradients_pdb.c
      	* libgimp/gimppalettes_pdb.c
      	* libgimp/gimppatterns_pdb.c
      	* libgimp/gimptexttool_pdb.c: regenerated.
      5408ed17
    • Michael Natterer's avatar
      reset the tool options before deserializing so they have the correct · 62c23a23
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimp-tools.c (gimp_tools_restore): reset the tool
      	options before deserializing so they have the correct default
      	values. Fixes bug #120832.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: removed all set_defaults()
      	utility functions and moved their code to reset(). The change
      	above calls them automatically so there is no need to call them
      	from the GUI constructors any more.
      62c23a23
    • Michael Natterer's avatar
      use a scale_entry instead of a spinbutton, changed mnemonic from "R" to · dc3e9ec8
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/selection-round.scm: use a
      	scale_entry instead of a spinbutton, changed mnemonic from "R" to
      	"E", indentation.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
      	in a comment.
      dc3e9ec8
    • Sven Neumann's avatar
      applied patch by Alan Horkan that improves usability and usefulness of · bd218b25
      Sven Neumann authored
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/selection-round.scm: applied patch by
      	Alan Horkan that improves usability and usefulness of this script.
      	Did some code cleanup and added the old procedure for backward
      	compatibility. Fixes bug #145147.
      
      	* menus/image-menu.xml.in: renamed placeholder in Image->Select
      	from "Outline" to "Modify".
      bd218b25
    • Sven Neumann's avatar
      tweaed error message. · aed634d0
      Sven Neumann authored
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/postscript.c (ps_open): tweaed error message.
      aed634d0
    • Michael Natterer's avatar
      changed new member "deprecated" from "gboolean" to a "gchar*" which holds · 8a47cc92
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
      	"deprecated" from "gboolean" to a "gchar*" which holds the name of
      	the replacement procedure.
      
      	* tools/pdbgen/app.pl: changed accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
      	the name of the replacement procedure in the warning message.
      
      	* tools/pdbgen/stddefs.pdb: added utility function
      	std_pdb_deprecated() which takes the name of the replacement
      	procedure and fills the blurb, help, author, copyright, date and
      	deprecated fields of the procedure definition.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
      	the same code and strings for all deprecated procedures.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimppatterns_pdb.c
      	* libgimp/gimptexttool_pdb.c: regenerated.
      
      20
      8a47cc92
    • Michael Natterer's avatar
      changed new member "deprecated" from "gboolean" to a "gchar*" which holds · 6f42c42d
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
      	"deprecated" from "gboolean" to a "gchar*" which holds the name of
      	the replacement procedure.
      
      	* tools/pdbgen/app.pl: changed accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
      	the name of the replacement procedure in the warning message.
      
      	* tools/pdbgen/stddefs.pdb: added utility function
      	std_pdb_deprecated() which takes the name of the replacement
      	procedure and fills the blurb, help, author, copyright, date and
      	deprecated fields of the procedure definition.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
      	the same code and strings for all deprecated procedures.
      
      	* app/pdb/*_cmds.c: regenerated.
      6f42c42d
    • Michael Natterer's avatar
      Fixed the scale constraints radio buttons: · 3f2d5e68
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	Fixed the scale constraints radio buttons:
      
      	* app/tools/gimptransformoptions.c (gimp_transform_options_gui):
      	initialize the radio group with the correct value instead of
      	resetting the model before creating the group.
      
      	(gimp_scale_options_constrain_callback): change the model
      	only if the radio button became active.
      
      	(gimp_scale_options_constrain_notify): new callback which makes
      	the radio buttons a real view on the model again (fixes GUI
      	updates on modifier press/release).
      3f2d5e68
    • Sven Neumann's avatar
      an image doesn't necessarily have a drawable. Handle the case when it · 84696bcb
      Sven Neumann authored
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/plug-in-actions.c (plug_in_actions_update): an image
      	doesn't necessarily have a drawable. Handle the case when it doesn't.
      84696bcb
    • Sven Neumann's avatar
      app/app_procs.[ch] app/batch.[ch] added new command-line option · 1956f311
      Sven Neumann authored
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.[ch]
      	* app/batch.[ch]
      	* app/main.c: added new command-line option "--batch-interpreter"
      	that allows to specify the procedure to use to process batch
      	commands. Removed the perl-server hack but kept Script-Fu as the
      	default for backward compatibility.
      
      	* docs/gimp.1.in: documented the new option.
      1956f311
    • Michael Natterer's avatar
      removed the code which sets the new image on all contexts where the old · a1ff75de
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-commands.c (file_revert_confirm_callback):
      	removed the code which sets the new image on all contexts where
      	the old image was set...
      
      	* app/display/gimpdisplay-foreach.c (gimp_displays_reconnect):
      	...and added it here so it happens for all calls of this function,
      	also from the PDB. Fixes bug #154638.
      a1ff75de
    • Sven Neumann's avatar
      updated. · 449a1c45
      Sven Neumann authored
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.def: updated.
      
      2004-10-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpbrush.sgml
      	* libgimp/tmpl/gimpgradient.sgml
      	* libgimp/tmpl/gimppattern.sgml: updated.
      449a1c45
    • Michael Natterer's avatar
      return the mask's bpp and the brush's pixmap data if it has one. · 7ed9a288
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
      	brush's pixmap data if it has one.
      
      	* tools/pdbgen/pdb/pattern.pdb: cleaned up.
      
      	* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
      	functions even if they are not exported to libgimp any more.
      
      	* app/pdb/procedural_db.h (struct ProcRecord): added member
      	"gboolean deprecated".
      
      	* tools/pdbgen/app.pl
      	* app/xcf/xcf.c: fill it accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
      	not only for deprecated procedured which are in the compat hach
      	table, but also for procedures with deprecated flag set to TRUE.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      7ed9a288