Commit Graph

791 Commits

Author SHA1 Message Date
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