Commit Graph

2130 Commits

Author SHA1 Message Date
Tor Lillqvist 933b866166 Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will
* app/appenv.h: Define ROUND(), RINT(), SQR(), G_PI and
	G_PI_4. The latter two will presumably eventually be in
	GLib. RINT() calls rint() if we have it, otherwise adds 0.5 and
	calls floor().

	* app/*.c: Remove the multiple identical definitions of M_PI. Use
	G_PI instead of M_PI. Remove ROUND() and rint() definitions. Use
	RINT() instead of rint().
1999-08-04 23:22:29 +00:00
Marc Lehmann b41809f812 see plug-ins/perl/Changes 1999-08-04 19:40:29 +00:00
Sven Neumann 82f1763de3 My last change to the dnd code did fix the bug but disabled loading
* app/interface.c: My last change to the dnd code did fix the bug
        but disabled loading multiple files. Now applied a new patch from
        Shuji Narazaki <narazaki@gimp.org>.

--Sven
1999-08-03 20:26:44 +00:00
Owen Taylor 4c8b3d9a6d Fri Jul 2 18:05:44 1999 Owen Taylor <otaylor@redhat.com>
* plug-ins/ifscompose/ifscompose_storage.c (parse_genuine_float):
1999-08-03 20:04:51 +00:00
Marc Lehmann fdca243c98 *** empty log message *** 1999-08-03 16:21:36 +00:00
Marc Lehmann 13a08f7230 see plug-ins/perl/Changes 1999-08-03 16:20:05 +00:00
jaycox 823817cc52 app/paint_core.c: Improvements to the transform_core_do and cubic routines
app/paint_core.c: Improvements to the transform_core_do and cubic
	 routines by David Hodson <hodsond@acm.org>
	"This fixes a number of annoying inaccuracies in transform_core.
	The identity transform now leaves all pixels unchanged; previously
	it shifted the image by 1/2 pixel left and up. All edges of an
	image are now correctly antialiased after a transform. The cubic
	interpolation function has been changed to a slightly smoother one.
	The code has been tidied and rearranged for some minor improvements
	in efficiency, but the basic logic and tile handling have not changed."
1999-08-03 09:44:41 +00:00
Tor Lillqvist 55f89d6e23 Moved winprint.c to ../common. 1999-08-02 23:55:08 +00:00
Tor Lillqvist 21961b838a plug-ins/Makefile.am Distribute the Windows-only plug-ins, too.
* plug-ins/Makefile.am
	* plug-ins/common/Makefile.am: Distribute the Windows-only
	plug-ins, too.

	* plug-ins/print/print.c: Use gimp_personal_rc_file().

	* plug-ins/common/winprint.c: Move here from separate directory.

	* plug-ins/makefile.{cygwin,msc}: Update correspondingly.

	* app/gimprc.c
	* plug-ins/script-fu/script-fu-scripts.c: Guard against
	different g_strescape API in GLib 1.2 and 1.3.1.

	* app/gimprc.c: Check for g_get_home_dir() returning NULL.
1999-08-02 23:53:26 +00:00
Marc Lehmann 372c6c455c see plug-ins/perl/Changes 1999-08-02 22:31:33 +00:00
Marc Lehmann fac0f61eb0 see plug-ins/perl/Changes 1999-08-02 20:05:14 +00:00
Marc Lehmann 4a0cc241b3 *** empty log message *** 1999-08-02 19:40:28 +00:00
Marc Lehmann 5a722c70f2 see plug-ins/perl/Changes 1999-08-02 19:18:37 +00:00
Sven Neumann e1c7514579 why has this ever worked ??
--Sven
1999-08-02 19:17:02 +00:00
Marc Lehmann de2ac4847f see plug-ins/perl/Changes 1999-08-02 14:41:09 +00:00
Manish Singh 82f7af66be 1.1.8 stuff
-Yosh
1999-08-02 05:50:14 +00:00
Marc Lehmann 855ea9860f *** empty log message *** 1999-08-02 01:45:03 +00:00
Tor Lillqvist 6d6f69b4da New (Win32) print plug-in.
* plug-ins/winprint: New (Win32) print plug-in.

	* plug-ins/makefile.{cygwin,msc}: Built winprint, not the Unixish
	print plug-in.
1999-08-01 21:42:51 +00:00
Marc Lehmann 49ac3a5efa see plug-ins/perl/Changes 1999-08-01 21:25:31 +00:00
Marc Lehmann 11b113db61 see plug-ins/perl/Changes 1999-08-01 21:23:58 +00:00
Marc Lehmann 9ef96aeabf see plug-ins/perl/Changes 1999-08-01 20:48:36 +00:00
Sven Neumann 5d929fb51b Fixed a bug in the line-preview.
--Sven
1999-08-01 14:26:59 +00:00
Tor Lillqvist 61724bfb50 Fix cut-and-paste error reported by Claes G Lindblad.
* app/channel_ops.c (offset_halfheight_callback): Fix
	cut-and-paste error reported by Claes G Lindblad.
1999-07-31 22:03:35 +00:00
Marc Lehmann b52b6fde8c see plug-ins/perl/Changes 1999-07-31 20:48:54 +00:00
Kjartan Maraas 2ead9d7524 Updated translation.
1999-07-30  Kjartan Maraas  <kmaraas@online.no>

		* no.po: Updated translation.
1999-07-30 23:18:36 +00:00
Marc Lehmann aaedafae1d see plug-ins/perl/Changes 1999-07-30 20:51:19 +00:00
Manish Singh a3854b331c revert previous change
* tools/pdbgen/pdb/tools.pdb: revert previous change

* tools/pdbgen/pdb/guides.pdb: perform orientation xform here

* app/gimpimage.h: use 2 enums, one for internal and for external

* libgimp/gimpenums.h: change around external enums here

-Yosh
1999-07-30 05:26:36 +00:00
Marc Lehmann 8a9daf72ef *** empty log message *** 1999-07-30 01:21:04 +00:00
Marc Lehmann a28336d7b6 *** empty log message *** 1999-07-30 00:24:58 +00:00
Manish Singh 46f8a629e3 hard code orientation constants for shear and flip too maintain backwards
* tools/pdbgen/pdb/tools.pdb: hard code orientation constants for
shear and flip too maintain backwards compatibility

* app/gimpimage.h: remove ORIENTATION chop to avoid namespace
collision

-Yosh
1999-07-30 00:20:50 +00:00
Tor Lillqvist 21aae5c7ad Add gdiplay_color. Create gimp.def from gimp.sym.
* app/makefile.{cygwin,msc}: Add gdiplay_color. Create gimp.def
 	from gimp.sym.

	* app/gimp.def: Removed.

	* libgimp/gimpenv.c (gimp_data_directory) (Win32): Also check for
	the executable being in the plug-ins subdirectory.

	* plug-ins/makefile.{cygwin,msc}: Install also GIMPressionist
 	brushes, papers and presets.
1999-07-29 22:07:17 +00:00
Marc Lehmann 9a06dbc989 *** empty log message *** 1999-07-29 21:51:08 +00:00
Marc Lehmann bad20ffc0a see plug-ins/perl/Changes 1999-07-29 21:28:02 +00:00
jaycox 165c69ffba replace the cubic functions with a better/faster version supplied by David
* app/paint_funcs.c, app/transform_core.c:  replace the cubic
	functions with a better/faster version supplied by
	David Hodson <hodsond@acm.org>

	* app/brush_select.c: double clicking on a brush preview now opens up
	the brush editor.  Update the text displayed when the active brush
	changes size.

	* app/paint_funcs.c: slight modification to overlay_pixels.
1999-07-29 10:40:42 +00:00
Tor Lillqvist f8e2b4fa58 New Win32-only plug-in: whole display or single window screenshot. Thanks
* plug-ins/winsnap: New Win32-only plug-in: whole display or
 	single window screenshot. Thanks to Craig Setera.
1999-07-29 00:23:51 +00:00
Tor Lillqvist 871ca6d6ee Remove a call to channel_set_opacity() at a point where channel always is
* tools/pdbgen/pdb/channel.pdb: Remove a call to
 	channel_set_opacity() at a point where channel always is NULL,
 	causing a crash. The next statement calls channel_new() (passing
 	the opacity), and assigns its return value to channel, so there
 	shouldn't be any need to call channel_set_opacity()?

	* app/channel_cmds.c: Corresponding change in generated file.

	* plug-ins/makefile.{cygwin,msc}: Add the new curve_bend and
 	sample_colorize plug-ins.
1999-07-28 23:47:45 +00:00
Manish Singh 87f0717086 portability nit
-Yosh
1999-07-28 23:21:11 +00:00
Manish Singh 7cb07a90bf add sample_colorize and curve_bend defs
* plug-ins/common/plugin-defs.pl: add sample_colorize and
curve_bend defs

* libgimp/color_selector.h: minor consistency cleanup

* libgimp/gimpchainbutton.[ch]: use new style gtk object helper macros

* libgimp/gimpfileselection.c
* libgimp/gimpmatrix.h: minor cleanup

* libgimp/gimpintl.h: resync with gnome-i18n.h


* libgimp/color_display.h
* app/gimp.sym
* app/gdisplay_color.[ch]
* app/app_procs.c
* app/gdisplay.h
* app/image_render.c: color display transformation code. Still
unfinished, so it's not activated yet.

* app/buildmenu.h: remove unused defines (PULLDOWN, POPUP, OPTION)

* app/colormaps.[ch]
* app/image_render.c: remove vestigal dithering stuff

* app/convolve.h
* app/gimpdrawable.h
* app/gimpimage.h
* app/lut_funcs.h
* app/paint_funcs.h
* app/plug_in.h: enum nick changes from Marc

* app/channel_ops.c
* app/crop.c
* app/gdisplay.c
* app/gimpimage.[ch]
* app/move.c: s/([A-Z]+)_GUIDE/ORIENTATION_$1/

* app/flip_tool.[ch]
* app/shear_tool.[ch]: use ORIENTATION_* constants instead of our own

* app/disp_callbacks.c: remove HORIZONTAL and VERTICAL #defines

* app/general.h: enumified TOKEN_* symbols

* app/lc_dialog.c
* app/paint_funcs.c: remove unused variables

* tools/pdbgen/lib.pl: autogen gimpenums.h (unfinished)

* tools/pdbgen/stddefs.pdb: new std_orientation_enum, remove
layer_mode shortcut since we've skipped it in app/

* tools/pdbgen/pdb/brush_select.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/gimage.pdb
* tools/pdbgen/pdb/guides.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/tools.pdb: reflect above enum changes, whitespace
cleanups

* tools/pdbgen/enums.pl
* app/brush_select_cmds.c
* app/brushes_cmds.c
* app/color_cmds.c
* app/drawable_cmds.c
* app/gimage_cmds.c
* app/layer_cmds.c
* app/procedural_db_cmds.c
* app/tools_cmds.c: reflect pdb and enum nick changes above

-Yosh
1999-07-28 23:00:08 +00:00
Marc Lehmann 8b0cef8376 see plug-ins/perl/Changes 1999-07-28 21:23:35 +00:00
Marc Lehmann fcb24402f5 see plug-ins/perl/Changes 1999-07-28 21:19:15 +00:00
Asbjørn Pettersen 99ef09e511 Add __XOS2RedirRoot() for OS2 1999-07-28 19:36:04 +00:00
Sven Neumann d7f8b5f2a4 Added two new plug-ins.
--Sven
1999-07-28 17:44:32 +00:00
Sven Neumann 31b800f3bb Proofread the german translation and declared most fuzzy translations as
correct ones.


--Sven
1999-07-28 16:33:54 +00:00
Michael Natterer b975949753 tweaked one more dialog box: "Changes were made to %s. Close anyway?"
1999-07-28  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/gdisplay_ops.c: tweaked one more dialog box: "Changes were
	made to %s. Close anyway?"

	* app/layers_dialog.c: Eek, layers_dialog_flush() was assuming
	that layers can be moved by one position only and thus traversed
	and reordered the same list at the same time. Should work with
	arbitrarily misplaced layers now.
	Fixed some strange dnd special cases and cleaned up the dnd code.
1999-07-28 14:01:04 +00:00
jaycox fd586862fc new file that shold have gone with my last commit.
* app/pixel_regionP.h: new file that shold have gone with my last
	commit.
1999-07-28 10:45:04 +00:00
Sven Neumann a78d35fe64 Why do I always have to edit each and every file I open??
--Sven
1999-07-28 00:25:17 +00:00
Marc Lehmann 4ea8ba7440 see plug-ins/perl/Changes 1999-07-27 21:45:32 +00:00
MEST 1999 Sven Neumann 0a2a24c1e5 fixed a bug that was introduced by the latest portability changes
Tue Jul 27 22:47:33 MEST 1999  Sven Neumann <sven@gimp.org>

        * plug-ins/script-fu/script-fu-scripts.c: fixed a bug that was
        introduced by the latest portability changes
1999-07-27 20:49:55 +00:00
Marc Lehmann 5d06b76d4b see plug-ins/perl/Changes 1999-07-27 19:13:44 +00:00
Vincent Renardias 44febbc37d updated/proofread...
* updated/proofread...
1999-07-27 17:07:31 +00:00