Commit Graph

5019 Commits

Author SHA1 Message Date
Michael Natterer 5e18bba988 One more 17C3 commit ...
2000-12-30  Michael Natterer  <mitch@gimp.org>

	One more 17C3 commit ...

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: removed unused stuff.

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_image.[ch]
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_preview.[ch]
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.[ch]
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_shade.[ch]
	* plug-ins/MapObject/mapobject_ui.c: cleanups in preparation for
	removal of LibGCK.
2000-12-30 00:23:34 +00:00
Michael Natterer 4a0f7c5866 removed all the "typedef gimage_function gimp_image_function" stuff so we
2000-12-30  Michael Natterer  <mitch@gimp.org>

	* app/gimage.[ch]: removed all the
	"typedef gimage_function gimp_image_function" stuff so we can clearly
	see what is really a GImage function.
	Removed gimage_get_ID(). Use pdb_id_to_image() instead.

	* app/airbrush.c
	* app/desaturate.c
	* app/disp_callbacks.c
	* app/equalize.c
	* app/fileops.c
	* app/floating_sel.c
	* app/gdisplay_ops.c
	* app/gimpdrawable.c
	* app/global_edit.c
	* app/image_map.c
	* app/invert.c
	* app/lc_dialog.c
	* app/paths_dialog.c
	* app/plug_in.c
	* app/xcf.c

	* app/color_cmds.c
	* app/convert_cmds.c
	* app/image_cmds.c
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/image.pdb: changed accordingly.
2000-12-30 00:16:50 +00:00
Sven Neumann bc3a4b2916 even more things TODO
--Sven
2000-12-29 18:41:48 +00:00
Sven Neumann 474ecf5595 added confetti.gih and hsparks.gih
2000-12-29  Sven Neumann  <sven@gimp.org>

	* brushes/Makefile.am: added confetti.gih and hsparks.gih
2000-12-29 18:38:58 +00:00
CET 2000 Simon Budig 8b21984e9e New brushpipe: basically the components of confetti.gbr. Works great with
Fri Dec 29 18:14:46 CET 2000  Simon Budig  <simon@gimp.org>

        * data/brushes/confetti.gih:  New brushpipe: basically the
        components of confetti.gbr. Works great with the "size"-pressure
        option.
2000-12-29 17:18:37 +00:00
Sven Neumann a75a723968 more things to do
2000-12-29  Sven Neumann  <sven@gimp.org>

	* TODO.xml: more things to do
