Commit Graph

2185 Commits

Author SHA1 Message Date
Asbjørn Pettersen 6322090df3 open tips file with rt 1999-08-20 09:24:56 +00:00
Tor Lillqvist f4fe52eda3 A start of a PSP plug-in. Doesn't actually do anything useful yet,
committed already just as a safety measure in case my disk crashes...
ChangeLog entry will be written when it is ready.
1999-08-20 00:47:05 +00:00
Marc Lehmann a86617d581 see plug-ins/perl/Changes 1999-08-19 20:31:37 +00:00
Michael Natterer 311c83b0a4 app/Makefile.am new file containing the dnd data definitions.
1999-08-19  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/Makefile.am
	* app/gimpdnd.h: new file containing the dnd data definitions.

	* app/disp_callbacks.[ch]
	* app/interface.c: drop layers on the toolbox to create a new
	image and on the display to copy it to the image's layer stack.

	* app/layers_dialog.c: drop layer on the "New" button to create an
	empty layer with the dropped layer's properties, to "Duplicate" to
	duplicate it and on the trashcan to delete it.
	Thanks to Andy for the ultra-cool dnd preview pixmap patch.

	* app/layer.[ch]
	* app/undo.c: renamed layer_mask() to layer_get_mask(). Prototyped
	some function headers.

	* app/disp_callbacks.c: Wheelmouse stuff: Shift+wheel scales the
	display.

	* app/airbrush.c
	* app/eraser.c
	* app/paint_options.h
	* app/paintbrush.c
	* app/pencil.c
	* app/tool_options.c: moved the "Incremental" toggle to the
	PaintOptions structure because it is used more often now.
1999-08-19 19:53:30 +00:00
Sven Neumann e7c1e75606 support for adding guides at the handles
--Sven
1999-08-19 16:26:47 +00:00
Manish Singh 8a95c9c242 #include "channel.h" and "layer.h" for GIMP_CHANNEL, GIMP_IS_LAYER, and
* tools/pdbgen/pdb/drawable.pdb: #include "channel.h" and "layer.h"
for GIMP_CHANNEL, GIMP_IS_LAYER, and GIMP_LAYER #defines

The rest of these files are generated from the fresh pdbgen run

-Yosh
1999-08-19 06:46:50 +00:00
Adrian Likins fe6739fe1b oh yeah, the Makefile.am for the new brushes too 1999-08-19 05:25:24 +00:00
Adrian Likins 342374190e data/brushes/vine.gih new files, a sample hose and a sample pixmap brush
* data/brushes/vine.gih
        * data/brushes/pepper.gpb: new files, a sample hose
        and a sample pixmap brush

        * docs/gpb.txt
        * docs/gih.txt: vague description of the current pixmap
        brush and hose formats

        * app/gimpbrushhose.c
        * app/gimpbrushpicmap.c: use the brush spacing info now
1999-08-19 05:22:45 +00:00
Adrian Likins 311953b12c add GradientPaintMode enum move above enum use above enum
Wed Aug 18 22:49:31 1999 Adrian Likins <alikins@redhat.com>

        * app/apptypes.h: add GradientPaintMode enum
        * app/paint_core.h: move above enum
        * app/paintbrush.c: use above enum

        * app/drawable_cmds.c: include "layers.h" so it
        will link again
