Commit Graph

1815 Commits

Author SHA1 Message Date
Michael Natterer c0b24ce90b app/channel.[ch] app/commands.c app/gimage_mask.[ch]
1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/channel.[ch]
	* app/commands.c
	* app/gimage_mask.[ch]
	* app/gimage_mask_cmds.c
	* tools/pdbgen/pdb/gimage_mask.pdb
	* app/interface.c: propagated the indepentent x/y values for
	shrink/grow/border to the interface but not yet to the PDB.

	* app/*_select.c
	* app/paint_funcs.[ch]: implemented indep. x/y feather. It seems
	that cut-and-paste was sufficient, but I didn't really understand
	the code. Jay, could you have a look at this please?

	If the feather/shrink/... amount is specified in pixels,
	everything behaves like before.
	I'm not sure how the built-in feather option of the selection
	tools should behave, so it still defaults to 'pixel' mode.
	Moved the static feather/shrink/... values from gimage_mask.c to
	commands.c because they belong to the interface.

	* app/text_tool_cmds.c
	* tools/pdbgen/pdb/text_tool.pdb: prepared for resolution
	support, but didn't enable it yet.

	* app/unit_cmds.c
	* tool/pdbgen/pdb/unit.pdb: fixed a help text.
1999-05-06 23:10:29 +00:00
Asbjørn Pettersen 4154970d27 add new function plug_in_init_shm() 1999-05-06 20:56:07 +00:00
Marc Lehmann af062241b5 see plug-ins/perl/Changes 1999-05-06 19:49:01 +00:00
Marc Lehmann fbdc0dc693 see plug-ins/perl/Changes 1999-05-06 00:28:52 +00:00
Tor Lillqvist f480c98191 Fix nasty bug, inner block variable "values" shadowed outer one, the inner
* tools/pdbgen/pdb/gradient_select.pdb: Fix nasty bug, inner block
 	variable "values" shadowed outer one, the inner one was assigned
 	to, the outer one returned.

	* app/gradient_select_cmds.c
 	(gradients_get_gradient_data_invoker): Autogenned from above.
1999-05-05 22:34:44 +00:00
Marc Lehmann 87dcbafa1c see plug-ins/perl/Changes 1999-05-05 21:41:05 +00:00
Marc Lehmann dcc4783c81 see plug-ins/perl/Changes 1999-05-05 20:42:34 +00:00
Marc Lehmann 5315581d95 *** empty log message *** 1999-05-05 20:36:08 +00:00
Asbjørn Pettersen 391bff79df add sys/types.h 1999-05-05 12:32:24 +00:00
Sven Neumann 961db9efca Moved the cursors into a new directory.
--Sven
1999-05-05 10:46:00 +00:00
jaycox 18835a7657 new bitmap files containing the new mouse cursors.
* pixmaps/mouse1*: new bitmap files containing the new mouse cursors.

	* app/parasitelist.c: use g_str_equal instead of parasite_compare_func.

	* app/paint_core.c: interpret perfectmouse right way round.

	* app/rect_select{P,}.[ch]: set custom cursors when the operation type
 	changes.  Centralize the calculation of op based on the modifier
 	keys being held.

	* app/fuzzy_select.c, app/free_select.c: allow the rect_select
 	functions calculate the operation type.

	* app/ellipse_select.c: use the SelectionOps typedefs.

	* app/edit_selection.c: convert MaskToLayerTranslate into
 	FloatingSelTranslate if there is already a floating selection in
 	init_edit_selection.

	* app/disp_callbacks.c: fixed the calculation of state.

	* app/gdisplay.[ch], app/cursorutil.[ch]: new functions to allow
 	the loading of customized cursors.

	* app/paint_funcs.[ch], app/channel.c: border_region now accepts
 	seperate xradius and yradius arguments.
1999-05-05 09:10:35 +00:00
Manish Singh 4534223b5b use the sinclude bit again, since it works in automake 1.4. Generate the
* configure.in: use the sinclude bit again, since it works in
automake 1.4. Generate the Makefile in the embed dir too

* app/gimp.sym: new file, list the symbols we want export to
modules here

* app/Makefile.am: add -export-symbols to LDFLAGS

* plug-ins/Makefile.am: use make variable expansion instead of
direct substitution for optional plug-in dirs. E.g., now one can
do "make GIMP_PERL=" to skip the perl plug-in dir during build
without rerunning configure

* plug-ins/rcm/Makefile.am: add header files to SOURCES

-Yosh
1999-05-04 22:59:54 +00:00
Manish Singh 28c906aa4b s@gdkprivate@gdk/gdkprivate@
-Yosh
1999-05-04 22:18:13 +00:00
Tor Lillqvist 1dea4958bb Win32 portability changes:
* config.h.win32, README.win32: Small changes.

	* tools/pdbgen/pdb/*.pdb: Include <string.h>.

	* app/*_cmds.c: Autogenerated files reflect above changes.

	* libgimp/makefile.msc app/makefile.msc: Various updates,
 	including new object files. Gtk+ directory now should be called
 	gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
 	now should be called just glib.

	* libgimp/gimp.def: Updates.

	* libgimp/gimpfeatures.h.win32: Made current with
 	gimpfeatures.h.in.

	* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
 	necessary.

	* tools/pdbgen/pdb/fileops.pdb: Must have a
 	statement (even an empty one) after a label.

	* app/fileops_cmds.c: Autogenerated file reflects above changes.

	* app/crop.c: Include <string.h>.

	* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
 	plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
 	_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
 	runtime, even if we might be compiling with gcc.)

	* app/fileops.c: Don't include <process.h> here.

	* app/fileops.h: Do include <process.h> here.

	* app/gimpparasite.c: Include config.h, guard inclusion of
 	<unistd.h>. (Is the inclusion of unistd.h in source files all over
 	the place really necessary?)

	* app/ink.c: MSC doesn't handle conversion from unsigned __int64
 	to double, so cast to signed.

	* app/lut_funcs.c: Include config.h, and define rint() if necessary.

	* app/pixel_processor.c: Include config.h without "..", like in
 	all the other places. Include <string.h>

	* app/text_tool.c: Guard the "POINTS" identifier that clashes with
 	<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
Tor Lillqvist 8066393040 gimpi.def not needed, will build gimpi.lib as a static library hereafter.
(Otherwise would have problems with the gimp_unit_* functions both in gimp.exe
and the gimp dll.)
1999-05-04 21:17:52 +00:00
Tor Lillqvist a139222b23 Commit before removing... 1999-05-04 21:15:32 +00:00
Tor Lillqvist 8f3a04e15c Include <string.h>.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.

	* tools/pdbgen/pdb/fileops.pdb: Must have a statement (even an
 	empty one) after a label.
1999-05-04 20:29:39 +00:00
Michael Natterer e7c8de57ae call gdisplays_resize_cursor_label(gimage) after changing the image's
1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.c: call gdisplays_resize_cursor_label(gimage)
	after changing the image's unit.

	* app/gdisplay.c: update the cursor label after resizing it's
	frame, so the old (wrong) value gets overwritten.

	* app/resize.c: it makes more sense to take the image's unit from
	the "print size" frame rather than from "pixel dimensions".
	Set reasonable boundaries to avoid over/underflows with crazy
	resolutions. Code and gui cleanup.
	The constants for min/max image size/resolution should probably go
	to a central place.

	* app/text_tool.c: set the resolution in the X font spec only if
	the size is specified in points (reported by Austin).

	* libgimp/gimpsizeentry.c: fixed a bad bug in the boundary and
	resolution setting code (was not noticable before the new
	resize/scale ui).

	* plug-ins/gdyntext/*: version 1.4.3

	* plug-ins/png/png.c: gcc suggested parentheses.
1999-05-04 17:20:05 +00:00
Manish Singh 2618ad37fe vestigal files
-Yosh
1999-05-04 02:22:29 +00:00
Manish Singh 83291f7fa3 1.1.5 stuff
-Yosh
1999-05-03 23:14:25 +00:00
Manish Singh 9b91adf1d3 progress_init takes an int32, not a display...
-Yosh
1999-05-03 22:36:26 +00:00
Manish Singh 2cb3099d30 fix rotten regexp eval
-Yosh
1999-05-03 21:05:17 +00:00
BST 1999 Austin Donnelly 2c0adc456a put up messages telling user about corrupted palette files as we load
Mon May  3 21:44:27 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/palette.c: put up messages telling user about corrupted
 	    palette files as we load them.  In particular, try and catch
 	    MSDOS format files such as those distributed from Visibone's
 	    website.
1999-05-03 20:44:01 +00:00
Marc Lehmann 66b603f426 *** empty log message *** 1999-05-03 19:33:47 +00:00
Marc Lehmann a5d2c6d2bd see plug-ins/perl/Changes 1999-05-03 19:29:05 +00:00
Manish Singh 030009d780 tools/pdbgen/plug_in.pdb new files
* tools/pdbgen/plug_in.pdb
* tools/pdbgen/interface.pdb: new files

* tools/pdbgen/app.pl: add no_id_lookup option

* tools/pdbgen/Makefile.am: added new pdb files, plug_in.h

* tools/pdbgen/enums.pl: plug_in.h enums

* app/plug_in.[ch]: removed PDB stuff, exported current_plug_in,
proc_defs, and plug_in_progress_{init,update}

* app/interface_cmds.c
* app/plug_in_cmds.c
* app/internal_procs.c: pdbgenned files

* app/Makefile.am: new files: interface_cmds.c, plug_in_cmds.c

-Yosh
1999-05-03 19:22:58 +00:00
Sven Neumann f2ffb5bea7 made gimp_help accessible through the PDB
--Sven
1999-05-03 19:22:55 +00:00
Manish Singh 9d44de6234 tools/pdbgen/plug_in.pdb new files
* tools/pdbgen/plug_in.pdb
* tools/pdbgen/interface.pdb: new files

* tools/pdbgen/app.pl: add no_id_lookup option

* tools/pdbgen/Makefile.am: added new pdb files, plug_in.h

* tools/pdbgen/enums.pl: plug_in.h enums

* app/plug_in.[ch]: removed PDB stuff, exported current_plug_in,
proc_defs, and plug_in_progress_{init,update}

* app/interface_cmds.c
* app/plug_in_cmds.c
* app/internal_procs.c: pdbgenned files

* app/Makefile.am: new files: interface_cmds.c, plug_in_cmds.c

-Yosh
1999-05-03 19:22:55 +00:00
Manish Singh 4e68780710 guide types used to start at 1, so make them start at 1
* app/gimpimage.h: guide types used to start at 1, so make them
start at 1

* tools/pdbgen/enums.pl
* app/guides_cmds.c: autogenned files reflect above change

-Yosh
1999-05-02 21:58:57 +00:00
Michael Natterer 26b9002cd1 app/commands.c app/layers_dialog.c new scale/resize ui: Use size entries
1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.c
	* app/layers_dialog.c
	* app/resize.[ch]: new scale/resize ui:
	Use size entries instead of text entries, chainbuttons instead of
	check buttons. Put the stuff into frames. Added labels for the
	original width and height.
	It's possible to change resolution/unit now, please test if it
	does the right thing.

	* libgimp/gimpsizeentry.c: allow lower == upper when checking
	boundaries.
1999-05-02 14:24:54 +00:00
Manish Singh 26a9e37755 Fixed dumbass save code
-Yosh
1999-05-01 21:48:26 +00:00
BST 1999 Austin Donnelly e789291fa5 app/brush_select.c app/brush_select.h app/pattern_select.c delay the popup
Sat May  1 22:18:55 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/brush_select.c
	* app/brush_select.h
	* app/pattern_select.c
	* app/pattern_select.h: delay the popup of pattern and brush
 	    preview window by 150 millisecs.  Allows flicker-free
 	    selection of brushes/patterns, and still have fast pattern
 	    preview like we used to.  Ideally, should really factor out
 	    the common code in these two files into one generic picker
 	    widget.

	* app/free_select.c: cosmetic whitespace change.

	* app/draw_core.c: use GDK_CAP_NOT_LAST, not GDK_CAP_BUTT,
 	    otherwise sequential line segments in XOR mode have
 	    single-pixel gaps between them.  Worse, if the segments are
 	    only one pixel long, you don't get _any_ lines.  XFree86 seems
 	    to ignore GDK_CAP_BUTT, which is why this bug hasn't been seen
 	    before.  NCD X servers comply with the spec a little more
 	    pedantically, so need GDK_CAP_NOT_LAST.  OS/2 and Win32 people
 	    should check that (eg) the lasso tool still provides proper
 	    visual feedback.
1999-05-01 21:37:34 +00:00
Manish Singh 0080b4e08c libtool 1.3 upgrade
* Makefile.am: don't install gimprc.5 in our sharedir

-Yosh
1999-05-01 19:17:56 +00:00
Asbjørn Pettersen 0d9875c1ca os2 printing 1999-05-01 17:54:43 +00:00
Asbjørn Pettersen acf57bcb42 Use spawnlp() instead of fork 1999-05-01 16:11:35 +00:00
Asbjørn Pettersen ee4c38b487 skip slash r 1999-05-01 16:10:36 +00:00
Asbjørn Pettersen 20cc008346 Use g_malloc instead of mmap 1999-05-01 09:07:18 +00:00
Asbjørn Pettersen 26d1712a9d only OS/2 patches 1999-05-01 08:27:41 +00:00
Manish Singh 8b11c6c1fc listed tools first in SUBDIRS, so xgettext can grab the autogenned files
* Makefile.am: listed tools first in SUBDIRS, so xgettext can grab
the autogenned files

* acconfig.h: removed unused HAVE_XSHM_H

* tools/pdbgen/app.pl: added proc invoke method, nicer header
formatting

* tools/pdbgen/pdb/layer.pdb: use layer_mask type for return value
for layer_create_mask

* tools/pdbgen/pdb/misc.pdb: added quit proc

* tools/pdbgen/pdb/tools.pdb: added ink proc, but not added to @procs
since it's incomplete

* tools/pdbgen/pdb/fileops.pdb: new file

* app/Makefile.am: added fileops_cmds.c

* app/app_procs.c
* app/fileops.c
* app/ink.c: removed PDB procs (the one in ink.c was incomplete)

* app/fileops.h: exported load_procs, save_procs, and file_proc_find()

* app/plug_in.h: exported enum, #include <sys/types.h>

* app/brushes_cmds.c
* app/fileops_cmds.c
* app/layer_cmds.c
* app/misc_cmds.c
* app/parasite_cmds.c
* app/patterns_cmds.c
* app/procedural_db_cmds.c
* app/text_tool_cmds.c
* app/internal_procs.c: pdbgen updates

* app/paint_funcs.c: the glibc 2.1 docs say using SVID threadsafe
random functions are preferable to rand_r, so use them instead of
a mutex

-Yosh
1999-04-30 21:11:27 +00:00
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