Commit Graph

1726 Commits

Author SHA1 Message Date
Asbjørn Pettersen 9b686e105f only OS/2 patches 1999-04-30 15:04:38 +00:00
Michael Natterer 11ef0a819e updated version 1.4.2
1999-04-30  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* plug-ins/gdyntext/*: updated version 1.4.2
1999-04-30 11:56:48 +00:00
Michael Natterer f2681a95d1 fixed a cut-and-paste bug: vertical flip iterates over rows, not columns.
1999-04-30  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/flip_tool.c: fixed a cut-and-paste bug: vertical flip
	iterates over rows, not columns.
1999-04-29 22:54:09 +00:00
Asbjørn Pettersen 0c0e59390d spawnlp() instead of fork 1999-04-29 18:20:46 +00:00
Asbjørn Pettersen 470ba8ba84 use G_SEARCHPATH_SEPARATOR_S 1999-04-29 14:34:55 +00:00
Michael Natterer 02f6c21be8 app/brush_select.[ch] disabled setting the size of the brushes dialog
1999-04-29  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/brush_select.[ch]
	* app/pattern_select.[ch]: disabled setting the size of the
	brushes dialog again because it still caused SIGFPE's in some rare
	cases. I'm trying to fix that.
	*Minimal* ui spacing changes. Some changes to make the code look
	more similar (I'm a make-them-look-the-same fanatic ;)
1999-04-29 08:50:22 +00:00
Sven Neumann 2ec50a9d93 Some code cleanup, changes to the crop-modifier_key_func and 128n fixes.
--Sven
1999-04-28 18:58:01 +00:00
Asbjørn Pettersen 4e3c804f09 add OS2 rc handling 1999-04-28 14:34:44 +00:00
Asbjørn Pettersen b947ec1fb1 add install for OS2 1999-04-28 14:33:06 +00:00
Manish Singh c78dd295cf configure.in tools/Makefile.am integrated pdbgen into the build system
* configure.in
* tools/Makefile.am
* tools/pdbgen/Makefile.am: integrated pdbgen into the build system

* libgimp/gimp.h
* libgimp/gimpimage.c: renamed gimp_image_findnext_guide to
gimp_image_find_next_guide, so change pdb wrapper

* plug-ins/guillotine/guillotine.c: reflect api change

-Yosh
1999-04-28 07:03:35 +00:00
Sven Neumann 63936274f6 I should have mentioned my change to app/interface.c.
--Sven
1999-04-27 21:09:56 +00:00
Sven Neumann d342563d60 Moved from toggle_key_func to modifier_key_func.
--Sven
1999-04-27 21:06:00 +00:00
Asbjørn Pettersen 0355c5aa10 close swap file before unlink 1999-04-27 18:59:53 +00:00
Vincent Renardias ad4d961901 Tue, 27 Apr 1999 15:58:06 +0200 [Vincent]
* translated the tips in French.
(to do: use this file instead when LANG=fr)
1999-04-27 13:59:06 +00:00
Manish Singh 80de6ea79c app/gimage_cmds.c pdbgenned files
* app/gimage_cmds.c
* app/guides_cmds.c: pdbgenned files

* app/parasite_cmds.c: added image parasite cmds

* app/gimpimage.h: capitalized ChannelType and MergeType enums,
made HORIZONTAL_GUIDE and VERTICAL_GUIDE an enum

* app/layer.h: made APPLY and DISCARD an enum

* app/internal_procs.[ch]: finally pdbgenned

* app/channels_dialog.c
* app/fileops.c
* app/gimpimage.c
* app/layers_dialog.c: ChannelType, MergeType enum changes

* app/commands.c: remove gimage_cmds.h #include

* app/cursorutil.h: #include <gdk/gdktypes.h>

* app/paint_funcs.h: cosmetic change for PDB help

* app/brush_select_cmds.c
* app/brushes_cmds.c
* app/layer_cmds.c
* app/tools_cmds.c: pdbgen updates

* app/Makefile.am: removed gimage_cmds.h, added guides_cmds.c

* plug-ins/Lighting/lighting_main.c
* plug-ins/MapObject/mapobject_main.c
* plug-ins/rcm/rcm.c
* plug-ins/xbm/xbm.c: removed trailing ";" from MAIN ()

-Yosh
1999-04-27 04:57:59 +00:00
Manish Singh 26e21fc723 Stuff
-Yosh
1999-04-27 04:33:41 +00:00
Sven Neumann 83802561bb Quick fix.
--Sven
1999-04-27 02:19:27 +00:00
Sven Neumann 8b46a4f9f5 Toggable tools!
I hope I haven't broken too much ;-)


--Sven
1999-04-27 02:09:03 +00:00
Marc Lehmann bd74c628f6 see plug-ins/perl/Changes 1999-04-26 20:03:51 +00:00
Asbjørn Pettersen 8253eda56a add sys/types.h 1999-04-26 14:13:40 +00:00
Asbjørn Pettersen 293bc877ed MAIN at EOF 1999-04-26 14:12:03 +00:00
Asbjørn Pettersen 491c58dba0 Add sys/types 1999-04-25 19:30:31 +00:00
BST 1999 Adam D. Moss f768f07525 Save the comment back onto the image as a persistant parasite if the
Sun Apr 25 16:59:09 BST 1999 Adam D. Moss <adam@gimp.org>

	* plug-ins/gif/gif.c: Save the comment back onto the image
	as a persistant parasite if the comment was edited.
1999-04-25 16:10:43 +00:00
Michael Natterer 84e028ae76 added resolution support if the tool is used from the interface. Can't do
1999-04-25  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/text_tool.c: added resolution support if the tool is used
	from the interface. Can't do this for the PDB because the text has
	to be rendered in the size "text_get_extents" (which currently has
	no access to resolution information) returns.
1999-04-25 15:53:30 +00:00
Manish Singh 4a580e2707 pdbgenned, use header file
* app/gimage_mask_cmds.[ch]: pdbgenned, use header file

* app/internal_procs.c: use pdbgen register for gimage mask funcs

* app/Makefile.am: remove gimage_mask_cmds.h

-Yosh
1999-04-25 01:41:57 +00:00
BST 1999 Adam D. Moss e247b49e5f Finished the opaque-move stuff... hopefully. Float and selection-mask
Sat Apr 24 21:50:58 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/edit_selection.c: Finished the opaque-move stuff...
	hopefully.  Float and selection-mask movement behaviour
	repaired, etc.
1999-04-24 20:58:55 +00:00
Manish Singh 107038e5dc pdbgened, header file removed
* app/layer_cmds.[ch]: pdbgened, header file removed

* app/internal_procs.c: use pdbgen register for layer funcs

* app/*_cmds.c: various pdbgen formatting fixes

* app/Makefile.am: removed layer_cmds.h

* app/layer.c
* app/layerF.h: changed AddMaskType enum to capitals

-Yosh
1999-04-24 20:33:31 +00:00
Asbjørn Pettersen be58493784 add OS2 pipe patches 1999-04-24 19:12:12 +00:00
Asbjørn Pettersen d5c6f4f01c set gimp_data_dir 1999-04-24 14:54:47 +00:00
Asbjørn Pettersen 11219a3742 add OS2 MAIN macro 1999-04-24 09:36:39 +00:00
Michael Natterer f2546516fe added a "BG Color Fill" radio button. Toggling FG/BG with <shift> works in
1999-04-24  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/bucket_fill.c: added a "BG Color Fill" radio button.
	Toggling FG/BG with <shift> works in both color fill modes now.

	* app/brush_select.c: session management sets the size of the
	dialog again (depending on the current paint options mode because
	bad things happen if the brush preview's size is reduced beyond
	it's minimum).
1999-04-23 23:28:49 +00:00
Manish Singh b8c19394dc gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles

* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image

* app/color_cmds.c: s/GRAY/GRAY_LUT/g;

* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/

* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate

* app/gimpbrushlist.[ch]: removed PDB procs

* app/gradient.[ch]: removed PDB procs,

* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog

* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/

* app/patterns.[ch]: removed PDB procs

* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/

* app/procedural_db.c: removed PDB procs and supporting functions

* app/procedrual_db.h: fiddled with enums

* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files

* app/gimpparasite.c: minor cleanup

* app/internal_procs.c: use pdbgen stuff

* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen

* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files

* app/Makefile.am: file shuffle (see above)

-Yosh
1999-04-23 20:54:02 +00:00
Asbjørn Pettersen 020a39a9a5 add <sys/types.h> 1999-04-23 15:20:10 +00:00
Michael Natterer f3c85b0175 app/brush_select.[ch] made the previews change their size in sync with
1999-04-23  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/brush_select.[ch]
	* app/pattern_select.[ch]: made the previews change their size in
	sync with resizing the dialog. The previews auto-resize with their
	parent frame now. Connect to the preview's "size_allocate" signal,
	not to the frame's, don't "signal_connect_after". Get the size of
	the preview from it's allocation and not from it's requisition.
	There's no need to remember width, height and the frame in the
	structures anymore, so I kicked them out. Tweaked the code to look
	more similar.
1999-04-23 14:47:50 +00:00
Asbjørn Pettersen 7499e231b3 sys/types.h before sys/stat.h 1999-04-23 09:39:51 +00:00
Manish Singh 91048780fe Lossa stuff
-Yosh
1999-04-23 06:55:37 +00:00
Asbjørn Pettersen f40a836e6c use MAIN macro 1999-04-23 06:35:53 +00:00
jaycox d996031ab0 removed some nonfunctional code.
* app/edit_selection.c: removed some nonfunctional code.

	* app/paint_core.c: remove the alt toggles perfectmouse behaviour.

	* app/paintbrush.c: when ctl (or alt) is held set the fg (or bg) color.

	* app/gimpparasite.[ch]: made char *name parameters const.

	* app/parasitelist.c: removed unused static variable.

	* app/gimpdrawable.c, app/gimpimage.c, app/undo.[ch]: added
 	support for undoing parasite changes.

	* libgimp/gimp.h, libgimp/gimpimage.c: added
 	gimp_undo_push_group_start and gimp_undo_push_group_end

	* libgimp/parasite.[ch]: added undoable flag.

	* plug-ins/gdyntext/font_selection.c: fixed c++ style comment.

	* plug-ins/gdyntext/gdyntext.c: use the new undoable parasites.

	* plug-ins/rcm/rcm_misc.c: arctg can't be inline because it is
 	used in other .c files

	* plug-ins/waterselect/waterselect.c,
	* plug-ins/rotators/rotators.c, app/tips_dialog.c, app/plug_in.c:
 	fixed some warnings
1999-04-23 06:07:09 +00:00
Sven Neumann 174e1a0fab Small buglet fixed in the autocrop algorithm.
--Sven
1999-04-22 23:34:58 +00:00
Michael Natterer ca2cbd3257 First version of per-tool paint options. No PDB interface yet. The tool
1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	First version of per-tool paint options. No PDB interface yet.
	The tool options dialog got rather big when in per-tool mode, so
	it will probably have to become a notebook.

	It's not yet 100% consistent. If switched off, everything should
	behave exactly like before.

	* app/Makefile.am
	* app/paint_options.h: new file

	* app/tool_options.c: PaintOptions gui. Maintain a list of all
	paint tools' ToolOptions to enable switching between global and
	per-tool paint options.

	* app/brush_select.[ch]: changed packing boxes, tables, ...
	The paint options in the brush selection can be hidden now.
	Moved create_paint_mode_menu() to paint_options.h and
	tool_options.c and renamed it to paint_mode_menu_new().

	* app/gimage_mask.c
	* app/gimpbrush.[ch]
	* app/gimpbrushlist.[ch]
	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
	gimpbrushlist.[ch] to gimpbrush.[ch].
	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
	paint_options.h and tool_options.c and renamed them to
	paint_options_*_*().  They are "global paint options" now.

	* app/airbrush.c
	* app/blend.c
	* app/bucket_fill.c
	* app/clone.c
	* app/convolve.c
	* app/eraser.c
	* app/ink.c
	* app/paintbrush.c
	* app/pencil.c: all paint tools' options are derived from
	"PaintOptions" now. Opacity and paint mode are obtained through
	macros which take into account the current paint options mode.

	* app/buildmenu.h: #include <gtk/gtk.h>

	* app/color_picker.c
	* app/text_tool.c: changed spacings.

	* app/gimprc.[ch]: new gimprc option "global-paint-options"

	* app/preferences_dialog.c: Added a "Tool Options" page. Code
	cleanup. Some work on the convenience constructors test site.

	* app/tools.c: fixed "unused variable" warning.
1999-04-22 14:34:00 +00:00
Asbjørn Pettersen db3c6bdb2d use MAIN macro 1999-04-22 14:13:06 +00:00
Asbjørn Pettersen 8b768b1075 use MAIN macro 1999-04-22 14:06:45 +00:00
Asbjørn Pettersen 2bd871d7b4 Add <sys/types.h> 1999-04-22 06:50:29 +00:00
BST 1999 Austin Donnelly 595f1ea08a only add file to the 'recently opened' list if it's not there already.
Wed Apr 21 00:36:03 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/menus.c: only add file to the 'recently opened' list if
	    it's not there already.
1999-04-21 23:19:06 +00:00
Manish Singh 993089b8cb moved a bunch of PDB stuff here
* app/color_cmds.c: moved a bunch of PDB stuff here

* app/color_balance.[ch]: removed PDB proc, exported TransferMode
enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
color_balance

* app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
#defines, CurvesDialog, curves_lut_func and curves_calculate_curve

* app/desaturate.[ch]: removed PDB proc, exported desaturate

* app/equalize.[ch]: removed PDB proc, exported equalize

* app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
histogram_tool_histogram_range

* app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
HueSaturationDialog, hue_saturation_calculate_transfers,
hue_saturation

* app/invert.[ch]: remove PDB proc, export invert

* app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
threshold_2

* internal_procs.c: changes for pdbgen

* app/gimprc.c: removed leftover declaration

* app/image_map.h: add #include "gimpdrawableF.h"

* app/lut_funcs.h: add ALPHA_LUT to ChannelLutType

-Yosh
1999-04-21 05:39:57 +00:00
Austin Donnelly 08d2c8f361 Oops- left in some debugging code. 1999-04-20 23:36:59 +00:00
Sven Neumann 1490712141 The autocrop algorithm is about 4 times faster now.
--Sven
1999-04-20 23:23:40 +00:00
BST 1999 Austin Donnelly 5026bd5015 add the new args to gimp-paintbrush PDB calls.
Tue Apr 20 23:38:26 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/bezier_select.c: add the new args to gimp-paintbrush PDB
	    calls.

	* app/blend.c
	* app/bucket_fill.c
	* app/invert.c: check return from procedural_db_run_proc() rather
	    than dereferencing NULL.

	* app/paintbrush.c: plumb the non-gui fade_out option into the
	    functions that actually do the work, rather than using
	    an uninitialised value.

	* app/procedural_db.c: better error messages on PDB typecheck fail
	    in procedural_db_run_proc.  Also now valid to
	    procedural_db_destroy_args() on a NULL pointer.
	* app/procedural_db.h: pdb_type_name() function added, plus
	    comment urging people to keep the enum and strings in step.

	* tools/pdbgen/README: added paragraph on how to run pdbgen.pl

	* tools/pdbgen/pdb/tools.pdb: fade_out parameter is valid to be 0
	* app/tools_cmds.c: new version of generated file
1999-04-20 23:03:31 +00:00
Sven Neumann ff2c915a40 More cosmetic stuff. Getting used to the new tool_options ... ;-)
--Sven
1999-04-20 19:23:38 +00:00
Manish Singh 63a37c32fc doh, I'm dumb. s/rotate_invoker/rotate/g
-Yosh
1999-04-20 17:09:01 +00:00