1999-08-19 03:51:33 +00:00
Tor Lillqvist fcf6d3acce Add apptypes.h.
* tools/pdbgen/Makefile.am: Add apptypes.h.
1999-08-18 23:56:26 +00:00
Tor Lillqvist 808a7d1717 ChangeLog for previous commit; additionally:
* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/layer.pdb: Add a few casts.
1999-08-18 23:49:31 +00:00
Tor Lillqvist f6858e21d1 Actually use the enum types GimpImageType, GimpImageBaseType,
* app/*.[ch]: Actually use the enum types GimpImageType,
	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
	of just int or gint. Hopefully I catched most of the places
	where these should be used.

	Add an enum ConvolutionType, suffix the too general constants
	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
	instead of NORMAL in some places (this was what was intended). Fix
	some minor gccisms.

	* app/apptypes.h: New file. This file contains the above
	enumeration types, and some opaque struct typedefs. It was
	necessary to collect these in one header that doesn't include
	other headers, because when we started using the above mentioned
	types in the headers, all hell broke loose because of the
	spaghetti-like cross-inclusion mess between headers.

	(An example: Header A includes header B, which includes header C
	which includes A. B uses a type defined in A. This is not defined,
	because A hasn't defined it yet at the point where it includes B,
	and A included from B of course is skipped as we already are
	reading A.)
1999-08-18 23:41:39 +00:00
Sven Neumann 088a9d7131 almost done with the measure tool ...
--Sven
1999-08-18 18:48:35 +00:00
Tor Lillqvist e9ae1a599b Mention where a sample .gih file can be found. 1999-08-18 00:18:16 +00:00
Tor Lillqvist 4b22d03f10 Fix it. Now the hose itself, interpreted as a pixmap brush (which the hose
* app/gimpbrushhose.c (gimp_brush_hose_load): Fix it. Now the hose
	itself, interpreted as a pixmap brush (which the hose is a
	subclass of), is the first brush in its list. The rest of the
	pixmap brushes in the list are separately allocated ones. Don't
	read the pattern names into dummy buffers, just seek past.

	* app/pixmapbrush.c (pixmapbrush_motion): Now works better, and
	actually steps through the pixmaps in the hose's list. The
	paint_core->brush (which points to a brush hose in the cases we're
	interested in) is temporarily replaced with the current pixmap
	brush to use, and restored after applying the pixmap brush.

	* app/makefile.{cygwin,msc}: Add new files.
1999-08-17 23:32:48 +00:00
Marc Lehmann ffd97288da just reformatted 1999-08-17 20:58:23 +00:00
Asbjørn Pettersen 1e3c91f348 test hash lookup result 1999-08-17 14:43:45 +00:00
Adrian Likins 0c08558ba2 ooops, forgot Makefile.am 1999-08-17 04:23:02 +00:00
Adrian Likins 33a045c12f oops, missed a couple of file 1999-08-17 01:05:59 +00:00
Adrian Likins e87ae53aba app/gimpbrushhose.c new files to implement a GimpBrushHose type. The idea
Mon Aug 16 20:48:33 1999 Adrian Likins <alikins@redhat.com>

        * app/gimpbrushhose.c
        * app/gimpbrushhose.h: new files to implement a GimpBrushHose
        type. The idea being its derived from gimpbrushes, so we can
        make regular tools use it if need be, and fold it into the brushes
        dialog nice and easy.

        * app/gimpbrush.c
        * app/gimpbrushgenerated.c
        * app/gimpbrushpixmap.c:
        * app/gimpbrushpixmap.h: Modified the *_get_type() functions
        to behave more correctly. As suggested by Tim Janik <tim@gtk.org>

        * app/pixmapbrush.c: Since pixmapbrush tool wasnt doing anything
        useful anyway, start using it as a testbed for "image hoses".
        Right now it doesnt really work correctly.

I'll try to upload a sample hose to http://adrian.gimp.org/pixmap-brushes/
shortly, and maybe some docs about the lame format.

-adrian
1999-08-17 00:59:07 +00:00
Tor Lillqvist 97346fb110 Use RINT instead of rint.
* app/transform_core.c: Use RINT instead of rint.

	* plug-ins/common/curve_bend.c
	* plug-ins/sel2path/spline.c: Workarounds for gccisms, thanks to
	Hans Breuer.

	* app/makefile.msc
	* plug-ins/makefile.msc: Misc fixes.
1999-08-16 19:33:35 +00:00
jaycox 2c206a4840 put the gimp_matrix_is_simple optimization back in.
* app/transform_core.c: put the gimp_matrix_is_simple
	optimization back in.
1999-08-16 10:59:14 +00:00
jaycox 60475da041 data access optomizations from David Hodson <hodsond@acm.org>
* app/transform_core.c: data access optomizations from
	David Hodson <hodsond@acm.org>
1999-08-16 08:29:13 +00:00
Tor Lillqvist b5d790e67e Add G_SQRT2.
* app/appenv.h: Add G_SQRT2.

	* app/iscissors.c: Use it.

	* app/makefile.{cygwin,msc}: Add new files.

	* */makefile.{cygwin,msc}: Use libintl extracted from glibc from a
	separate directory, not from gettext, because of licensing issues
	(we want to use the LGPL version in GTk+, so use it here, too).
1999-08-16 04:59:48 +00:00
Manish Singh 1fd1919f4f added a G_PI_2
* app/appenv.h: added a G_PI_2

* app/brush_header.h
* app/pattern_header.h: prefixed each FILE_VERSION with
G{BRUSH,PATTERN} to avoid namespace collision

