Commit Graph

842 Commits

Author SHA1 Message Date
Manish Singh 2f779f484b small patch from Nick Lamb that does "The Right Thing (TM)" for RGB tiff images
-Yosh
1999-01-12 02:13:18 +00:00
Manish Singh 344ffe8e52 Implemented file revert
-Yosh
1999-01-12 01:31:49 +00:00
GMT 1999 Adam D. Moss d182f93904 The bottleneck combine_inten_a_and_inten_a_pixels() function is a couple
Mon Jan 11 22:02:10 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/paint_funcs.c:
	The bottleneck combine_inten_a_and_inten_a_pixels()
	function is a couple of times faster when there is a
	layer mask, for the common case, due to working with whole
	word-aligned ints where feasible instead of a char at a time.
	The same optimization could be implemented in lots of other
	places, but I'm going to bed.  Good night!

	* app/gimage_cmds.c: #include <cursorutil.h>
1999-01-11 22:08:07 +00:00
Sven Neumann 7d44059b50 Include modules/Makefile in configure.in.
--Sven
1999-01-11 20:48:27 +00:00
Raja R Harinath cbf30628e0 Generate `plug-ins/perl/*' after `plug-ins/Makefile', so that the
* configure.in (AC_OUTPUT): Generate `plug-ins/perl/*' after
`plug-ins/Makefile', so that the `plug-ins' directory exists before the
`mkdir plug-ins/perl' is executed.
1999-01-11 01:33:54 +00:00
Raja R Harinath dd1f7ccb95 Use `test -f' instead of `test -e'.
* configure.in (AC_OUTPUT): Use `test -f' instead of `test -e'.
1999-01-11 01:28:51 +00:00
GMT 1999 Austin Donnelly d8be79f036 Bit of a large checkin this - it's basically three things: 1 - GimpModules
Sun Jan 11 00:24:21 GMT 1999  Austin Donnelly  <austin@greenend.org.uk>

	Bit of a large checkin this - it's basically three things:
	  1 - GimpModules using gmodules to dynamically load and
	       initialise modules at gimp start of day.
	  2 - Color selectors now register themselves with a color
	       notebook.
	  3 - progress bars have been cleaned up a bit, so now have
	       progress indictations on all transform tool and gradient
	       fill operations.  Not done bucket fill, but that seems to
	       be the next candidate.

	New directories:
	* modules/: new directory for dynamically loadable modules.

	New files:
	* modules/.cvsignore
	* modules/Makefile.am
	* modules/colorsel_gtk.c: GTK color selector wrapped up as a
	    color selector the gimp can use.

	* app/gimpprogress.[ch]: progress bars within gimp core, either as
	    popups, or in the status bar.  This is mainly code moved out
	    of plug-in.c

	* app/color_notebook.[ch]: color selector notebook, implementing
	    very similar interface to color_select.h so it can be used as
	    a drop-in replacement for it.

	* libgimp/color_selector.h: API color selectors need to implement
	    to become a page in the color_notebook.

	* libgimp/gimpmodule.h: API gimp modules need to implement to be
	    initialised by gimp at start of day.

	Modified files:
	* Makefile.am: add modules/ to SUBDIRS
	* libgimp/Makefile.am: install gimpmodule.h and color_selector.h
	* app/gimprc.[ch]: recognise module-path variable.
	* gimprc.in: set module-path variable to something sensible
	    (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules").
	* app/Makefile.am: build color notebook and gimpprogress
	* app/app_procs.c: register internal GIMP color selector with
	    color notebook.
	* app/asupsample.c: call progress function less frequently for
	    better performance.
	* app/asupsample.h: progress_func_t typedef moved to gimpprogress.h
	* app/blend.c: make callbacks to a progress function
	* app/color_area.c: use a color notebook rather than a color selector
	* app/color_panel.c: ditto
	* app/color_select.c: export color selector interface for notebook
	* app/color_select.h: color_select_init() prototype
	* app/flip_tool.c: flip the image every time, rather than every
	    second click.
	* app/interface.c: move progress bar stuff out to
	    gimpprogress.c.  Make the code actually work while we're at it.
	* app/interface.h: move prototypes for progress functions out to
	    gimpprogress.h
	* app/plug_in.c: load and initialise modules (if possible). Move
	    progress bar handling code out to gimpprogress.c
	* app/plug_in.h: keep only a gimp_progress * for each plugin, not
	    a whole bunch of GtkWidgets.
	* app/scale_tool.c
	* app/rotate_tool.c
	* app/shear_tool.c
	* app/perspective_tool.c: progress bar during operation.
	    De-sensitise the dialog to discourage the user from running
	    two transforms in parallel.
	* app/transform_core.c: recalculate grid coords when bounding box
	    changes.  Only initialise the action area of the dialog once,
	    to avoid multiple "ok" / "reset" buttons appearing.  Undraw
	    transform tool with correct matrix to get rid of handle
	    remains on screen.  Call a progress function as we apply the
	    transform matrix.  A few new i18n markups.  Invalidate
	    floating selection marching ants after applying matrix.
	* app/transform_core.h: transform_core_do() takes an optional
	    progress callback argument (and data).
	* plug-ins/oilify/oilify.c: send progress bar updates after every
	    pixel region, not only if they processed a multiple of 5
	    pixels (which was quite unlikely, and therefore gave a jerky
	    progress indication).
1999-01-11 00:57:33 +00:00
GMT 1999 Adam D. Moss bf0dbb2018 Most lengthy UI-blocking operations now put up an hourglass so the user
Sun Jan 10 23:31:45 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/blend.c app/bucket_fill.c app/convert.c app/crop.c
	app/cursorutil.c app/cursorutil.h app/fuzzy_select.c
	app/gdisplay.c app/gdisplay.h app/gimage_cmds.c
	app/gimpimage.c app/transform_core.c app/xcf.c:

	Most lengthy UI-blocking operations now put up an
	hourglass so the user can see that GIMP is working.
	Let me know if there are other vital cases.
1999-01-10 23:36:29 +00:00
GMT 1999 Andy Thomas 01d2a20548 New app/dialog_handler.c app/dialog_handler.h
Sun Jan 10 22:41:51 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>

	New
	* app/dialog_handler.c
	* app/dialog_handler.h

	Changed
	* app/disp_callbacks.c
	* app/gradient_select.c
	* app/tools.c
	* app/interface.c
	* app/patterns.c
	* app/gimpbrushlist.c
	* app/palette.c
	* app/layers_dialog.c
	* app/devices.c
	* app/errorconsole.c

	Can now hide/show all main dialogs using the TAB key in any window.
	However....
	there is a bug in gtk that causes the Gimp the crash if you show
	and then hide a lot of dialogs (eg if you have all dialogs visible
	and press the TAB key repeatedly). I have email-ed an example to
	the gtk bug list.
	Also I can't seem to be able to catch the SHIFT-TAB combination
	(suggestions welcome ;-) so the first press of the tab hide all
	dialogs the second press reshows only the toolbox and the third
	press reshows all. Comments please if you find this behaviour
	non-intuitive.
1999-01-10 23:20:33 +00:00
GMT 1999 Austin Donnelly 31fba3b3dc app/brush_select.c app/channels_dialog.c app/disp_callbacks.c
Sun Jan 10 21:42:11 GMT 1999  Austin Donnelly  <austin@greenend.org.uk>

	* app/brush_select.c
	* app/channels_dialog.c
	* app/disp_callbacks.c
	* app/histogram_tool.c
	* app/info_dialog.c
	* app/layer_select.c
	* app/pattern_select.c
	* plug-ins/gfig/gfig.c
	* plug-ins/newsprint/newsprint.c: More changes of the form
 	       s/gtk_label_set/gtk_label_set_text/
1999-01-10 21:54:02 +00:00
GMT 1999 Adam D. Moss 0b724ad309 Disabled debug output of [.!..!!] for COW
Sun Jan 10 20:44:07 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/paint_funcs.c: Disabled debug output of [.!..!!] for COW
1999-01-10 20:45:55 +00:00
GMT 1999 Adam D. Moss 1fa91b23aa Greatly reduced memory requirements for layered image loading - we now do
Sun Jan 10 20:13:13 GMT 1999 Adam D. Moss <adam@gimp.org>

	* plug-ins/psd/psd.c:
        Greatly reduced memory requirements for layered image loading -
        we now do just-in-time channel unpacking.  Some little
        cleanups too.
1999-01-10 20:15:45 +00:00
Manish Singh f0558a7ea2 rework to do gcg by ourselves
* autogen.sh: rework to do gcg by ourselves

gcg:
        * autogen.sh: call configure again

        * gcg.c
        * Makefile.am: use CPP_SEARCH for finding stuff

-Yosh
1999-01-10 06:53:30 +00:00
Peter Teichman 4e151aa80c didn't realize that there were more errors of the same type.. The wrong
* plug-ins/MapObject/mapobject_ui.c: didn't realize that there
were more errors of the same type.. The wrong callback argument
was being dereferenced for most GtkScale objects.
1999-01-10 06:47:21 +00:00
Peter Teichman 4cdd6ba12f plug-ins/MapObject/mapobject_ui.c (angle_update): fixed a
segfault.. The wrong argument to angle_update was being dereferenced.
1999-01-09 08:46:30 +00:00
Manish Singh 576edc87e5 added pl to ALL_LINGUAS
* configure.in: added pl to ALL_LINGUAS

* POTFILES.in, remove indexed_palette.c, add colormap_dialog.c

* configure.in
* gcg.c: use CPP_PROGRAM instead of hardcoding "cpp"

-Yosh
1999-01-07 23:53:29 +00:00
Lauri Alanko 110d67fb65 Added stuff to make gcg by default (for maintainers)
libgimp: Now keep a local copy of temp proc names
1999-01-07 19:54:45 +00:00
GMT 1999 Andy Thomas 7fdd4a4fa9 app/indexed_palette.c
Wed Jan  6 23:30:03 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>

	* app/indexed_palette.c

	Fixed crash when image->dialog->indexed palette invoked on
	an RGB image.
1999-01-06 23:41:34 +00:00
GMT 1999 Andy Thomas d2e598739c app/blend.c plug-ins/script-fu/script-fu.c
Mon Jan  4 23:21:56 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>

	* app/blend.c
	* plug-ins/script-fu/script-fu.c

	A patch from Federico to add a spiral gradient type. The patch
	has been slightly modified to allow both clockwise and anticlockwise
	spirals and the numbers used to represent these types of gradients
	have been made to follow on from currently allocated numbers (I hope
	this will not break any scripts).
1999-01-04 23:56:37 +00:00
Manish Singh 783cbfaf48 New version
-Yosh
1999-01-03 22:41:12 +00:00
Sven Neumann 41a4d405d1 A small fix to the palette dialog.
--Sven
1999-01-03 21:21:53 +00:00
GMT 1999 Andy Thomas de9be95a02 app/palette.c app/palette_select.h app/palette_select.c
Sat Jan  2 23:22:29 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>

	* app/palette.c
	* app/palette_select.h
	* app/palette_select.c

	An attempt at a better/improved palette dialog using a notebook
	style for selection.
1999-01-03 00:12:39 +00:00
Manish Singh 73c1a752b4 app/Makefile.am use -DREGEX_MALLOC, seems to be more portable
* app/Makefile.am
* plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
seems to be more portable

* plug-ins/png/png.c: use a default gamma of 2.2 when gamma
correction isn't enabled

-Yosh
1999-01-02 23:28:01 +00:00
Manish Singh 12085bcb60 remove bogus constification
* app/blend.c: remove bogus constification

* po/sv.po: updates from Tomas Ogren <stric@ing.umu.se>

-Yosh
1999-01-02 03:30:04 +00:00
Manish Singh 49cbf0630d i18n markings from Daniel Egger (mostly removal of tags around PDB stuff),
* i18n markings from Daniel Egger (mostly removal of tags around
PDB stuff), some constification

* I went on a sprintf pogrom. Use g_snprintf or g_strdup_printf
where applicable, to prevent overflows, especially with filenames
and translated strings. suid gimp is now more secure. ;)

