1. 07 Aug, 2005 3 commits
    • Michael Natterer's avatar
      new function. · 4c6d9ddd
      Michael Natterer authored
      2005-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch] (gimp_layer_flatten): new function.
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added "Remove Alpha Channel" action,
      	action callback, help ID and menu items. Fixes bug #309762.
      4c6d9ddd
    • Sven Neumann's avatar
      micro optimizations. · f4893406
      Sven Neumann authored
      2005-08-07  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c (siox_foreground_extract): micro optimizations.
      f4893406
    • Sven Neumann's avatar
      do not restart draw tool unless shell->proximity. · fcbf399f
      Sven Neumann authored
      2005-08-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselecttool.c: do not restart draw tool
      	unless shell->proximity.
      fcbf399f
  2. 06 Aug, 2005 16 commits
    • Sven Neumann's avatar
      show the extents of the working area if the user moves the mouse out of · 992bf99d
      Sven Neumann authored
      2005-08-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselecttool.c
      	(gimp_foreground_select_tool_draw): show the extents of the working
      	area if the user moves the mouse out of it. Is this useful?
      
      	* app/tools/gimpforegroundselectoptions.c: removed colons from labels.
      992bf99d
    • Sven Neumann's avatar
      increased default brush size and upper limit. · d46fa426
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselectoptions.c: increased default brush
      	size and upper limit.
      
      	* app/tools/gimpforegroundselecttool.c: draw a brush outline.
      d46fa426
    • Manish Singh's avatar
      remove dbbrowser from SUBDIRS. · f7691bae
      Manish Singh authored
      2005-08-06  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/Makefile.am: remove dbbrowser from SUBDIRS.
      f7691bae
    • Manish Singh's avatar
      plug-ins/dbbrowser/plugin-browser.c removed these files... · e8bc4d3f
      Manish Singh authored
      2005-08-06  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/dbbrowser/plugin-browser.c
              * plug-ins/dbbrowser/procedure-browser.c: removed these files...
      
              * plug-ins/common/plugin-browser.c
              * plug-ins/common/procedure-browser.c: ...and added them here.
      
              * plug-ins/common/mkgen.pl: transform - to _ in makefile variable
              names, and attach optional CFLAGS to only the plugins that need
              them.
      
              * plug-ins/common/plugin-defs.pl: added plugin-browser and
              procedure-browser, and changed poppler, svg, and wmf to use the new
              CFLAGS stuff.
      
              * plug-ins/common/.cvsignore
              * plug-ins/common/Makefile.am: regenerated.
      
              * configure.in: remove plug-ins/dbbrowser reference.
      e8bc4d3f
    • Sven Neumann's avatar
      reordered parameters to match the order of parameters in · 46bc22c7
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]: reordered parameters to match the order of
      	parameters in gimp_drawable_foreground_extract_siox().
      
      	* app/core/gimpdrawable-foreground-extract.c: changed accordingly.
      
      	* app/tools/gimpforegroundselectoptions.[ch]: draw slider value to
      	the right.
      
      	* app/tools/gimpfreeselecttool.[ch]: added
      	gimp_free_select_tool_select() to calls the virtual select() method.
      
      	* app/tools/gimpforegroundselecttool.[ch]: queue an idle select if
      	the smoothness or granularity values change in the tool options.
      46bc22c7
    • Sven Neumann's avatar
      app/base/siox.[ch] expose all parameters of the SIOX algorithm. Provide · d670b0e1
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]
      	* app/core/gimpdrawable-foreground-extract.[ch]: expose all
      	parameters of the SIOX algorithm. Provide default values.
      
      	* app/tools/gimpforegroundselectoptions.[ch]: added properties and
      	user interface for all SIOX parameters.
      
      	* app/tools/gimpforegroundselecttool.c: changed accordingly.
      
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/benchmark-foreground-extract.py: pass run-mode to PDB
      	calls.
      d670b0e1
    • Sven Neumann's avatar
      added a statusbar message to encourage the user to draw on the object. · ee530652
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselecttool.c: added a statusbar message
      	to encourage the user to draw on the object.
      ee530652
    • Sven Neumann's avatar
      app/base/siox.c moved rectangle intersection into · 3c8a10e9
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c
      	* app/core/gimpdrawable-foreground-extract.c: moved rectangle
      	intersection into gimp_drawable_foreground_extract().
      3c8a10e9
    • Sven Neumann's avatar
      added gimp_scan_convert_compose(), an alternative to · 68f09c7c
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: added gimp_scan_convert_compose(),
      	an alternative to gimp_scan_convert_render() that allows to compose
      	strokes on a drawable.
      
      	* app/tools/gimpforegroundselecttool.c: use the new function to
      	get rid of temporary channels for applying the strokes. Also fixed
      	calculation of stroke width from display scale.
      68f09c7c
    • Michael Natterer's avatar
      applied patch from Robert Ögren that frees the event returned by · 39f4e7bd
      Michael Natterer authored
      2005-08-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_popup): applied
      	patch from Robert Ögren that frees the event returned by
      	gtk_get_current_event(). Fixes bug #312017.
      39f4e7bd
    • Sven Neumann's avatar
      ccorrectly handle a stroke consisting of just a single point. · 13b25cfb
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_pen):
      	* app/tools/gimpforegroundselecttool.c: ccorrectly handle a stroke
      	consisting of just a single point.
      13b25cfb
    • Sven Neumann's avatar
      libgimpwidgets/gimppropwidgets.[ch] added gimp_prop_hscale_new(). · d60faca9
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppropwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def: added gimp_prop_hscale_new().
      
      	* app/tools/gimpforegroundselectoptions.c: added a control for the
      	stroke width.
      
      	* app/tools/gimpforegroundselecttool.c: cancel the tool if the
      	active drawable or the image size changes.
      
      	* app/widgets/gimpcontrollerlist.c: fixed signedness warning.
      d60faca9
    • Sven Neumann's avatar
      app/display/gimpcanvas.c (gimp_canvas_set_custom_gc) do not drop the · d89f04d5
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpcanvas.c (gimp_canvas_set_custom_gc) do not
      	drop the reference if the same custom GC is being set again.
      
      	* app/display/gimpdisplayshell-draw.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]: added GC and methods to draw
      	on the canvas with a solid pen.
      
      	* app/tools/gimpforegroundselectoptions.[ch]
      	* app/tools/gimpforegroundselecttool.c: draw using the new pen
      	functions. Scale the stroke width with the display scale.
      d89f04d5
    • Sven Neumann's avatar
      app/paint-funcs/paint-funcs-generic.h fixed signedness warnings. · 90d861be
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette-import.c:
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c: fixed signedness warnings.
      90d861be
    • Kevin Cozens's avatar
      Added missing argument in define statement. Fixed spelling errors. · 2167be4d
      Kevin Cozens authored
      2005-08-05  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: Added missing argument
      	in define statement. Fixed spelling errors.
      
      	* ChangeLog: Corrected my e-mail address.
      2167be4d
    • Sven Neumann's avatar
      canonicalize hardcoded procedure names. · 71785ac8
      Sven Neumann authored
      2005-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/batch.c: canonicalize hardcoded procedure names.
      
      	* app/base/siox.[ch]
      	* app/core/gimpdrawable-foreground-extract.[ch]
      	* app/tools/gimpforegroundselecttool.c: restrict the working area
      	to the double of the bounding box of the initial selection.
      71785ac8
  3. 05 Aug, 2005 5 commits
  4. 04 Aug, 2005 3 commits
  5. 03 Aug, 2005 8 commits
    • Sven Neumann's avatar
      app/vectors/gimpvectors-compat.[ch] app/xcf/xcf-load.c fixed signedness · b9e77caa
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-compat.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: fixed signedness warnings.
      b9e77caa
    • Michael Natterer's avatar
      typo: FOEEGROUND -> FOREGROUND. · ce933279
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.h: typo: FOEEGROUND -> FOREGROUND.
      ce933279
    • Michael Natterer's avatar
      canonicalize hardcoded procedure names. · 4e9fd4f6
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new):
      	canonicalize hardcoded procedure names.
      4e9fd4f6
    • Michael Natterer's avatar
      app/dialogs/module-dialog.c app/dialogs/palette-import-dialog.c · 32d875d0
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/module-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/gui/gui.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpenumaction.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimpmessagebox.c
      	* app/widgets/gimpmessagedialog.c
      	* app/widgets/gimppluginaction.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/widgets/gimpstringaction.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox.c: use canonical names for signals and
      	properties.
      32d875d0
    • Michael Natterer's avatar
      link against libgimpcolor. WhyTheHack did this work before? · 9d982c6b
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/help/Makefile.am: link against libgimpcolor. WhyTheHack
      	did this work before?
      9d982c6b
    • Sven Neumann's avatar
      added GIMP_UNDO_FOREGROUND_SELECT. · 94bef475
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_FOREGROUND_SELECT.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpforegroundselecttool-undo.[ch]: added stubs for
      	undo in the new foreground selection tool.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: include gimpbase.h for
      	gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/file/file-utils.c: fixed signedness warning.
      94bef475
    • Sven Neumann's avatar
      libgimpmath/gimpmd5.c libgimpmath/test-md5.c plug-ins/common/CEL.c · a40f35b7
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmd5.c
      	* libgimpmath/test-md5.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/cartoon.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/poppler.c
      	* plug-ins/jpeg/jpeg-save.c
      	* plug-ins/jpeg/jpeg-save.h
      	* plug-ins/metadata/interface.c
      	* plug-ins/metadata/metadata.c
      	* plug-ins/metadata/xmp-model.c
      	* plug-ins/script-fu/siod/sliba.c: fixed signedness warnings.
      a40f35b7
    • Sven Neumann's avatar
      deprecated RGB intensity functions and definitions. These coefficients do · 4f870bc1
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: deprecated RGB intensity functions
      	and definitions. These coefficients do not accurately compute
      	luminance for contemporary monitors. Instead the coefficients from
      	the sRGB spec should be used which have now been added.
      
      	* libgimpcolor/gimpcolor.def: updated.
      
      	* libgimp/gimpdrawable.c
      	* libgimp/gimppixelfetcher.c
      	* app/base/colorize.c
      	* app/base/levels.c
      	* app/base/temp-buf.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-convert.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage.c
      	* app/gui/splash.c
      	* app/widgets/gimpgradienteditor.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/aa.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/gradmap.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/png.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/maze/handy.c
      	* plug-ins/pagecurl/pagecurl.c: use gimp_rgb_luminance() and
      	friends instead of the deprecated intensity functions.
      4f870bc1
  6. 02 Aug, 2005 5 commits
    • Michael Natterer's avatar
      removed all parameters from gimp_proc_browser_dialog_new() and removed the · 79d2bb6a
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpprocbrowserdialog.[ch]: removed all parameters from
      	gimp_proc_browser_dialog_new() and removed the "scheme_names"
      	stuff.
      
      	* plug-ins/dbbrowser/procedure-browser.c
      	* plug-ins/pygimp/procbrowser.c
      	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
      
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-types.h
      	* plug-ins/script-fu/siod-wrapper.c: removed all sorts of
      	conversions between '-' and '_' for procedure names.
      
      	* plug-ins/script-fu/script-fu.c: use canonical names for
      	script-fu's procedures.
      79d2bb6a
    • Michael Natterer's avatar
      app/actions/vectors-commands.c canonicalized some hardcoded procedure · 335ba076
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/vectors-commands.c
      	* app/widgets/gimphelp.c: canonicalized some hardcoded procedure
      	names because internal functions accept only canonical names now.
      335ba076
    • Michael Natterer's avatar
      Changed naming scheme for PDB procedure names from · 853f04d5
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	Changed naming scheme for PDB procedure names from
      	random_crap_that_traditionally_has_underscores to
      	enforced-canonical-identifiers. I'm pretty sure some things are
      	broken after this commit. More changes to come...
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
      	"gchar *original_name" to keep a procedure's original name as
      	reigstered by plug-ins (compat cruft).
      
      	(procedural_db_init_procs): canonicalized list of deprecated
      	procedures.
      
      	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
      	original_name.
      
      	* app/plug-in/plug-in-message.c: canonicalize procedure names
      	which are received over the wire.
      
      	* app/plug-in/plug-in-rc.c: serialize the original_name and create
      	the canonicalized name on-the-fly when deserializing.
      
      	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
      	when running them because they strcmp() the passed procedure name.
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
      	canonical procedure names to procedural_db_execute().
      
      	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
      
      	* app/xcf/xcf.c: changed static XCF procedures accordingly.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
      	canonicalized names in app/, and C identifiers with underscores in
      	libgimp/.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
      	names in calls to std_pdb_deprecated() and in procedure names in
      	generated C code.
      
      	* app/pdb/*_cmds.c
      	* libgimp/*_pdb.c: regenerated.
      853f04d5
    • Sven Neumann's avatar
      libgimp/gimpbrushmenu.c libgimp/gimpdrawablecombobox.c · 990ee207
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpdrawablecombobox.c
      	* libgimp/gimpfontselectbutton.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpimagecombobox.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppatternmenu.c: fixed signedness warnings.
      990ee207
    • Manish Singh's avatar
      Quick and dirty restore of browser functionality. · 00d1d299
      Manish Singh authored
      2005-08-02  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser
              functionality.
      00d1d299