* app/patterns.c: reflect above change

* app/iscissors.[ch]: merged in Austin's iscissors rewrite.. still
unfinished, but it's not like the old one did anything useful
anyway ;)

-Yosh
1999-08-16 03:43:48 +00:00
Sven Neumann acdd8c0966 A little bit of special-casing here and there to avoid division by zero etc.
Other systems may eventually behave differently when it comes to atan(PI/2),
so please test this on other platforms...


--Sven
1999-08-15 21:10:29 +00:00
Sven Neumann 88cdb2f80d Sorry, shouldn't have checked this in so early. Works reasonably now.
--Sven
1999-08-15 20:12:44 +00:00
Sven Neumann 50548d7224 Should have changed the ChangeLog text too.
--Sven
1999-08-15 18:46:33 +00:00
Sven Neumann caaf18a24f It's gettin better...
--Sven
1999-08-15 18:44:15 +00:00
Sven Neumann 27c2621399 Added new measure tool.
--Sven
1999-08-15 15:59:06 +00:00
Sven Neumann ed81308375 movements restricted to 45 degrees (Ctrl+Alt) feel more natural now
--Sven
1999-08-14 12:34:08 +00:00
CDT 1999 James Mitchell b48e3c7a33 po/
Fri Aug 13 19:19:46 CDT 1999  James Mitchell <mitchell@gimp.org>

        * it.po: More translations from Daniele Medri <madrid@linux.it>


po-plug-ins/

Fri Aug 13 19:19:46 CDT 1999  James Mitchell <mitchell@gimp.org>

        * it.po: Updated translations committed for Daniele Medri
	          <madrid@linux.it>
1999-08-14 00:23:41 +00:00
Kjartan Maraas 9aebe4b222 Updated translation.
1999-08-14  Kjartan Maraas  <kmaraas@online.no>

		* no.po: Updated translation.
1999-08-13 23:17:41 +00:00
Manish Singh 374e55bced add pixmaps/dropper.xpm to EXTRA_DIST
* Makefile.am: add pixmaps/dropper.xpm to EXTRA_DIST

* app/appenv.h: minor formatting changes

* app/channel.c: #include "gdisplay.h"

* app/color_transfer.c
* app/dodgeburn.c
* app/gdisplay.c
* app/iscissors.c
* app/paint_core.c: remove extra SQR and ROUND definitions

* app/flip_tool.c: hackaround the flip tool options constant problem

* app/flip_tool.[ch]: use InternalOrientationType for flip_tool_flip
prototype

* app/interface.c: use GTK_LABEL case in gtk_label_set_justify

* plug-ins/common/mkgen.pl
* plug-ins/common/plugin-defs.pl: add @extra EXTRA_DIST processing

-Yosh
1999-08-13 22:33:49 +00:00
Adrian Likins 8162b43da6 ooops, forgot to include paint_func.*. Fixed now.
ooops, forgot to include paint_func.*.   Fixed now.
1999-08-13 21:16:02 +00:00
Adrian Likins 29709cb9ee app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c
Fri Aug 13 16:39:25 1999 Adrian Likins <alikins@redhat.com>

        * app/airbrush.c
        * app/paintbrush.c
        * app/pencil.c
        * app/pixmapbrush.c
        * app/pixmapbrush.h

        Added support for pixmap brushes to airbrush, pencil,
        and paintbrush. Merging this into paintbrush makes
        the pixmaptool itself kind of useless at the moment,
        but that will change ;->

        Still a few rough edges here, but its mostly there.
        I still need to make the "incremental" button for
        the tools to accurately reflect that pixmap always
        uses this mode.

        * app/eraser.c
        * app/eraser.h
        * app/tools_cmds.c
        * tools/pdbgen/pdb/tools.pdb

        Applied patch from  Shuji Narazaki <narazaki@gimp.org>
        to implement the anti-eraser. Neat.
1999-08-13 20:50:30 +00:00
Kelly Martin f369da0a95 Color brushes now appear in the brush selector in color. Scaling is
* app/brush_select.c: Color brushes now appear in the brush
selector in color.  Scaling is disabled for color brushes because
I can't figure out how to do it just now.  Still need to fix the
toolbox to do this too.

