Commit Graph

2289 Commits

Author SHA1 Message Date
Maurits Rijk 68fb395b72 Fix for #97776 2002-12-21 12:53:28 +00:00
Maurits Rijk 449d4913fa More code clean-up. Better use of libgimp routines, etc. 2002-12-19 22:23:37 +00:00
Manish Singh 2bb5acc246 added some rudimentary support to prepend values to existing environment
2002-12-17  Manish Singh  <yosh@gimp.org>

        * app/core/gimpenvirontable.[ch]: added some rudimentary support
        to prepend values to existing environment variables. You can do
        "separator name=value" now. API change to gimp_environ_table_add
        for it too. Also added some error checking.

        * app/gui/gui.c: change to new above API

        * plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
        file

        * po/POTFILES.in: add gimpenvirontable.c
2002-12-18 02:47:39 +00:00
Maurits Rijk f24a67ab8f Applied patch from Jeroen Lamain to Lighting plug-in (working on #52896) and lots of changes to replace deprecated GtkList widget by GtkTreeView in GIMPressionist code. 2002-12-17 20:18:16 +00:00
Sven Neumann 7286023a8c merged fix for #84884 from stable branch.
2002-12-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/perl/Gimp.pm: merged fix for #84884 from stable branch.
2002-12-17 16:57:00 +00:00
Sven Neumann 1c2a8015f9 merged fix for #71409 from stable branch.
2002-12-17  Sven Neumann  <sven@gimp.org>

	* app/main.c: merged fix for #71409 from stable branch.

	* plug-ins/common/jpeg.c: merged fix for #75398 from stable branch.
2002-12-17 16:26:34 +00:00
Michael Natterer 87724e6c67 plug-ins/common/CML_explorer.c use g_ascii_dtostr() to serialize floats.
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/spheredesigner.c: use g_ascii_dtostr() to
	serialize floats.
2002-12-16 21:21:50 +00:00
Michael Natterer 2f46b75839 applied a patch from Henrik Brix Andersen <brix@gimp.org> which fixes bug
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ps.c (save_ps_setup): applied a patch from
	Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.
2002-12-16 19:24:05 +00:00
Sven Neumann 714b6fe881 sorry, you can only declare a variable at the beginning of a block.
2002-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/noisify.c (noisify_func): sorry, you can only
	declare a variable at the beginning of a block.
2002-12-16 12:19:22 +00:00
Maurits Rijk 6776254b59 Code clean-up for several plug-ins. 2002-12-15 20:31:07 +00:00
Sven Neumann b0b918f860 applied a patch from Toby Smith that fixes bug #90968.
2002-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
	that fixes bug #90968.
2002-12-14 20:55:25 +00:00
Maurits Rijk e390f9a4a5 Fixes for #92750 and #97771. Removed use off deprecated GtkText. Replaced arrow_up and arrow_down by stock icons. 2002-12-14 11:21:59 +00:00
Sven Neumann db5474a4c0 i2002-12-13 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: merged fix for #97352 from stable branch.
2002-12-13 14:57:16 +00:00
Sven Neumann 12890477ef libgimp/gimpintl.h libgimp/libgimp-intl.h removed remaining usage of
2002-12-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpintl.h
	* libgimp/libgimp-intl.h
	* plug-ins/script-fu/script-fu-scripts.c: removed remaining usage
	of ENABLE_NLS.
2002-12-13 13:23:47 +00:00
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