-Yosh
1998-12-25 18:22:01 +00:00
Manish Singh 7c90c13ccf bitch if we don't see gtk.m4 and gettext.m4
-Yosh
1998-12-24 01:11:03 +00:00
Manish Singh a7ffce5afe Administrivia
-Yosh
1998-12-24 00:49:31 +00:00
GMT 1998 Andy Thomas 8ed2ce8661 app/palette.c app/Makefile.am
Wed Dec 23 23:59:52 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/palette.c
	* app/Makefile.am

	New:-

	* app/palette_select.h
	* app/palette_select.c

	New smaller palette select dialog. This has an edit button
	which invokes the palette editor.
1998-12-24 00:08:39 +00:00
Chris Lahey 7ec1f256a6 Fixed the multiple drag problem. The docindex should now allow multiple drags. 1998-12-23 19:42:58 +00:00
Tuomas Kuosmanen 37bb32f348 Some ideas for TODO /tigert 1998-12-22 09:49:46 +00:00
Manish Singh 15c56a1b3d nice file from Xach
* NEWS: nice file from Xach

* libgimp/parasite.c
* app/gimpdrawable.c: warning fixups

-Yosh
1998-12-22 06:03:53 +00:00
EST 1998 Adrian Likins 4ba1f0427c Replaced tigert's lovely splash screen with something more approriate for
Tue Dec 22 17:43:08 EST 1998 Adrian Likins <adrian@gimp.org>

        * gimp1_1_splash.ppm: Replaced tigert's lovely splash
        screen with something more approriate for a unstable
        development release.

