1. 07 Aug, 2005 4 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
      more micro optimizations · 37307dcb
      Sven Neumann authored
      37307dcb
    • 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 14 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
    • 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
      fixed handling of line width · 769acb57
      Sven Neumann authored
      769acb57
    • 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
    • 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 4 commits
  4. 04 Aug, 2005 3 commits
  5. 03 Aug, 2005 5 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
      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
    • 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
      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 3 commits
    • 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
      app/tools/gimpforegroundselectoptions.[ch] some code cleanup; moved stroke · 2162eb66
      Sven Neumann authored
      2005-08-02  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselectoptions.[ch]
      	* app/tools/gimpforegroundselecttool.[ch]: some code cleanup; moved
      	stroke width to the tool options.
      2162eb66
  7. 01 Aug, 2005 4 commits
    • Manish Singh's avatar
      ypto · e5fe84af
      Manish Singh authored
      e5fe84af
    • Manish Singh's avatar
      app/composite/Makefile.am fix code generation filenames. · f7b14365
      Manish Singh authored
      2005-07-31  Manish Singh  <yosh@gimp.org>
      
              * app/composite/Makefile.am
              * app/composite/make-installer.py: fix code generation filenames.
      f7b14365
    • Manish Singh's avatar
      Oops · c286b386
      Manish Singh authored
      c286b386
    • Manish Singh's avatar
      acinclude.m4 m4macros/Makefile.am new macro: GIMP_DETECT_CFLAGS; used to · b55753bb
      Manish Singh authored
      2005-07-31  Manish Singh  <yosh@gimp.org>
      
              * acinclude.m4
              * m4macros/Makefile.am
              * m4macros/detectcflags.m4: new macro: GIMP_DETECT_CFLAGS; used
              to detect which of a set of compiler options a compiler supports.
      
              * configure.in: use the above for the altivec and -fno-strict-aliasing
              flags. Also, use it to detect the presence of -mmmx and -msse, since
              those are needed to compile even MMX/SSE assembly with gcc 4.0. Define
              MMX/SSE_EXTRA_CFLAGS.
      
              * app/composite/Makefile.am: compile each of the composite flavors
              into their own library, so we can use automake's per-target CFLAGS.
              Use MMX/SSE/ALTIVEC_EXTRA_CFLAGS in the appropriate places. Build
              libappcomposite.a out of the resulting objects.
      
              * app/composite/gimp-composite-3dnow.c
              * app/composite/gimp-composite-altivec.c
              * app/composite/gimp-composite-mmx.c
              * app/composite/gimp-composite-sse.c
              * app/composite/gimp-composite-sse2.c
              * app/composite/gimp-composite-vis.c
              * app/composite/make-installer.py: move the _init functions into
              the installers, so only actually mmx/sse/etc. code gets compiled
              under the appropriate CFLAGS.
      
              * app/composite/gimp-composite-3dnow-installer.c
              * app/composite/gimp-composite-altivec-installer.c
              * app/composite/gimp-composite-mmx-installer.c
              * app/composite/gimp-composite-sse-installer.c
              * app/composite/gimp-composite-sse2-installer.c
              * app/composite/gimp-composite-vis-installer.c: regenerated.
      
              * app/composite/gimp-composite.c: remove useless cpu-accel.h include.
      b55753bb
  8. 31 Jul, 2005 3 commits