--klm
1999-08-13 15:20:35 +00:00
Kelly Martin 39f037eca8 file tile_accessor.c was initially added on branch KELLY_TILEACCESSOR. 1999-08-12 23:21:51 +00:00
Kelly Martin 5c7667b205 file tile_accessor.h was initially added on branch KELLY_TILEACCESSOR. 1999-08-12 23:21:51 +00:00
Adrian Likins 229f32f33e added a fix from Xach "I dont code." Beane <xach@gimp.org> to fix the
Thu Aug 12 19:16:58 1999 Adrian Likins <alikins@redhat.com>

        * app/pixmapbrush.c: added a fix from Xach "I dont code."
        Beane <xach@gimp.org> to fix the behaviour when painting
        at the top of images.
1999-08-12 23:17:51 +00:00
Marc Lehmann 664dcaeb94 see plug-ins/perl/Changes 1999-08-12 22:43:45 +00:00
BST 1999 Andy Thomas 2557c517b1 app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c
Thu Aug 12 21:38:53 BST 1999 Andy Thomas <alt@gimp.org>

	* app/commands.c
	* app/commands.h
	* app/disp_callbacks.c
	* app/gdisplay.c
	* app/gdisplay.h
	* app/info_dialog.c
	* app/info_dialog.h
	* app/info_window.c
	* app/info_window.h
	* app/menus.c
	* app/scale.c
	* app/scroll.c
	* app/scroll.h
	* app/nav_window.c (new)
	* app/nav_window.h (new)
	* pixmap/dropper.xpm (new)

	New "navigator" image (accessed via <Image>/Window Nav..). This gives
	an outline of the location of the current view on an image. Eg if your
	image window is only showing part of an image then the Window Navigation	window will outline the area viewed. You can "drag" the outlined
	square around the viewport and the main image will scroll. Additional
	a single click outside the square will center the image at that
	location.

	Also started to add additional information to a new page inside the
	Window information dialog (currently only pixel value is shown).

	Both these features are currently work in progress and unfinished.
	In particular the Navigator does not keep in step with changes
	to the basic image (however it does keep in step with image size changes	and if you modify the size of the image viewing window). It also
	does not display the transparent areas of images very nicely.
1999-08-12 22:21:04 +00:00
Tor Lillqvist cac72d12f8 Add newest files.
* app/makefile.{cygwin,msc} (gimp_OBJECTS): Add newest files.

	* plug-ins/common/winclipboard.c: Speed up by using
	gimp_tile_cache_size().

	* app/gimprc.c
	* plug-ins/script-fu/script-fu-scripts.c: Guard
	use of GLIB_CHECK_VERSION from old GLibs that don't have it.
1999-08-12 22:08:19 +00:00
Sven Neumann d7ef90812c Added the Visibone Palettes with the kind permissions of the folks from
www.visibone.com.


--Sven
1999-08-12 19:21:15 +00:00
Sven Neumann 2c1e3f2f7d First set of camp-merges. Adds brush-scaling for the brush previews.
--Sven
1999-08-12 17:53:51 +00:00
Sven Neumann 522f4b345a made the monitor resolution accessible through a PDB function
* tools/pdbgen/pdb/gimprc.pdb: made the monitor resolution
        accessible through a PDB function

        * app/internal_procs.c
        * app/gimprc_cmds.c: changed the autogenerated files

        * plug-ins/common/screenshot.c: set the image resolution to the
        monitor resolution and unset the image name

--Sven
1999-08-12 16:54:53 +00:00
Adrian Likins 01200bfad7 fixed the weirdness with drawing along the left side of the image. Top's
Tue Aug 10 01:15:59 1999 Adrian Likins <alikins@redhat.com>

        * app/pixmapbrush.c: fixed the weirdness with drawing
        along the left side of the image. Top's still weird
1999-08-10 06:14:31 +00:00
mitchell 2a3f047e95 Fixed compile problem with it.po grrr. 1999-08-10 03:03:29 +00:00
CDT 1999 James Mitchell 3362bd5f35 More translations from Daniele Medri <madrid@linux.it>
Mon Aug  9 21:48:28 CDT 1999  James Mitchell <mitchell@gimp.org>

        * it.po: More translations from Daniele Medri <madrid@linux.it>
1999-08-10 03:01:44 +00:00
Adrian Likins bffeba2343 couple of warning clean ups and some minor fleshing out
Mon Aug  9 22:46:34 1999 Adrian Likins <alikins@redhat.com>

        * app/pixmapbrush.c: couple of warning clean ups and
        some minor fleshing out
1999-08-10 02:47:55 +00:00