-adrian
1998-12-21 22:42:13 +00:00
Sven Neumann a2e05bf488 Finally it seems like Xach got it right.
--Sven
1998-12-20 22:40:03 +00:00
CST 1998 Shawn T. Amundson 092fb5a60e app/by_color_select.c: plug-ins/script-fu/script-fu-scripts.c:
Sat Dec 19 15:46:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * app/brush_edit.c:
          app/by_color_select.c:
          plug-ins/script-fu/script-fu-scripts.c:
          plug-ins/compose/compose.c:
          plug-ins/fp/fp.c:
          plug-ins/fp/fp_gdk.c:
          plug-ins/fp/fp_gtk.c:
          plug-ins/maze/maze_face.c: s/gtk_label_set/gtk_label_set_text/g
1998-12-20 00:13:50 +00:00
Sven Neumann dc436e826e Applied the second patch from Xach with a slight modification to get
centered fixed-size selections right.


--Sven
1998-12-19 23:59:04 +00:00
Sven Neumann 3231691d2f Applied the patch Xach sent to the list.
--Sven
1998-12-19 18:22:14 +00:00
Sven Neumann 1179ae3373 Restore the size of the dialogs again.
--Sven
1998-12-19 14:22:35 +00:00
GMT 1998 Andy Thomas 7808a83ea0 Missed app/Makefile.am. Need to add palette_entries.h
Sat Dec 19 00:01:49 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	Missed app/Makefile.am. Need to add palette_entries.h
1998-12-19 00:09:15 +00:00
GMT 1998 Andy Thomas 1d591e95e6 Changed the palette dialog. New functionality. Better previews. Can
Fri Dec 18 23:46:11 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	Changed the palette dialog. New functionality. Better previews.
	Can display larger palettes. Can import palettes from images and from
	gradients. Fixed colour selection so that the hightlighted
	square says in sync on redraws.

	* app/convert.h
	* app/palette.h
	* app/palette.c
	* app/gradient.c
	* app/gradient_select.c
	* app/gimage.c
	* app/gimpimage.c
	* app/gimpimage.h

	New file:-

	* app/palette_entries.h
