Commit Graph

55 Commits

Author SHA1 Message Date
BST 1999 Adam D. Moss 303976487f Thumbnails save with checkerboard-alpha. Saved thumbnail comments include
Tue Mar 30 22:17:43 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/fileops.c: Thumbnails save with checkerboard-alpha.
	Saved thumbnail comments include the file size.
1999-03-30 21:24:50 +00:00
GMT 1999 Adam D. Moss 7e06d78af7 The file revert operation clears the undo stack upon a revert to get rid
Sat Mar 20 22:51:51 GMT 1999  Adam D. Moss  <adam@gimp.org>

	* fileops.c: The file revert operation clears the undo stack
	upon a revert to get rid of the actions causedby the open
	operation.
1999-03-20 22:58:01 +00:00
GMT 1999 Adam D. Moss e51f6f666c Moved the RunModeType enum into the header so we can use it elsewhere
Tue Feb 23 00:05:39 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/plug_in.c
	app/plug_in.h: Moved the RunModeType enum
	into the header so we can use it elsewhere (e.g. fileops)

	* plug-ins/gif/gif.c
	plug-ins/jpeg/jpeg.c: Don't show progress-bars if we're
	running noninteractively.  This makes thumbnail updating
	look more pleasant.  Try to do the same for all file plugins
	(and others)!

	* app/fileops.c: Reworked the thumbnail display again, fixed
	some buglets, file_open_image() is RunMode aware, added some
	tweaks, rhubarb rhubarb, merged in some 'cosmetic' tweaks
	from Marco.
1999-02-23 00:18:24 +00:00
Tor Lillqvist a27cedc001 First batch of changes to merge the Win32 version. This will be
done in pieces, don't expect to be able to compile on Win32 from
these sources yet.  Ans of course, the official version of GTk+
doesn't include the Win32 stuff yet.
1999-02-20 23:20:54 +00:00
GMT 1999 Adam D. Moss e63d677b3b app/dialog_handler.c Various bugfixes and speedups w.r.t. thumbnail
Sun Feb  7 22:06:04 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/dialog_handler.c
	* app/fileops.c: Various bugfixes and speedups w.r.t.
	thumbnail loading.  Now has a 'generate thumbnail' button.

	* app/brightness_contrast.c
	* app/color_balance.c
	* app/curves.c
	* app/hue_saturation.c: Changed some gint to gint32.  It
	doesn't matter right now, but it might if the optimized
	CLAMP0255 gets fixed.
1999-02-07 22:13:10 +00:00
GMT 1999 Adam D. Moss 0fe096b299 A unidirectional error-spread makes the saddest little thumbnails taste
Sun Feb  7 18:29:26 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/fileops.c: A unidirectional error-spread makes
	the saddest little thumbnails taste full of country
	goodness.

	* app/appenv.c: Wow, CLAMP0255() has a bug that I can't
	quite see, or my compiler does.  Worked around it.
1999-02-07 18:34:16 +00:00
GMT 1999 Adam D. Moss 32675c4408 More robust and kickin' thumbnail support.
Sun Feb  7 15:04:23 GMT 1999 Adam D. Moss <adam@gimp.org>

        * app/fileops.c: More robust and kickin' thumbnail support.

        * app/edit_selection.c app/layer.c app/layer.h: Working
        on lazy opaque layer moves.  Disabled for now.

        * app/gdisplay.c
        * app/gimage.h
        * app/gimpimage.c
        * app/gimpimage.h
        * app/image_render.c
        * app/tile_manager.c: Errr, I don't remember.  No, seriously.
        Nothing of consequence.
1999-02-07 15:16:45 +00:00
Manish Singh dea84972e3 fix setting of $localedir, and use $CONFIG_SHELL to run config.status
* configure.in: fix setting of $localedir, and use $CONFIG_SHELL
to run config.status (variation upon gimp-joke-990122-1)

* plug-ins/fp/fp_gtk.c: make label code consistent so we
don't get confused (gimp-ruth-990131-0)