2000-12-29 16:57:11 +00:00
Michael Natterer 8d6c335f8f app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h
2000-12-29  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/channel_pvt.h
	* app/drawable_pvt.h
	* app/gdisplayF.h
	* app/gimpdrawableP.h
	* app/gimpimageP.h
	* app/layer_pvt.h
	* app/toolsF.h: removed these files.

	* app/apptypes.h
	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/help.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/tools.pdb
	* app/*: chainsaw #include cleanup:

	- Never (never!!) include stuff in header files except where we
	  need access to structures' contents (like derived objects).
	- Added prototypes and proper formating in many files.
	- The #include order in *all* *.c files is as follows:

	#include "config.h"

	#include <system stuff>

	#include <gtk/gtk.h>

	#include "apptypes.h"

	#include "gimp stuff"

	#include "libgimp stuff"

	#include "libgimp/gimpintl.h"

	By following this scheme we can easily see a file's dependencies
	from it's #include's and can grep for the inclusion to find out
	where a file is used.

	* tools/pdbgen/app.pl: changed to follow the include scheme above.

	* libgimp/Makefile.am
	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
	and from app/apptypes.h.

	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimpparasite.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimpprotocol.c
	* libgimp/gimpquerybox.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimptypes.h
	* libgimp/gimpui.h
	* libgimp/gimpunit.h
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gdyntext/message_window.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_file.c: these files used to include
	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
	no longer possible because the libgimpui headers don't inlcude
	"libgimp/gimpunit.h" any more.
2000-12-29 15:22:01 +00:00
Yuri Syrota bc5a1d561b Updated Ukrainian translation 2000-12-29 14:22:37 +00:00
Asbjørn Pettersen 9111fe0673 remove gimp_color_display_register 2000-12-29 11:24:44 +00:00
Simon Budig c7f6e3d2a0 modules/colorsel_triangle.c Fixed the same 16->8bit conversion bug as in
2000-12-29  Simon Budig  <simon@gimp.org>

        * modules/colorsel_triangle.c   Fixed the same 16->8bit conversion
        bug as in gimp-1-2 and removed duplicated code.
2000-12-29 08:11:48 +00:00
Simon Budig a78110b873 gimp_splash.ppm A new splash... gimp1_2_splash.ppm A new file for the old
2000-12-28  Simon Budig  <simon@gimp.org>

        * gimp_splash.ppm     A new splash...
        * gimp1_2_splash.ppm  A new file for the old splash

        * modules/colorsel_triangle.c   Fixed a warning.
2000-12-29 02:54:03 +00:00
Rodrigo Sancho Senosiain a9276b36f9 es.po updated 2000-12-28 23:42:14 +00:00
Rodrigo Sancho Senosiain d17aadc002 updated 2000-12-28 23:38:40 +00:00
Rodrigo Sancho Senosiain bcb03c7f5b minor changes 2000-12-28 23:32:30 +00:00
Simon Budig 6b5271914d modules/colorsel_triangle.c Cleanup, indentation madness, first steps
2000-12-28  Simon Budig  <simon@gimp.org>

        * modules/colorsel_triangle.c
        Cleanup, indentation madness, first steps towards a one-click
        color-selector.
2000-12-28 22:40:04 +00:00
Sven Neumann ebe7d2f988 app/channel.c use gtk_object_sink() instead of gtk_object_unref() when
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/channel.c
	* app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
	when deleting a layer or channel since only floating objects should
	be destroyed this way. A layer or channel that has been attached
	to an image shall never be deleted.

	* app/layer_cmds.c
	* libgimp/gimplayer_pdb.c
	* tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
	function since it might be useful under rare circumstances.
2000-12-28 19:17:41 +00:00
Sven Neumann 4e5c3195ba app/commands.c small new feature: display a layer preview popup when
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/commands.c
	* app/layer_select.[ch]: small new feature: display a layer preview
	popup when switching the active layer using PageUp/PageDown. Could
	need a little tweaking...
2000-12-28 17:31:07 +00:00
Michael Natterer 0d440e1040 app/channel.[ch] app/drawable.h app/gimpdrawable.[ch] app/gimpdrawableP.h
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/channel.[ch]
	* app/drawable.h
	* app/gimpdrawable.[ch]
	* app/gimpdrawableP.h
	* app/gimpimage.[ch]
	* app/gimpimageP.h
	* app/layer.[ch]
	* app/layer_pvt.h: started a major cleanup of all image/drawable
	files. Added tons of "const GimpImage *" declarations and properly
	formated the headers.

	* app/bezier_select.c
	* app/channels_dialog.c
	* app/crop.c
	* app/fileops.[ch]
	* app/fuzzy_select.c
	* app/gdisplay.c
	* app/layers_dialog.c
	* app/move.c
	* app/paint_funcs.[ch]
	* app/qmask.c
	* app/undo.c: changed accordingly plus the usual portion of coding
	style paranoia. This is not finished but Sven promised to buy me
	a beer if I commit now ;)
2000-12-28 16:19:55 +00:00
Manish Singh 93399c15ac bump up to version 1.3
-Yosh
2000-12-28 02:16:49 +00:00
Sven Neumann c11acc6c67 app/boundaryF.h app/gdisplayP.h app/gimplistP.h app/gimplutP.h
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/boundaryF.h
	* app/gdisplayP.h
	* app/gimplistP.h
	* app/gimplutP.h
	* app/gimpsetP.h
	* app/parasitelistP.h
	* app/pixel_regionP.h: removed these files

	* app/Makefile.am
	* app/apptypes.h
	* app/boundary.[ch]
	* app/floating_sel.h
	* app/gdisplay.c
	* app/gimplist.h
	* app/gimplut.[ch]
	* app/gimpset.[ch]
	* app/parasitelist.[ch]
	* app/pixel_processor.c
	* app/pixel_region.[ch]: moved structure definitions into the
	normal headers, various cleanups
2000-12-28 02:01:16 +00:00
Sven Neumann 243c5f4929 app/channel_cmds.c app/layer_cmds.c libgimp/gimpchannel_pdb.c
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/channel_cmds.c
	* app/layer_cmds.c
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimplayer_pdb.c
	* plug-ins/common/warp.c
	* plug-ins/gap/gap_exchange_image.c
	* plug-ins/gap/gap_range_ops.c
	* plug-ins/perl/examples/bricks
	* plug-ins/perl/examples/glowing_steel
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb:

	Two of the gimp-perl scripts used to call gimp_layer_delete() after
	gimp_image_remove_layer(). This will fail since the layer is already
	scheduled for destruction by removing it from the associated image or
	by deleting that image. It is thus dangerous and superfluous to export
	this feature through the PDB. The gimp_layer_delete() is hereby
	obsolete and does nothing any longer. I have removed the code calling
	it from all over the place (it was commented out in almost all places).

	The PDB help for gimp_channel_delete() now explicetly tells the user
	about the proper usage of the procedure.
2000-12-27 23:49:17 +00:00
Michael Natterer 7355ee111c app/bezier_select.[ch] massive cleanup (prototypes, indentation, ...)
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/bezier_select.[ch]
	* app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...)
2000-12-27 23:40:34 +00:00
Michael Natterer f8769ee5e2 cleanup, proper prototypes, ...
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/measure.c: cleanup, proper prototypes, ...
2000-12-27 23:25:51 +00:00
Michael Natterer b45bde77da the size of the string holding the image data was one byte too short (we
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/csource.c: the size of the string holding the
	image data was one byte too short (we forgot the trailing '\0').
	Reported by <goswin.brederlow@student.uni-tuebingen.de>
2000-12-27 20:51:09 +00:00
Sven Neumann c6ea8d673f TODO.xml new files. TODO.xml is a first start on a roadmap towards
2000-12-27  Sven Neumann  <sven@gimp.org>

	* TODO.xml
	* docs/make-todo: new files. TODO.xml is a first start on a roadmap
	towards gimp-1.4. All new features and major changes need to be
	defined here to be accepted into the gimp-1.3 branch.
2000-12-27 18:55:02 +00:00
Michael Natterer 7f29801363 gimp_image_merge_layers(): apply the layer mask only if layer->apply_mask
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask
	only if layer->apply_mask is TRUE, cleanup.
2000-12-27 18:15:37 +00:00
Simon Budig 2855049587 plug-ins/mosaic/mosaic.c plug-ins/script-fu/scripts/textured-logo.scm
2000-12-27  Simon Budig  <simon@gimp.org>

        * plug-ins/mosaic/mosaic.c
        * plug-ins/script-fu/scripts/textured-logo.scm
        Implemented a toggle to ask the user, if he wants to allow some
        tiles to be split in two pieces. This enables perfect hexagonal/
        squared/octagonal tiles. Changed the PDB-Interface and changed the
        script using this plug-in.
2000-12-27 18:09:06 +00:00
Michael Natterer 4c5757ee96 app/gimage.h implemented gimp_image_get_layer_by_index(), small cleanups.
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimage.h
	* app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(),
	small cleanups.

	* app/commands.c
	* app/layers_dialog.c: use the new function instead of accessing
	the layer list directly.
2000-12-27 16:12:05 +00:00
Michael Natterer 8d37156c7b layers_dialog_scroll_index(): don't fiddle around with magic numbers when
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle
	around with magic numbers when calculating the layer widget's
	height but simply ask one of them for it's allocation.  Fixes
	positioning when the preview is smaller than the layer widget list
	item.
2000-12-27 15:00:42 +00:00
Yuri Syrota 0474112312 Updated Ukrainian translation 2000-12-27 13:17:45 +00:00
Yuri Syrota a4ef20a82b Updated Ukrainian translation 2000-12-27 13:10:20 +00:00
Yuri Syrota badd8fcabd Updated Ukrainian translation 2000-12-27 12:27:04 +00:00
Tomas Ogren 33e7772668 Remove the last comma in an enum, xlc barfs
2000-12-27  Tomas Ogren  <stric@ing.umu.se>

* plug-ins/ifscompose/ifscompose_storage.c: Remove the last comma in
an enum, xlc barfs
2000-12-27 03:13:25 +00:00
Manish Singh 1f410de1aa fix fd leak on pattern loading
-Yosh
2000-12-26 19:11:10 +00:00
Yuri Syrota b14736d980 Updated Ukrainian translation 2000-12-26 13:34:26 +00:00
Manish Singh c1adde16d2 roll changelog for 1.2
-Yosh
2000-12-25 22:09:39 +00:00
Kjartan Maraas 0b25db1e86 Fixed up Norwegian translation.
2000-12-25  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Fixed up Norwegian translation.
2000-12-25 17:32:38 +00:00
Manish Singh 378814ac77 1.2.0 stuff
-Yosh
2000-12-25 08:08:08 +00:00
Manish Singh c8cfd1a92d remove display filter help
-Yosh
2000-12-24 21:08:30 +00:00
Manish Singh a7aca4cb97 disabled display filters code, since it is unfinished
-Yosh
2000-12-24 20:27:04 +00:00
Manish Singh 8e8b5ab46f removed spheredesigner
-Yosh
2000-12-24 19:38:21 +00:00
Michael Natterer de0b1a1bad C/tools/Makefile.am removed obsolete html file.
2000-12-24  Michael Natterer  <mitch@gimp.org>

	* C/tools/Makefile.am
	* C/tools/path.html: removed obsolete html file.
2000-12-24 17:21:20 +00:00
Michael Natterer 274a33a063 This is not my day :) 2000-12-24 16:55:13 +00:00
Michael Natterer baf92ac720 app/color_cmds.c my last s/rangechanged/range_changed/ somehow was not
2000-12-24  Michael Natterer  <mitch@gimp.org>

	* app/color_cmds.c
	* tools/pdbgen/pdb/color.pdb: my last s/rangechanged/range_changed/
	somehow was not really "g" ;)
2000-12-24 16:40:47 +00:00
Michael Natterer 2807a2d059 It's 5 not 4... 2000-12-24 16:16:35 +00:00
Michael Natterer 5bb20a62c6 Pre 1.2 Version 4 with some fixes for the path documentation from Andy
2000-12-24  Michael Natterer  <mitch@gimp.org>

	* Pre 1.2 Version 4 with some fixes for the path documentation
	from Andy Thomas.
2000-12-24 16:14:17 +00:00
Yuri Syrota 8154a125e2 Updated Ukrainian translation 2000-12-22 15:15:29 +00:00
Szabolcs Ban 37f2f0e682 minor fix to hu.po 2000-12-22 13:55:25 +00:00
Szabolcs Ban e4c7b1c595 more translations 2000-12-22 13:54:34 +00:00
Szabolcs Ban 43d2bc9c46 minor fix to hu.po 2000-12-22 13:51:58 +00:00