Commit Graph

2275 Commits

Author SHA1 Message Date
Maurits Rijk 6c0ac81c5b Last changes to solve #81963 2002-12-12 20:11:24 +00:00
Sven Neumann 30e107e4bf applied a patch from Chris Purnell <cjp@lost.org.uk> that adds the
2002-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ripply-anim.scm: applied a patch from
	Chris Purnell <cjp@lost.org.uk> that adds the possibility to
	specify the edge behaviour (#83767).
2002-12-11 13:56:25 +00:00
Maurits Rijk f824335250 More changes to fix #81963 2002-12-10 10:39:23 +00:00
Michael Natterer 3e223aa011 fixed color_list iteration for GIMP_PDB_COLOR args. Closes bug #100696.
2002-12-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): fixed
	color_list iteration for GIMP_PDB_COLOR args. Closes bug #100696.
2002-12-08 22:53:01 +00:00
Hans Breuer c62a5abb10 need to adjust the data pointer for BI_BITFIELDS bitmaps, fixes #99246
2002-12-06  Hans Breuer  <hans@breuer.org>

	* plug-ins/common/winclipboard.c : need to adjust the data
	pointer for BI_BITFIELDS bitmaps, fixes #99246
2002-12-06 19:45:47 +00:00
Sven Neumann 8a678c0948 removed useless assignments.
2002-12-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	removed useless assignments.

	* plug-ins/common/aa.c: removed wrong assertions that caused the
	plug-in to crash on images with odd width or height (#100344).
	Added support for RGB images as well as alpha channel while I was
	on it.
2002-12-04 19:02:45 +00:00
Sven Neumann 99df95f28e made it a lot less deprecated.
2002-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: made it a lot less deprecated.
2002-12-03 19:50:26 +00:00
Sven Neumann 0ecb40fa40 removed broken code that used to update the preview when the user releases
2002-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: removed broken code that used
	to update the preview when the user releases the button after
	moving a slider. Instead set the range to UPDATE_DELAYED and
	update the preview on "value_changed". Fixes bug #97350.
2002-12-03 12:32:55 +00:00
Sven Neumann acb7bac011 reverted changes that Maurits accidentally committed 2002-12-01 22:29:57 +00:00
Maurits Rijk 978e0f76f1 Moved a lot of generic preview code to the new files gimpmiscui.[ch] so it will be easier later to port these plug-ins to the new (not yet finished) effect preview widget. 2002-12-01 20:56:01 +00:00
Sven Neumann c838165e33 prefix PIXELS and POINTS with GIMP instead of SIZE so we don't break the
2002-12-01  Sven Neumann  <sven@gimp.org>

	* app/core/core-types.h: prefix PIXELS and POINTS with GIMP
	instead of SIZE so we don't break the libgimp API without a good
	reason.

	* app/pdb/text_tool_cmds.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
	GTimer API is simple enough and doesn't need to be wrapped.

	* plug-ins/common/newsprint.c
	* plug-ins/common/unsharp.c: use GTimer.
2002-12-01 19:33:34 +00:00
Gustavo Maciel Dias Vieira 06e1d93fdb Updated Brazilian Portuguese translation by Alexandre Folle de Menezes
2002-12-01  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation by Alexandre
        Folle de Menezes <afmenez@terra.com.br>.
2002-12-01 17:56:12 +00:00
Hans Breuer 7c7ff46cc6 updated
2002-11-30  Hans Breuer  <hans@breuer.org>

	* */makefile.msc */*/makefile.msc : updated

	* themes/Default/images/makefile.msc : new file
	* themes/Default/makefile.msc : removed

	* libgimpwidgets/gimpwidgets.def : updated

	* app/core/core-types.h : renamed PIXELS and POINTS
	to SIZE_* to avoid clashes with system headers
	* app/pdb/text_tool_cmds.c : updated ...
	* tools/pdbgen/enums.py : ... by renaming here too.

	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
	* app/widgets/gimppropwidgets.c : <string.h> for strlen()

	* app/config/gimpconfig.c : on win32 rename always fails
	if the destination file exists. Delete it first.

	* libgimp/gimp.def : removed all '_'-prefixed exports
	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
	with gimp_layer_copy(), gimp_layer_add_alpha()

	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
	g_timer to be more portable

	* libgimpbase/gimpdatafiles.c : there are no symlinks on
	win32, inverted to #ifndef G_OS_WIN32 as it was meant.

	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
	  libgimpwidgets/gimpwidgets.def : updated externals

	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
	don't initialize more than the defined struct size

	* plug-ins/common/warp.c : removed unneeded unistd.h and
	signal.h include

	* regexrepl/regexrepl.def : (new file) needed to build
	as DLL
2002-12-01 14:53:17 +00:00
Michael Natterer 41c5ac54ce use gtk_label_new_with_mnemonic():
2002-11-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
	use gtk_label_new_with_mnemonic():

	* plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
	Removed all static variables. Cleanup.
2002-11-29 13:57:30 +00:00
Maurits Rijk 401c35f736 More use of gimpmisc generic region iterator routines. 2002-11-27 21:19:35 +00:00
Maurits Rijk ef679e5ddc More replacement of generic code by gimpmisc convenience funcs. 2002-11-26 22:13:37 +00:00
Maurits Rijk 80a5be2d13 Moved a few more functions to gimpmisc (timing functions, 2 general pixel region iterator funcs, etc) and changed a few plug-ins accordingly. 2002-11-25 22:37:36 +00:00
Dave Neary da5b08e843 libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h
2002-11-24  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.c
        * libgimpwidgets/gimpwidgets.h
        * plug-ins/common/blur.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c
        * plug-ins/gflare/gflare.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c: Changed the gimp random seed
        widget's behaviour and made associated changes in
        plug-ins that use it.
2002-11-24 19:29:49 +00:00
Dave Neary ba9c7fe993 libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h
2002-11-24  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.c
        * libgimpwidgets/gimpwidgets.h
        * plug-ins/common/blur.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c
        * plug-ins/gflare/gflare.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c: Changed the gimp random seed
        widget's behaviour and made associated changes in
        plug-ins that use it.
2002-11-24 19:26:58 +00:00
Maurits Rijk a64029bad6 Changed plug-ins so they now use gimpmisc functions. 2002-11-21 22:04:39 +00:00
Maurits Rijk 1a4dd50167 Made a start at factoring out lots of common plug-in code into libgimp. libgimpmisc.[ch] were created to hold the routines, until they are properly documented and put into their 'right' file, for example color functions into libgimpcolor, etc. 2002-11-20 22:58:52 +00:00
Maurits Rijk 82243555b0 Fixed small bug in gimp_bilinear routines and use them instead of plug-in's own implementations 2002-11-20 21:29:16 +00:00
Dave Neary 0a4c338ee8 plug-ins/maze/maze.[ch] plug-ins/maze/algorithms.c Changed occurreces of
2002-11-20  Dave Neary  <bolsh@gimp.org>

        * plug-ins/maze/maze.[ch]
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze_face.c: Changed occurreces of
        timeseed to defaultseed to more accurately reflect what
        happens with the g_rand* functions. Sorry for missing one
        earlier & temporarily breaking the build :~}
2002-11-20 14:39:17 +00:00
Sven Neumann 7bdf56a60e Reverted bolsh's change which broke my fix. 2002-11-20 14:18:48 +00:00
Dave Neary b48d3997e6 Fixed a silly mistake that broke the build. Sorry.
2002-11-20  Dave Neary  <bolsh@gimp.org>

	* maze_face.c: Fixed a silly mistake that broke the build. Sorry.
2002-11-20 11:17:19 +00:00
Sven Neumann 2394271e17 make it compile 2002-11-20 10:45:29 +00:00
Dave Neary cd28dee822 configure.in app/core/gimpbrushpipe.c app/gui/about-dialog.c
2002-11-20  Dave Neary  <bolsh@gimp.org>

        * configure.in
        * app/core/gimpbrushpipe.c
        * app/gui/about-dialog.c
        * app/paint-funcs/paint-funcs-generic.h
        * app/paint-funcs/paint-funcs.c
        * libgimpmath/gimpmath.h
        * libgimpwidgets/gimpwidgets.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/common/blur.c
        * plug-ins/common/cubism.c
        * plug-ins/common/gee.c
        * plug-ins/common/gee_zoom.c
        * plug-ins/common/gqbist.c
        * plug-ins/common/jigsaw.c
        * plug-ins/common/lic.c
        * plug-ins/common/noisify.c
        * plug-ins/common/nova.c
        * plug-ins/common/papertile.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/scatter_hsv.c
        * plug-ins/common/shift.c
        * plug-ins/common/sinus.c
        * plug-ins/common/smooth_palette.c
        * plug-ins/common/snoise.c
        * plug-ins/common/sparkle.c
        * plug-ins/common/spheredesigner.c
        * plug-ins/common/spread.c
        * plug-ins/common/warp.c
        * plug-ins/common/wind.c
        * plug-ins/flame/cmap.c
        * plug-ins/flame/flame.c
        * plug-ins/flame/libifs.c
        * plug-ins/gflare/gflare.c
        * plug-ins/gimpressionist/gimpressionist.c
        * plug-ins/gimpressionist/gimpressionist.h
        * plug-ins/gimpressionist/plasma.c
        * plug-ins/gimpressionist/repaint.c
        * plug-ins/ifscompose/ifscompose_utils.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
        G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
        srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
        equivalent. Programs which require seed setting for reproducible
        results, and anything in the core, gets a dedicated GRand * for
        the lifetime required. Programs which only ever used random
        numbers for tossing a coin, rolling a dice, etc use g_random
        functions. For the rest, judgement was used. Where it was easy, a
        GRand * object was used and g_rand_* functions were
        preferred. This fixes bug #67386 in HEAD.
2002-11-20 09:27:48 +00:00
Maurits Rijk ea2dd5845b Lots of code clean-up. GIMPressionist now more or less has the same look and
feel as other plug-ins (#81963)
2002-11-19 20:25:57 +00:00
Manish Singh 2eef2afbc1 don't say "Now type 'make'" if configure failed.
2002-11-11  Manish Singh  <yosh@gimp.org>

        * autogen.sh: don't say "Now type 'make'" if configure failed.

        * app/core/Makefile.am
        * app/core/core-types.h
        * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
        keeps an envp array built from system environment and *.env files.

        * app/core/gimp.[ch]: keep a GimpEnvironTable around.

        * app/gimprc.c
        * app/config/gimpcoreconfig.[ch]
        * app/core/gimpcoreconfig.h
        * app/gui/preferences-dialog.c
        * app/gui/user-install-dialog.c: environ-path config stuff

        * themes/Default/images/preferences/Makefile.am
        * themes/Default/images/preferences/folder-environ.png: just copied
        folder.png here, need a better one.

        * app/plug-in/plug-in.c: quick hack to use the envp in the
        GimpEnvironTable. Only on unix now, should really port the
        code to use g_spawn_*.

        * data/misc/user_install
        * etc/gimprc.in: add environ-path stuff

        * data/environ/Makefile: creates system environ directory.

        * data/environ/default.env: sample env file info.

        * data/Makefile.am
        * configure.in: added data/environ dir

        * plug-ins/pygimp/Makefile.am: python module files get put in
        $(gimpplugindir)/python now, install pygimp.env to point to it.

        * plug-ins/pygimp/doc/Makefile.am: minor clean up.
2002-11-12 03:34:11 +00:00
Manish Singh af3cde410e allow setting compression level 0 from the UI.
2002-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: allow setting compression level 0 from
        the UI.
2002-11-10 00:27:49 +00:00
Maurits Rijk b80b88d738 Fix for #81965 (Sinus filter doesn't use the 'standard' gimp_random_seed widget) 2002-11-09 13:36:37 +00:00
Maurits Rijk efd3ed97d1 Fix for #92469 (replace "Save as" by Save As"), #82492 (replace "Search Time" by
"Search Depth") and some minor code clean-up.
2002-11-08 22:48:08 +00:00
Sven Neumann 2368c1f38e added missing file (#98034).
2002-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/Makefile.am (EXTRA_DIST): added missing file (#98034).
2002-11-08 17:06:45 +00:00
Sven Neumann 090380ad72 plug-ins/script-fu/script-fu-scripts.c plug-ins/script-fu/interp_slib.c
2002-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/interp_slib.c
	* plug-ins/script-fu/interp_sliba.c: use locale-independant
	functions to convert between strings and numbers so that Script-Fu
	doesn't get confused in locales that don't use a dot as the
	decimal point (#98014).

	* plug-ins/common/papertile.c: applied a patch from David Necas
	that makes the color button work again (#97976).
2002-11-08 14:46:14 +00:00
Dave Neary d70c1f94fb Applied patch from Raphael Quinet to suppress printing of comments in XBM
2002-11-07  Dave Neary  <bolsh@gimp.org>
        * plug-ins/common/xbm.c: Applied patch from Raphael
        Quinet to suppress printing of comments in XBM files.
        Closes bug #82763.
2002-11-07 19:09:01 +00:00
Sven Neumann f747a59e2b applied a patch from Toby Smith that moves the call to
2002-11-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/papertile.c: applied a patch from Toby Smith
	that moves the call to gimp_drawable_mask_bounds() to the filter()
	function so that the filter is applied to the correct selection
	even if it changed after the plug-in dialog was opened.

	* plug-ins/common/unsharp.c (unsharp_mask_dialog): allow larger
	values for the radius (as suggested #92250).

	* plug-ins/common/png.c: applied patch from Raphael Quinet that
	untoggles the "Save background color" option for images w/o an
	alpha channel (#92395).
2002-11-06 20:37:19 +00:00
Sven Neumann 2ef9706b1d don't say we'd use MMX if it is disabled.
2002-11-06  Sven Neumann  <sven@gimp.org>

	* app/base/base.c (base_init): don't say we'd use MMX if it is
	disabled.

	* libgimpmodule/gimpmodule.[ch]
	* app/gui/module-browser.c: changed enum values and user-visible
	strings to saner values.

	* libgimpmodule/gimpmoduledb.c
	* plug-ins/tools/tool-safe-mode.c: made them less verbose.
2002-11-06 13:56:37 +00:00
Dave Neary 368afec46c Removed cruft from file, including unclear comments and redundant code.
2002-11-06  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Removed cruft from file,
         including unclear comments and redundant code.
2002-11-06 11:31:35 +00:00
Sven Neumann 8df640e4dd app/xcf/xcf-save.c save as XCF version 2 if one of the new layer modes is
2002-11-06  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c
	* app/xcf/xcf.c: save as XCF version 2 if one of the new layer
	modes is used.

	* plug-ins/gflare/gflare.c: fixed #97766 along with a couple of
	other GUI issues.
2002-11-06 10:07:31 +00:00
Sven Neumann 63fb9cc82a fixed stupid bug that caused this plug-in to map to undefined values.
2002-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c: fixed stupid bug that caused this
	plug-in to map to undefined values. Spotted by David Necas (#97780).

	* tools/authorsgen/contributors: added some names.

	* AUTHORS
	* app/gui/authors.h: regenerated.
2002-11-05 23:01:04 +00:00
Sven Neumann 6412119487 applied a couple of patches from yeti@physics.muni.cz that fix various
2002-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/gflare/gflare.c: applied a couple of patches from
	yeti@physics.muni.cz that fix various issues with the GFlare
	plug-in. Most of these were introduced when doing the (still
	unfinished) port to GTK+-2.0 (#97761, #97764, #97765).

	Did some more changes while I was on it...

	* plug-ins/gflare/gflares/Bright_Star
	* plug-ins/gflare/gflares/Classic
	* plug-ins/gflare/gflares/Default
	* plug-ins/gflare/gflares/Distant_Sun
	* plug-ins/gflare/gflares/GFlare_101
	* plug-ins/gflare/gflares/GFlare_102
	* plug-ins/gflare/gflares/Hidden_Planet: applied a patch from
	yeti@physics.muni.cz that changes the names to use spaces instead
	of underscores (#97763).
2002-11-05 20:11:28 +00:00
Sven Neumann ace7acd3b4 app/base/base-enums.h app/paint-funcs/paint-funcs-generic.h
2002-11-05  Sven Neumann  <sven@gimp.org>

	* app/base/base-enums.h
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.c
	* app/widgets/gimpwidgets-constructors.c: applied a patch from
	Guillermo S. Romero that adds three new layer modes (Softlight,
	Grain Extract and Grain Merge, #97686).

	* app/base/base-enums.c
	* app/pdb/brush_select_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/widgets/gimpwidgets-constructors.c
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2002-11-05 19:33:59 +00:00
Sven Neumann bc2b4386fb use stock buttons.
2002-11-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/gimp_color_window.c: use stock buttons.
2002-11-04 14:06:41 +00:00
Sven Neumann 8f9d5942c1 make the dialog a "normal" window if it is created w/o an action area
2002-10-31  Sven Neumann  <sven@gimp.org>

	* app/gui/color-notebook.c: make the dialog a "normal" window if
	it is created w/o an action area (#97364).

	* plug-ins/Lighting/lighting_preview.c: removed use of deprecated
	GDK functions.
2002-10-31 22:36:46 +00:00
Sven Neumann f676f1afc9 plug-ins/common/gauss_iir.c plug-ins/common/gauss_rle.c applied a patch
2002-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/sel_gauss.c:
	applied a patch from Guillermo S. Romero that extends the range of
	valid radii to > 0.0 for these blur plug-ins (#97166).
2002-10-31 21:38:01 +00:00
Michael Natterer dcb5f7b2da reordered action buttons.
2002-10-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/unsharp.c: reordered action buttons.
2002-10-28 19:12:17 +00:00
Michael Natterer b5d27fc4ac app/display/gimpdisplayshell.c app/gui/about-dialog.c
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c
	* app/gui/about-dialog.c
	* app/gui/convert-dialog.c
	* app/gui/dialogs-commands.c
	* app/gui/file-commands.c
	* app/gui/palette-import-dialog.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpwidgets-utils.c
	* libgimpwidgets/gimpfileselection.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.c: replaced all sorts of
	gtk_widget_show()/gdk_window_rise() combinations by
	gtk_window_present().
2002-10-25 01:11:24 +00:00
Sven Neumann 9c04105cfc plug-ins/common/compose.c applied a patch from Michael Niedermayer
2002-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: applied a patch from
	Michael Niedermayer <michaelni@gmx.at> that adds support for
	YCbCr (de)composition (#96448).
2002-10-23 22:20:23 +00:00
Maurits Rijk a75dfc5642 Applied patch from <roccodevinger@yahoo.com> to fix #52896 (Lighting Effects
plugin needs interactive light placement)
2002-10-16 21:18:11 +00:00
Dave Neary 2b8a3995d6 Corrected coding standard issues (indentation & bracketting).
2002-10-14  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Corrected coding standard issues
        (indentation & bracketting).
2002-10-14 15:32:47 +00:00