* app/app_procs.c: toast stale swap files on startup

* app/general.[ch]: removed prune_filename

* app/by_color_select.c
* app/colormap_dialog.i.c
* app/fileops.c
* app/gdisplay.c
* app/gdisplay_ops.c
* app/gimpbrush.c
* app/gradient.c
* app/info_window.c
* app/menus.c
* app/palette.c
* app/patterns.c: s/prune_filename/g_basename/

-Yosh
1999-02-07 10:45:56 +00:00
GMT 1999 Adam D. Moss 023571a5d3 More work on thumbnailing - the Load Dialog now knows about thumbnails and
Wed Feb  3 23:46:12 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/fileops.c: More work on thumbnailing - the
	Load Dialog now knows about thumbnails and shows them.
	Still some UI and code tidy-up remaining.
1999-02-04 00:53:35 +00:00
Manish Singh a4213cf85e libgimp/gimp.c app/datafiles.c app/docindex.c app/gimprc.c app/gradient.c
* libgimp/gimp.c
* app/datafiles.c
* app/docindex.c
* app/gimprc.c
* app/gradient.c
* app/palette.c: use g_get_home_dir () instead of getenv ("HOME")

* app/fileops.c: #warning is a gccism

* app/invert.[ch]: minor cleanup

* app/menus.c: more cleanups

* app/blob.c: even more cleanups

* libgimp/parasite.c: YACU

* ltconfig
* ltmain.sh: CVS libtool 1.2e

* modules/Makefile.am: use -module and -avoid-version flags

* lic/Makefile.am
* mapcolor/Makefile.am
* xbm/Makefile.am: don't link with libjpeg here

-Yosh
1999-02-03 09:17:37 +00:00
GMT 1999 Adam D. Moss 672cfafb02 GIMP now automagically saves xv-compatible thumbnails upon image save.
Tue Feb  2 22:25:57 GMT 1999 Adam D. Moss <adam@gimp.org>

	* app/fileops.c: GIMP now automagically saves
	xv-compatible thumbnails upon image save.  More
	work soon.

	* app/fileops.c: Disabled gimage_set_save_proc()
	call which was causing files to continue saving
	in the same format regardless of the user's selected
	format.  Needs attention.
1999-02-02 23:34:27 +00:00
Manish Singh 344ffe8e52 Implemented file revert
-Yosh
1999-01-12 01:31:49 +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
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
Manish Singh fc491e5fa6 applied gimp-ruth-981025-0, cosmetic fix for indexed palette dialog
* app/indexed_palette.c: applied gimp-ruth-981025-0, cosmetic fix for
indexed palette dialog

* app/fileops.[ch]
* app/gimage.h
* app/gimpimage.[ch]
* app/gimpimageP.h: applied gimp-ruth-981025-1, remember LAST_VALS for
image save

-Yosh
1998-10-27 09:26:38 +00:00
EDT 1998 Adrian Likins 25721826d0 Lots of ii8n stuff here and some additions to the de.po. Applied
Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
        Lots of ii8n stuff here and some additions to the de.po.
        Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
        gimp-egger-981007-1, gimp-egger-981008-1,
        gimp-egger-981009-1.patch, gimp-egger-981010-1.patch

        * plug-in/guillotine/guillotine.c: added the coordinates
        of the split images from the original image to the title.
        ie foo.jpg (0,0) for the image in the topleft.

        * plug-in/script-fu/scripts/neon-logo.scm,
        perspective-shadow.scm, predator.scm,rendermap.scm,
        ripply-anim.scm, select_to_image.scm,swirltile.scm,
        xach-effect.scm: updated scripts to use new script-fu stuff

wooo boy! a big un!

	in testing this, it looks like some of the po files are busted.
but the code stuff seems okay.