1998-12-19 00:00:06 +00:00
Manish Singh 21ffb64262 various sundry changes
-Yosh
1998-12-17 11:53:22 +00:00
Manish Singh af37146ad9 warning pogrom
-Yosh
1998-12-17 11:40:19 +00:00
jaycox ccf22ebb29 fixed bug in the resolution saving code and added a sanity check to the
* app/xcf.c: fixed bug in the resolution saving code and
	added a sanity check to the resolution loading. (thanks to austin)
1998-12-17 02:03:43 +00:00
Manish Singh b375288c88 removed my_gtk_label_set, since the underlying implementation changed. Why
* plug-ins/gfig/gfig.c: removed my_gtk_label_set, since the underlying
implementation changed. Why was this there anyway?

-Yosh
1998-12-16 21:29:55 +00:00
jaycox ea35ae1bd2 fixed a bug in combine_inten_and_inten_a_pixels. Use INT_MULT and friends
* app/paint_funcs.c: fixed a bug in combine_inten_and_inten_a_pixels.
	Use INT_MULT and friends everywhere possible.
1998-12-16 15:48:43 +00:00
jaycox fe3fa4e2e5 libgimp/gserialize.c Changed the enum values to allow for simpler future
* libgimp/gserialize.c
	* libgimp/gserialize.h: Changed the enum values to allow for
 	simpler future expansion.

	* libgimp/parasite.c
	* libgimp/parasite.h: s/persistant/persistent/.
 	new accessor functions for parasites.  #defines for new flags.

	* app/paintbrush.c: added timeing code for brush strokes.
  	It is #ifed out, and is only valid for shift clicks.

	* app/parasite_cmds.h: fixed a warning

	* app/parasitelist.h
	* app/parasitelist.c: added _for_each and _length functions

	* app/gimpdrawable.c:  set the dirty flag when adding or removing a
 	persistent parasite

	* app/gimpimage.c: set the dirty flag when adding or removing a
 	persistent parasite.  Fixed bug and removed debug statements in
 	merge_down.

	* app/xcf.c: save and load resolution, parasites, and tattoos.

	* app/main.c: updated the deserialize test.

	* plug-ins/tiff/tiff.c
	* plug-ins/gif/gif.c: use PARASITE_PERSISTENT define instead of 1

	* plug-ins/bmp/bmp.c
	* plug-ins/bmp/bmp.h: declare some struct variable as extern.

	* app/paint_funcs.c: Lots of optimizations aimed at speeding up
 	painting.  Should see a 2-4X speed up on most painting
 	(depending on paint modes, brush size etc.)

	* app/drawable.c: check for NULL drawable in drawable_ID.
  	this stops us from being crashed by ill-behaved plug-ins