-adrian
1998-10-14 23:23:52 +00:00
CDT 1998 Larry Ewing 8474c4e220 move the mru and docindex calls to before the call to
Mon Aug 24 13:41:49 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c (file_save): move the mru and docindex calls to
	before the call to gimp_image_set_filename so that they are still
	accessing valid memory.  Fixes the filename corruption seen in
	these interfaces.
	* app/gimpimage.c: added a warning about the side effect that
	caused the above bug.
1998-08-24 18:48:06 +00:00
CDT 1998 Larry Ewing 64aa182a4d fixed a lingering bug that occured from the removal of the id system. This
Fri Aug 21 17:25:34 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c: fixed a lingering bug that occured from the
	removal of the id system.  This should fix tigert's save problems.
1998-08-21 22:40:17 +00:00
Manish Singh 3635728000 app/Makefile.am app/errors.c app/errorconsole.[ch] app/app_procs.c
* app/Makefile.am
* app/errors.c
* app/errorconsole.[ch]
* app/app_procs.c
* app/appenv.h
* app/menus.c: error console implementation from Nuke <nuke@bayside.net>
Hooks to g_message

* app/fileops.c: honor message_handler while still setting filesel widget
sensitivity properly

-Yosh
1998-07-28 21:11:47 +00:00
Manish Singh 1e365c6a0d tell the PDB that gimp_register_magic_load_handler takes 4 args
-Yosh
1998-07-23 17:32:32 +00:00
Adam D. Moss 964b6f504d Fixed my idiotic comment syntax Less wussy default/max rate
* app/fileops.c: Fixed my idiotic comment syntax
	* app/airbrush.c: Less wussy default/max rate
1998-07-18 15:49:22 +00:00
Adam D. Moss 9017e83021 Added the ability to make multiple selections from GIMP's
* app/fileops.c: Added the ability to make multiple
	selections from GIMP's load-file-selector.  It's
	adequate but not perfect without the ability to get
	the filesel's idea of its cwd via clean GTK coding.

	* app/convert.c: Minor textual changes.
1998-07-18 15:25:52 +00:00
Sven Neumann 443bf8b2b4 Fixed a few bugs in the new MRU list.
I'm not very happy with this new feature as it doubles functionality and
code with the new docindex. Probably the two should be merged somehow. The
user interface should stay as it is, but the MRU functions should be
provided by the docindex code.


--Sven
1998-07-13 22:31:45 +00:00
Manish Singh 999b2781f4 added MRU file list (patch from nuke@bayside.net) Moved document index menu
item into the dialogs submenu

-Yosh
1998-07-12 05:18:17 +00:00
Chris Lahey 99bbc38a1c Just a few quick bug fixes for the document index. 1998-07-08 10:29:09 +00:00
Chris Lahey 3f81a90182 Added a document index. 1998-07-08 09:04:33 +00:00
Lauri Alanko ef3e162eae start collecting some core stuff to libgimpim.a
Started separating crud out of drawables.

	Isolated the id system of images entirely within pdb. Even the
	window titles and menus use pointers instead of ids. Should at
	least remind people that this is a developers' version. :)
1998-06-30 15:31:32 +00:00
Lauri Alanko faeaa7cc23 Removed most of the image id system. They're still used with pdb.
At quick glance, nothing seems to be broken, but if things weird
	out, blame me.

	Now just the same for layers, channels and displays...
1998-06-29 00:24:44 +00:00
Manish Singh db8b85fdae added a hex triplet to the color selector. It updates on focus_leave for
* app/color_select.[ch]: added a hex triplet to the color selector. It
updates on focus_leave for now, so I bet there are some interface nits...

* app/fileops.c: add an #include to quell a warning

-Yosh
1998-06-09 00:25:28 +00:00
Manish Singh d4dc65c363 README make info a bit more current
* README
* INSTALL: make info a bit more current

* gimptool.in: update usage message

* gtkrc.forest2: sample gtkrc file with cool stuff from tigert

* gimp.1
* gimptool.1: updated/rewrote some