1998-12-16 11:23:30 +00:00
Manish Singh d2ea549d27 stuff from patches/i18n by Daniel Egger
* app/*: stuff from patches/i18n by Daniel Egger

* app/channels_dialog.c: fixes minor buglets in the channels dialog

-Yosh
1998-12-16 00:37:09 +00:00
Manish Singh 57b32958e6 removed intl virtual modules, use them new fangled autogen.sh's
* removed intl virtual modules, use them new fangled autogen.sh's

-Yosh
1998-12-15 03:13:46 +00:00
Sven Neumann 32ca64515b Added help display.
--Sven
1998-12-13 20:16:01 +00:00
Sven Neumann e260d064eb I guess finally we have the coordinates display working with all font sizes
and even after scaling the image.


--Sven
1998-12-13 18:52:34 +00:00
GMT 1998 Austin Donnelly 0db6dcf168 app/interface.c tweak to make status bar update correctly (most of the
Sat Dec 12 17:36:51 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/interface.c
	* app/gdisplay.c: tweak to make status bar update correctly (most
 	of the time).  As Sven has already noted, there seems to be a GTK
 	bug involved.

	* app/disp_callbacks.c: only update the cursor co-ords if we
 	actually know them.  Gets rid of silly (0,0) announcements.
1998-12-12 17:41:41 +00:00
Marc Lehmann 95d87dca4e check only for "perl", not "perl5.005xx".
* configure.in: check only for "perl", not "perl5.005xx".
1998-12-10 21:26:50 +00:00
GMT 1998 Austin Donnelly 7dc28947ef OOPS: forgot changelog
Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/commands.[ch]
	* app/edit_selection.c
	* app/gdisplay.[ch]
	* app/gdisplay_ops.[ch]
	* app/image_render.c
	* app/info_window.c
	* app/magnify.c
	* app/menus.c
	* app/scale.c: image rendering now happens with float scale
	factors, independent in X and Y axes.  Turning on dot-for-dot in view
	menu does what gimp always used to do (ie one image pixel becomes
	one monitor pixel).  Dot-for-dot is on by default so people
	shouldn't notice any difference unless they load an image that's
	not at 72 dpi and also turn off dot-for-dot.

	* app/app_procs.c
	* app/gimprc.[ch]
	* app/preferences_dialog.c: new gimprc options
	(monitor-xresolution <float>) and corresponding
 	(monitor-yresolution <float>).  Uglyness in preferences dialog to
	add a "Monitor" page to the notebook, allowing user to set their
	monitor's resolution or take it from the X server instead.  This
	badly needs cleaned up :(

	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
	for grayscale images since my last checkin.  Now fixed.
1998-12-05 21:49:40 +00:00
Manish Singh 7a0ad46070 add line continuator so all files needed are built for libgimpui
-Yosh
1998-12-05 10:41:56 +00:00
Manish Singh 9a20dec858 add tree using gtk_scrolled_window_add_with_viewport
-Yosh
1998-12-05 06:23:04 +00:00
Sven Neumann 23d88f24bd Added a new widget that allows to specify lengths in pixels, inches and
centimeters. It is tested, but not yet used anywhere. As I don't have the
time to finish this now, I add this here for later use or for someone
else to integrate it into all gimp dialogs...


--Sven
1998-12-05 03:38:13 +00:00
EST 1998 Nick Fetchak a616697415 Added option to crop the active layer only
Fri Dec  4 01:43:59 EST 1998 Nick Fetchak <nuke@bayside.net>

        * app/crop.[ch]: Added option to crop the active layer only
1998-12-04 06:46:52 +00:00
CST 1998 Shawn T. Amundson b556943f2c app/channel_ops.c app/color_balance.c app/color_select.c app/commands.c
Thu Dec  3 16:51:42 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * app/channel_ops.c
        * app/color_balance.c
        * app/color_select.c
        * app/commands.c
        * app/convert.c
        * app/curves.c
        * app/docindex.c
        * app/errorconsole.c
        * app/file_new_dialog.c
        * app/fileops.c
        * app/gdisplay_ops.c
        * app/histogram_tool.c
        * app/info_dialog.c
        * app/layer_select.c
        * app/levels.c
        * app/pattern_select.c
        * app/plug_in.c
        * app/posterize.c
        * app/resize.c
        * app/threshold.c
        * app/tips_dialog.c: use gtk_container_set_border_width and
          gtk_window_set_position instead of deprecated versions
1998-12-03 23:01:44 +00:00
CST 1998 Larry Ewing ee23120c06 fixed the dialog destroy handling in the bezier extends dialog.
Tue Dec  1 22:12:08 CST 1998 Larry Ewing  <lewing@gimp.org>

	* app/bezier_select.c: fixed the dialog destroy handling in the
	bezier extends dialog.
1998-12-02 04:15:48 +00:00
Sven Neumann 66ce5eea04 Export gimp_drawable_set_image() to the PDB. Needed for the GAP plug-in.
--Sven
1998-12-02 01:42:08 +00:00
Manish Singh 3fcc361159 app/gradient.c s/gtk_clist_set_border/gtk_clist_set_shadow_type/
* app/gradient.c
* app/gradient_select.c:
s/gtk_clist_set_border/gtk_clist_set_shadow_type/

* configure.in
* libgimp/Makefile.am
* app/Makefile.am: use GIMP_THREAD_FOO substitution

* app/gimage_cmds.c: initialize some vars to quell warnings

-Yosh
1998-12-01 23:19:01 +00:00
Manish Singh 4431d91f5e scrolled window fix
-Yosh
1998-11-28 06:44:59 +00:00
Sven Neumann 5b35e6cf4b Initialize gimage before calling its width.
--Sven
1998-11-28 02:39:47 +00:00
Owen Taylor 68d2b9ae11 Changed log. 1998-11-27 22:44:03 +00:00
Raph Levien 583bea6c30 Just changed a silent return if devices_info == NULL to a g_return_if_fail.
Now that Gtk+ is fixed, this case should not happen.
1998-11-27 19:49:53 +00:00
Owen Taylor 8a1d7faf11 We don't need GTK+, and we don't use GTK_CFLAGS, so don't include
Wed Nov 25 18:37:44 1998  Owen Taylor  <otaylor@redhat.com>

	* plug-ins/gz/gz.c: We don't need GTK+, and we
	don't use GTK_CFLAGS, so don't include <gtk/gtk.h>.
1998-11-26 17:49:02 +00:00
Raph Levien df3a07a932 Added a tilt angle slider. 1998-11-26 07:44:17 +00:00
Raph Levien 484e10ac36 Fixed a segv that happened when I compiled with xinput=xfree, but had
no input devices.
1998-11-26 06:07:22 +00:00
Marc Lehmann b3c6723388 applied update by Shuji Narazaki <narazaki@gimp.org>.
* plug-ins/script-fu/scripts/line-nova.scm,
	plug-ins/script-fu/scripts/text-circle.scm,
	plug-ins/script-fu/scripts/unsharp-mask.scm: applied update by Shuji
	Narazaki <narazaki@gimp.org>.
1998-11-25 21:18:26 +00:00
Raph Levien fa8a3bc922 Added tilt sensitivity in ink tool. 1998-11-25 19:21:54 +00:00
Manish Singh cb80e23d3b applied gimp-stric-981116-1, lots o files changes in app. i18n patch.
* applied gimp-stric-981116-1, lots o files changes in app. i18n patch.

* plug-ins/gfig/gfig.c: applied gimp-tml-981121-0, use proper PDB params

-Yosh
1998-11-23 14:47:09 +00:00
Manish Singh 25f3cc8d31 require GTK+ 1.1.5
* configure.in: require GTK+ 1.1.5

* app/bezier_select.c
* app/channels_dialog.c
* app/global_edit.c
* app/layers_dialog.c
* plug-ins/film/film.c
* plug-ins/gfig/gfig.c
* plug-ins/xd/xd.c
* plug-ins/libgck/gck/gcklistbox.c: fixes for new scrolled window viewport
behavior

* libgimp/gimpwire.c
* app/xcf.c: use g_htonl and friends

* app/main.c: ditch some unused variables

* app/Makefile.am: removed unused pixmap references

-Yosh
1998-11-23 09:25:10 +00:00
Sven Neumann b593a1592f Use a proper size for the coordinates display in the statusbar.
I still don't know why those statusbar is sometimes not updated. The labels
are definitely set, but are sometimes not drawn. I guess this is a GTK
problem.


--Sven
1998-11-19 20:20:46 +00:00
Sven Neumann 8ff9045448 Finally the splash-screen shouldn't resize even with LARGE fonts.
--Sven
1998-11-18 16:38:55 +00:00
Sven Neumann 86d0a76695 New GTK feature greys out buttons automatically. Finally got rid of my dirty
workaround.


--Sven
1998-11-18 15:48:11 +00:00
Raph Levien 056691c594 Some minor ui polishing. 1998-11-18 01:35:02 +00:00
Austin Donnelly a6026d29cd app/edit_cmds.c fix warnings about using uninitialized gimage args + one
Mon Nov 16 21:46:39 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/edit_cmds.c
	* app/gimage_mask_cmds.c: fix warnings about using uninitialized
	gimage args + one real uninited variable bug.
1998-11-16 22:10:35 +00:00
Sven Neumann 44b1e35036 Another change for the GAP plug-in.
--Sven
1998-11-16 18:07:34 +00:00
Sven Neumann 00873eadcc Export floating-selection functions to the PDB (needed for the XJT-plug-in
by Wolfgang Hofer).


--Sven
1998-11-15 18:41:53 +00:00
Sven Neumann 63e3d52df8 Cosmetic fixes in waves-anim.scm and app/app_procs.c.
First set of changes to integrate GAP (Gimp Animation Plugin written
by Michael Hofer)
New functions:  gimp_layer_[get|set]_linked
		gimp_image_raise_layer_to_top
		gimp_image_lower_layer_to_bottom


--Sven
1998-11-15 17:02:59 +00:00
Sven Neumann ee6c165b98 Appearently I committed the wrong version of interface.c last time, sorry.
--Sven
1998-11-15 14:09:16 +00:00
Tuomas Kuosmanen 55c8f8b396 Finished the wilbur -> wilber name hassle, everything should be ok now /tigert 1998-11-15 13:58:31 +00:00
Marc Lehmann 971bc712b1 allow the use of DIVIDE_MODE.
* app/blend.c: allow the use of DIVIDE_MODE.
1998-11-15 12:58:37 +00:00
GMT 1998 Austin Donnelly 9dd1c38b7f app/gimpimage.h app/gimpimageP.h app/gimpimage.c app/gimage_cmds.c
Sat Nov 14 23:16:55 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/gimpimage.h
	* app/gimpimageP.h
	* app/gimpimage.c
	* app/gimage_cmds.c
	* app/file_new_dialog.c
	* app/info_window.c
	* libgimp/gimp.h
	* libgimp/gimpimage.c
	* plug-ins/newsprint/newsprint.c
	* plug-ins/tiff/tiff.c: gimp_image_{get,set}_resolution() calls
	now get and set both X and Y resolutions.  Gimp image struct now
	has two resolution fields, one for each direction.  I've updated
	the two plugins which used the info (TIFF and newsprint).
1998-11-14 23:28:47 +00:00
Marc Lehmann b8b5d7834d removed the image argument from functions that no longer need it.
* plug-ins/script-fu/scripts/*: removed the image
        argument from functions that no longer need it.
1998-11-14 20:46:25 +00:00
GMT 1998 Austin Donnelly 3fa6583ed7 deal with zero-size selections correctly (ie, select the whole image but
Sat Nov 14 20:02:31 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/rect_select.c: deal with zero-size selections correctly (ie,
	select the whole image but don't show marching ants).

	* app/app_procs.c: sort out colourmap before creating splash
	window, so if we need to install a private cmap then everything
	will use it.

	* plug-ins/newsprint/newsprint.c: delete spurious debugging printf.
1998-11-14 20:06:30 +00:00
Sven Neumann bb0ea5a46d applied the patch from Kevin Cozens <kcozens@interlog.com>:
size of area displaying cursor position is now adjusted to fit
maximum possible cursor values

--Sven
1998-11-13 22:11:37 +00:00
Marc Lehmann 42e2c63ce5 API-mega-break-it-all patch part one: removed the unnecessary PDB_IMAGE
* airbrush.c, blend.c, brightness_contrast.c, bucket_fill.c
        by_color_select.c, channel_ops.c, clone.c, color_balance.c
        color_picker.c, convolve.c, curves.c, desaturate.c, edit_cmds.c
        equalize.c, eraser.c, flip_tool.c, fuzzy_select.c,
        gimage_mask_cmds.c histogram_tool.c, hue_saturation.c, invert.c,
        levels.c, pencil.c paintbrush.c, perspective_tool.c, posterize.c,
        rotate_tool.c scale_tool.c, shear_tool.c, text_tool.c, threshold.c:

        API-mega-break-it-all patch part one: removed the unnecessary
        PDB_IMAGE argument from many functions.

Affected functions:
gimp_airbrush gimp_blend gimp_brightness_contrast gimp_bucket_fill
gimp_by_color_select gimp_channel_ops_offset gimp_clone gimp_color_balance
gimp_color_picker gimp_convolve gimp_curves_explicit gimp_curves_spline
gimp_desaturate gimp_edit_clear gimp_edit_copy gimp_edit_cut gimp_edit_fill
gimp_edit_paste gimp_edit_stroke gimp_equalize gimp_eraser
gimp_eraser_extended gimp_flip gimp_fuzzy_select gimp_histogram
gimp_hue_saturation gimp_invert gimp_levels gimp_paintbrush
gimp_paintbrush_extended gimp_pencil gimp_perspective gimp_posterize
gimp_rotate gimp_scale gimp_selection_float gimp_selection_layer_alpha
gimp_selection_load gimp_shear gimp_threshold
1998-11-13 20:40:00 +00:00
jaycox 5267f6014f app/drawable_cmds.c, app/gimage_cmds.c app/parasite_cmds.c,
* app/drawable_cmds.c, app/gimage_cmds.c
	* app/parasite_cmds.c, libgimp/parasite.[ch],
	* libgimp/gimp.c, libgimp/gimpprotocol.c
	* tiff.c, gif.c, script-fu.c: removed all references to
 	parasite_error() and parasite_is_error().  Enable the
	passing of null parasites in the pdb.  Return a copy of the
	parasite instead of the orginal in all pdb functions.
1998-11-13 04:00:54 +00:00
Manish Singh 476d930069 fix buglet with making GLIB_LIBS (shouldn't have been tripped, but bug
* configure.in: fix buglet with making GLIB_LIBS (shouldn't have
        been tripped, but bug nevertheless)

-Yosh
1998-11-11 12:19:57 +00:00
Marc Lehmann 68f7fee7e8 fixed a memory leak, (gimp_destroy_paramdefs) new function. added header.
* libgimp/gimp.c (gimp_run_procedure2): fixed a memory leak,
        (gimp_destroy_paramdefs) new function.
        * libgimp/gimp.h (gimp_destroy_paramdefs): added header.
        * libgimp/gimpfeatures.h.in (GIMP_HAVE_DESTROY_PARAMDEFS): new macro.
        * plug-ins/script-fu/script-fu.c (init_procedures): fixed a
        big memory leak (this also applied to perl!)
1998-11-11 02:20:29 +00:00
Sven Neumann e3c27c9751 Minimal speedup by avoiding to do a inverse->inverse matrix calculation.
Use transform_core_do() for scaling too. This gives a consistent behaviour
regarding the corrective transform and seems to be faster too...


--Sven
1998-11-10 22:50:34 +00:00
Sven Neumann 7f0ea3f587 Use gdk_window_get_root_origin to get the window positions for session
managment.

A few cosmetic fixes to the script-fu dialog.


--Sven
1998-11-09 15:23:29 +00:00
Manish Singh 0771da2452 Makefile.am new file, explains i18n stuff
* Makefile.am
        * README.i18n: new file, explains i18n stuff

        * plug-ins/script-fu/scripts/(lots of files): applied
        gimp-ruth-981108-0, use nice SF-FONT and SF-FILENAME stuff

        * plug-ins/png/png.c: applied gimp-ruth-981108-1, fixes loader for
        some indexed pngs. Also default to level 6 compression, level 9
        compression is cpu hungry and isn't much of a win compared to 6.

        * plug-ins/tiff/tiff.c: applied gimp-ruth-981108-2, major tiff
        rework

-Yosh
1998-11-09 02:05:24 +00:00
Raja R Harinath f3fe31a693 Prefer /usr/sbin/sendmail to /usr/lib/sendmail.
* configure.in (sendmail_path): Prefer /usr/sbin/sendmail to
/usr/lib/sendmail.
1998-11-09 01:18:19 +00:00
Jay Cox de2c3f4813 export the tattoo functions to the plug-ins
1998-11-07  Jay Cox  <jaycox@earthlink.net>

	* libgimp/{gimp.h, gimpchannel.c, gimpdrawable.c, gimplayer.c}:
	export the tattoo functions to the plug-ins

	* libimp/gserialize.c, libimp/gserialize.h: new files for
	serializing structures

	* main.c: test the gserialize functions

	* gimpsignal.h: declare gimp_sigtype_* as extern
1998-11-07 23:02:14 +00:00
Manish Singh 8575718342 added MAINTAINERS to EXTRA_DIST
* Makefile.am: added MAINTAINERS to EXTRA_DIST

* configure.in: nicer -Wall, -ansi, etc. adding for CFLAGS with gcc

* libgimp/parasite*.h
* libgimp/gimpintl.h
* app/Makefile.am
* po/Makefile.in.in
* configure.in: portablity, locale patch (gimp-joke-981028-0)

* configure.in
* plug-ins/Makefile.am: added lic, mapcolor, and xbm plug-ins

* app/app_procs.c
* app/menus.c: cosmetic message fixes

* libgimp/parasite.c: use %p to print pointers

* plug-ins/dbbrowser/dbbrowser_utils.[ch]: changes for new clist stuff

* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/carved-logo.scm
* plug-ins/script-fu/scripts/chrome-it.scm
* plug-ins/script-fu/scripts/crystal-logo.scm
* plug-ins/script-fu/scripts/neon-logo.scm
* plug-ins/script-fu/scripts/sota-chrome-logo.scm: applied gimp-ruth-981103-0,
adds a filesel to script-fu and SF-FILENAME param type. Make some scripts use
this.

-Yosh
1998-11-06 00:51:39 +00:00
GMT 1998 Andy Thomas 66cd5c1678 app/gradient.c app/gradient_select.c
Thu Nov  5 21:55:46 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/gradient_select.c

	Changes due to gtk+ updates. Clist have been changed recently
	in gtk which required changes to source code. These changes
	have only been tested with the gtk version that introduced these
	changes. (so lets get all those updates going...)
1998-11-05 23:10:31 +00:00
EST 1998 Adrian Likins 088ff5d4e4 added a list of current maintainers and developers and what they work on.
Wed Nov  4 11:24:55 EST 1998   Adrian Likins <adrian@gimp.org>

        * MAINTAINERS: added a list of current maintainers
          and developers and what they work on.

If you should be here, add your name.
If you dont have cvs commit access, email me. But then, your
probabaly not reading this.

-adrian
1998-11-05 01:30:34 +00:00
GMT 1998 Andy Thomas 08000c86de app/gradient.c app/Makefile.am
Wed Nov  4 22:23:18 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/Makefile.am

	New files

	* app/gradient_select.c
	* app/gradient_header.h

	Split gradient selector dialog out of the main gradient code.
	New gradient headerfile that contains the key gradient structures
	and #defines.
1998-11-04 23:30:18 +00:00
GMT 1998 Andy Thomas e6a88085c1 plug-ins/script-fu/scripts/comic-logo.scm
Tue Nov  3 21:47:53 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/rendermap.scm

	Updated these scripts to use the new SF-GRADIENT Script-fu type.
1998-11-03 23:19:00 +00:00