* app/fileops.c: removed the "might have tried to save an RGB image with an
indexed plugin" since g_message gives nice user feedback now

* app/interface.c: fix the mem leak properly

-Yosh
1998-05-31 09:05:38 +00:00
Manish Singh 6ddbb705a3 more g_message changes
* more g_message changes

* CEL plugin update

* INSTALL: info on why plugins don't get built

-Yosh
1998-05-30 07:32:37 +00:00
Manish Singh 8e3b756cd4 made url autodetection work again
-Yosh
1998-05-16 06:37:14 +00:00
EDT 1998 Matthew Wilson af65463029 destroy the Overwrite dialog's window before running the save. --Matt
Wed May 13 23:58:20 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/fileops.c (file_overwrite_yes_callback): destroy the
	Overwrite dialog's window before running the save.
--Matt
1998-05-14 04:26:28 +00:00
Matt Wilson ea74671df0 try six of commit 1998-05-06 22:20:43 +00:00
Manish Singh 8785eaaedc define and export version number parts. Check for gtk 1.0.1
* configure.in: define and export version number parts. Check for gtk 1.0.1

* gimptool.in: do some arg check for --build

* app/fileops.c: handle file overwrite dialog too

-Yosh
1998-05-04 11:16:19 +00:00
EDT 1998 Matthew Wilson 7e6f58e0b3 make fileselectors insensitive during loading and saving --Matt
Sun May  3 22:10:05 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/fileops.c: make fileselectors insensitive during
	loading and saving
--Matt
1998-05-04 03:21:54 +00:00
Manish Singh 8137f724ef Added sharpen to stable dist
* Added sharpen to stable dist

* updated sgi and despeckle plugins

* plug-ins/xd/xd.c: works with xdelta 0.18. The use of xdelta versions prior
to this is not-supported.

* plug-in/gfig/gfig.c: spelling corrections :)

* app/fileops.c: applied gimp-gord-980420-0, fixes stale save procs in the
file dialog

* app/text_tool.c: applied gimp-egger-980420-0, text tool optimization

-Yosh
1998-04-24 02:18:52 +00:00
Manish Singh 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +00:00
Manish Singh bd6b3ae4b9 app/brush_select.c get rid of unused variable warnings
* app/brush_select.c
* app/iscissors.c: get rid of unused variable warnings

* app/fileops.c: refresh the filesel better

* app/plug_in.c: make sure everything gets initialized to something in the
plug-in struct

-Yosh
1998-03-31 06:08:08 +00:00
Manish Singh 011f2c333a refresh the open/save as dialogs upon open
* app/fileops.c: refresh the open/save as dialogs upon open

* applied gimp-quinet-980323-0, fixing more M_PI madness

* applied gimp-quinet-980323-1 which fixes redundant inline checks

* plug-ins/gfig/gfig.c: changed stipple to type unsigned char to quell warnings

-Yosh
1998-03-25 04:34:43 +00:00
Adrian Likins 0e7f4859c8 fix from matt wilson to check for the "save image with no layers bug"
-adrian
1998-03-22 23:52:03 +00:00
Adrian Likins 9132cbb666 appied most of gimp-hpux-980316-0.patch from ???? Mostly added static's
* blend.c brightness_contrast.c brush_select.c brushes.c
          bucket_fill.c by_color_select.c channels_dialog.c
          color_balance.c convolve.c crop.c curves.c eraser.c fileops.c
          frac.c gradient.c histogram_tool.c hue_saturation.c
          image_render.c indexed_palette.c layers_dialog.c levels.c
          move.c paintbrush.c pattern_select.c pencil.c
          perspective_tool.c posterize.c rect_select.c scale_tool.c
          threshold.c tips_dialog.c:
                 appied most of gimp-hpux-980316-0.patch
        from ???? Mostly added static's here and there
         and casting stuff.

        * app/indexed_palette.c: made dialog non-resizeable

-adrian
1998-03-18 22:35:31 +00:00
CST 1998 Francisco Bustamante f8e540891e fileops.c Added info to the file save dialog
Sun Mar 15 22:50:44 CST 1998   Francisco Bustamante <pancho@nuclecu.unam.mx>

    * fileops.c   Added info to the file save dialog
1998-03-16 04:49:46 +00:00
CST 1998 Larry Ewing 6ca0d72462 fixed file Save As cancel callback to use gtk_signal_connect_object.
Sun Mar 15 14:50:21 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c (file_save_as_callback): fixed file Save As
	cancel callback to use gtk_signal_connect_object.
1998-03-15 20:52:24 +00:00
Tim Janik 81432a0543 also destroy the main dialog if the "Cancel" button is clicked.
Sun Mar 15 06:15:37 1998  Tim Janik  <timj@gimp.org>

        * plug-ins/exchange/exchange.c (doDialog): also destroy the main dialog
                if the "Cancel" button is clicked.

                        * plug-ins/flame/flame.c: use gtk_quit_add_destroy instead of
                                gtk_quit_add (,gtk_widget_destroy,), i should have really known
                                        better since i wrote gtk_quit_add_destroy() exclusively for the gimp ;)
                                                * app/tips_dialog.c (tips_dialog_create): likewise.
                                                        * app/indexed_palette.c (indexed_palette_create): likewise.
                                                                * app/fileops.c (file_open_callback): likewise.
                                                                        * app/fileops.c (file_save_as_callback): likewise.

                                                                        Sun Mar 15 03:54:58 1998  Tim Janik  <timj@gimp.org>

                                                                                * plug-ins/AlienMap/AlienMap.c: show/hide about dialog, don't affect
                                                                                        the main dialog.
1998-03-15 05:41:01 +00:00
Manish Singh 9610c8c901 new, improved, still buggy iscissors! correctly hide the file selector a
* app/iscissors.c: new, improved, still buggy iscissors!
* app/fileops.c: correctly hide the file selector
* app/transform_core.c: a better fix for the display artifacts
* added aa plugin back in

-Yosh
1998-03-15 02:46:15 +00:00
Tim Janik e227edb040 proper destruct at the end of gtk_main(). (layer_widget_delete):
Fri Mar 13 12:53:22 1998  Tim Janik  <timj@gimp.org>


        * app/layers_dialog.c: proper destruct at the end of gtk_main().
        (layer_widget_delete): unreference the layer widget's list item.
        (layers_dialog_free): instead of destroying the menu, sink it since
        it is still floating because we didn't attach it to some other widget.
        (layers_dialog_free): sink the preview, destroy doesn't work since it's
        still floating. wonder what the preview is created for if it is never
        used?.

        * app/channels_dialog.c (channel_widget_delete): unreference the channel
        widget's list item.
        * app/channels_dialog.c (channels_dialog_free): sink the menu.
        * app/channels_dialog.c (channels_dialog_free): sink the preview.

        * app/indexed_palette.c (indexed_palette_create): update the image list
        even on initial creation. fixed the option menu warning.

        * plug-ins/script-fu/script-fu-console.c (script_fu_browse_callback):
        properly destroy the browser when gtk_main() quits.

        * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): pass a widget
        pointer back to our caller, for enabling proper destruction.

        * plug-ins/script-fu/script-fu-console.c (script_fu_console_interface):
        only destroy the dialog on exit if it is still existing.
1998-03-13 17:46:40 +00:00
Tim Janik 2b52f8a864 fixed a lot of the destroy handlers and delete_event handlers, still
not everything perfect, though.
-timj
1998-03-12 22:01:43 +00:00
Manish Singh f6daf6f769 fileops doesn't need to hide the help button, since it no longer exists.
-Yosh
1998-03-11 10:52:54 +00:00
Sven Neumann d1d77d301a hide the help buttons since we have no help (yet)
* app/fileops.c: hide the help buttons since we have no
        help (yet)
1998-02-17 20:29:32 +00:00