Commit Graph

2276 Commits

Author SHA1 Message Date
Manish Singh 4c7784d736 initialize progress_gdisp_ID field in plug_in_new so things don't crash
* app/plug_in.c: initialize progress_gdisp_ID field in plug_in_new so
things don't crash

* app/menus.c: use proper keycodes (?) for zoom accelerator defaults

* plug-ins/apply_lens/apply_lens.c: fixed a warning

-Yosh
1998-06-15 19:48:57 +00:00
Sven Neumann fe5a060988 *** empty log message *** 1998-06-15 12:44:51 +00:00
CDT 1998 Shawn T. Amundson c943e5e1c8 Fixed progress code to account for when a plugin gets two progress inits
Sun Jun 14 23:41:17 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/plug_in.c: Fixed progress code to account for when
        a plugin gets two progress inits

        * app/interface.c: Fixed table allocation sickness.  Now use
        two tables, and a vbox instead of one table so things don't
        get expanded when they shouldn't.  This (table/table_inner)
        should be merged back to 1.0 tree.  The other resize bug is a
        gtkstatusbar bug.
1998-06-15 04:46:32 +00:00
CDT 1998 Shawn T. Amundson 127e98b5f7 app/gdisplay.c app/gdisplay.h app/interface.c app/plug_in.c app/plug_in.h
Sun Jun 14 21:16:42 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/gdisplay.c
        * app/gdisplay.h
        * app/interface.c
        * app/plug_in.c
        * app/plug_in.h
        * libgimp/gimp.c: added statusbar and progressbar, which
        the plugins now use if they have a gdisp.  Unfortunately
        this introduces a resize bug I wasn't able to fix
        immediately. ;-(
1998-06-15 02:25:27 +00:00
Manish Singh 17e6fb3043 install gimp.m4 too
* Makefile.am: install gimp.m4 too

* libgimp/gimpprotocol.[ch]
* libgimp/gimp.c
* app/plug_in.[ch]
* app/procedural_db.c: exported the gdisplay ID to the plugins, so they can
be smart about hooking on to status bars in the appropriate display shell

* libgimp/Makefile.am
* libgimp/gimp.c: make the plugins aware of $gimpdir for gtkrc parsing

-Yosh
1998-06-14 04:33:27 +00:00
EDT 1998 Adrian Likins 4adee211e6 */app/file_new_dialog.c: removed unsightly warnings, replace a 8 with a /
Sat Jun 13 16:52:34 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: removed unsightly warnings,
        replace a 8 with a / so it will work

-adrian
1998-06-13 22:05:22 +00:00
EDT 1998 Adrian Likins f41ab6bead */app/file_new_dialog.c: more file new tweaks, now uses spinbuttons. I'm
Sat Jun 13 15:46:55 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: more file new tweaks,
        now uses spinbuttons. I'm still not sure this change is
        for the better, let me know.

-adrian
1998-06-13 20:57:23 +00:00
EDT 1998 Adrian Likins e32944e870 *app/file_new_dialog.c app/file_new_dialog.h: app/gloal_edit.c: added
Fri Jun 12 14:17:54 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/file_new_dialog.c
        app/file_new_dialog.h:
        app/gloal_edit.c:  added behaviour so that the
        new file size will default to the current cut buffer
        if its "fresh"

-adrian
1998-06-12 19:43:55 +00:00
Owen Taylor 9e2b6b31ac Create/resize the pixmap on every expose CONFIGURE event, not just on the
Thu Jun 11 00:34:51 1998  Owen Taylor  <otaylor@gtk.org>

	* app/color_area.c (color_area_events): Create/resize
	the pixmap on every expose CONFIGURE event, not just
	on the first expose event.

Thu Jun 11 00:02:15 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_toolbox): Create the color
	area before showing the window, so that the window gets
	created at the right size. [ This doesn't actually fix
	much, but it is better to do that way ]
1998-06-11 04:36:22 +00:00
EDT 1998 Adrian Likins 74913fd591 *app/file_new_dialog.c: more fiddling with file_new. the resoution unit
Tue Jun  9 16:08:20 EDT 1998 Adrian Likins <adrain@gimp.org>

        *app/file_new_dialog.c: more fiddling with file_new.
        the resoution unit optionmenu should work now. Just
        need to get the optionmenus remembering history.

-adrian
1998-06-09 21:21:23 +00:00
Manish Singh 838e68b9eb use @gimpdir@ instead of hardcoding .gimp
* gimptool.in: use @gimpdir@ instead of hardcoding .gimp

* app/palette.c: remove unnecessary gtk_widget_destroy for menus that have
already been removed (from Shuji Narazaki)

-Yosh
1998-06-09 05:05:52 +00:00
Manish Singh 5cc38d44a2 divide paint mode stuff
-Yosh
1998-06-09 04:04:43 +00:00
Manish Singh 51b8deb9e5 unref the itemfactories instead of destroying them (from timj)
* app/menus.c: unref the itemfactories instead of destroying them (from timj)

-Yosh
1998-06-09 00:50:32 +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 474041c8d0 fix stupid <Separator>
-Yosh
1998-06-08 23:18:49 +00:00
EDT 1998 Adrian Likins 3064336f92 *app/commands.c *app/file_new_dialog.[ch] *app/prefereces_dialog.[ch]:
Mon Jun  8 16:39:19 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c
        *app/file_new_dialog.[ch]
        *app/prefereces_dialog.[ch]: split up command.c
        into three files, commands.c, file_new_dialog.c,
        and preferences.c

        *app/Makefile.am: change to incorporate the new files

        *TODO: more feature ideas
1998-06-08 21:53:45 +00:00
Chris Lahey cd800c27d2 Added some includes. 1998-06-08 08:38:16 +00:00
Adrian Likins 6b53376383 app/coammnds.c: ooops, committed a sligtly broken version
-adrian
1998-06-08 00:52:23 +00:00
EDT 1998 Adrian Likins 07e825786e *app/commands.c: more fiddling with the file_new dialog. More stuff hooked
Sun Jun  7 19:30:22 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c: more fiddling with the file_new dialog.
        More stuff hooked up and working, but still not finished.

        *TODO: filling in more wishlist stuff

-adrian
1998-06-08 00:47:35 +00:00
Tim Janik 11269e1e69 use GtkAccelLabel when creating a menuitems label seperatedly.
Sun Jun  7 11:04:38 1998  Tim Janik  <timj@gtk.org>

        * app/gradient.c (cpopup_create_menu_item_with_label): use GtkAccelLabel
        when creating a menuitems label seperatedly.

        * app/commands.h:
        * app/commands.c:
        (tips_dialog_cmd_callback):
        (filters_repeat_cmd_callback):
        (tools_select_cmd_callback): make use of the callback_action argument.

        * app/main.c (main): removed gtk_accelerator_table_set_mod_mask(),
        since gtk provides decent default values now.

        * app/layers_dialog.c:
        * app/interface.c:
        * app/indexed_palette.c:
        * app/channels_dialog.c:
        * app/buildmenu.c:
        conversions for use of GtkAccelGroup.

        * app/buildmenu.c:
        * app/gradient.c:
        installed accelerators are locked, because these code portions don't
        support accelerator saving.

        * ChangeLog:
        * ChangeLog.pre-1-0: ChangeLog split up.
1998-06-07 13:55:36 +00:00
EDT 1998 Adrian Likins c80f791dcd Reworked the file_new dialog to be a little more useful. Added entries for
Sun Jun  7 00:19:22 EDT 1998  Adrian Likins <adrian@gimp.org>

	* app/commands.c: Reworked the file_new dialog to
	be a little more useful. Added entries for a height
	and width in the unit of your choice, and a resolution.
	Not everythings hooked up yet, but its getting there.

-adrian "glad to be able to break stuff again" Likins
1998-06-07 05:30:29 +00:00
Owen Taylor 1603b17854 XInput device dialog files. Missed in last commit. 1998-06-06 04:06:56 +00:00
Owen Taylor f6a5a9383c app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
Fri Jun  5 22:37:40 1998  Owen Taylor  <otaylor@gtk.org>

	* app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
	  app/disp_callbacks.c app/gdisplay.[ch] app/gimprc.c
	  app/interface.[ch] app/menus.c app/paint_core.[ch]
	  app/paintbrush.c app/palette.c app/scroll.c
	  app/tools.[ch] app/undo.c

	- Added two new dialogs - input devices; (GtkInputDialog)
	  and DeviceStatus - which shows the tool/color for
	  each device.

	- Added device_status_update() call that gets called
	  whenever the tool/color etc. are changed.

	- Added ~/.gimp/devicerc file to store settings

	- Code to draw cursor on canvas for non XFree86 XInput
	  where device can't control cursor and extended input
	  device simultaneously.

	- Changed input handling so that we always use the pointer
	  position from the device, not from gdk_input_window_get_cursor,
	  so that motion and cursor position sync.

	- Various changes so things work with non-integer coordinates

	- Pay attention to pressure and tilt in basic tool support.

        - New paint mode PRESSURE that changes the brush based on
	  the brush pressure

	- Left in a few XInput hacks that should be removed, but I no longer
	  remember what they are.
1998-06-06 03:49:01 +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 1d95a05af0 gimp_message. libgimp also overrides g_message for all plugins. Converted
* redid the error message handling. g_message now calls message_box or prints
to console depending on whether the no_interface is set or not. gimp-message
is also exported to the PDB as a wrapper to g_message, and libgimp has a new
API: gimp_message. libgimp also overrides g_message for all plugins. Converted
lots of messages in app/* to g_message. Made script-fu a little friendlier.

* updated the regex code from grep 2.2

* said goodbye to the old script-fu logo in script-fu.h

-Yosh
1998-05-28 09:03:57 +00:00
Frank Belew (Myth) 9b4d32e37a gradient.c: changed URL written in POV files to http://www.gimp.org/ 1998-05-26 00:28:32 +00:00
Manish Singh 8e3b756cd4 made url autodetection work again
-Yosh
1998-05-16 06:37:14 +00:00
Manish Singh cff3ee1085 make repeat last and re-show plugin menu sensitive to image type
* app/plug_in.c: make repeat last and re-show plugin menu sensitive to image
type

-Yosh
1998-05-05 02:38:10 +00:00
Sven Neumann df6cae0d74 Minimalistic change to the interface, makes it's possible to set the
channel opacity to 100.0% (always stooped at 99.0% before).


--Sven
1998-05-02 22:28:50 +00:00
Manish Singh 5c25e8e5c5 app/about_dialog.c app/app_procs.c use GIMP_VERSION from config.h now
* app/about_dialog.c
* app/app_procs.c
* app/main.c: use GIMP_VERSION from config.h now

* gimptool made to ease plug-in development and installation

-Yosh
1998-05-02 21:50:29 +00:00
Matt Wilson ca341227a5 oops - broke da gimp. This fixes it again 1998-05-02 20:34:26 +00:00
EDT 1998 Matthew Wilson e0fcfc8cc1 check to be sure that the gimage still exists when editing a channel -
Sat May  2 15:20:54 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/channels_dialog.c: check to be sure that the gimage still
	exists when editing a channel - fixes bug report from Sven
--Matt
1998-05-02 19:43:20 +00:00
EDT 1998 Matthew Wilson 96b1e436b9 handle double click on our own since channels_dialog_flush nukes the
Fri May  1 23:09:33 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/channels_dialog.c: handle double click on our own since
	channels_dialog_flush nukes the widgets and we never get
	2BUTTON events
--Matt
1998-05-02 03:10:58 +00:00
Tim Janik 9a1914e355 keep the channel list uptodate on position changes. unref list items on
Fri May  1 13:22:21 1998  Tim Janik  <timj@gtk.org>

        * app/channels_dialog.c: keep the channel list uptodate
        on position changes. unref list items on destruction.

        the app/channels_dialog.c app/layers_dialog.c code for dealing
        with GtkList is a MESS, it needs to be completely reworked
        somewhen. this is *no* fun: the selection is changed so update
        the list (causing the selection to change again: the selection
        is changed so update the list (causing the selection to change
        again: the selection is changed so update the list (.... oops,
        sorry got caught in a recursive loop there ;) ))).
1998-05-01 13:18:28 +00:00
Manish Singh 0e0976de94 fix for off-by-one error in channel position from Andy Thomas
-Yosh
1998-04-30 23:56:07 +00:00
Matt Wilson c8888faf19 app/channels_dialog.c Modified event handlers to bring up the popup menu
* app/channels_dialog.c
	* app/layers_dialog.c: Modified event handlers to bring up the
	popup menu anywhere on layer/channel widget
--Matt
1998-04-30 06:09:55 +00:00
Manish Singh c731ecb150 reverted gimp-joke-980427-0 changes, they broke things
-Yosh
1998-04-29 23:53:00 +00:00
Manish Singh b3801f421b enable adjustment of the gradient list box for scrolling
-Yosh
1998-04-29 06:19:40 +00:00
Tim Janik 333356ec28 adjust the scrolled window to always show the currently focused channel
Tue Apr 28 00:16:31 1998  Tim Janik  <timj@gtk.org>

        * app/channels_dialog.c (channels_dialog_create): adjust the scrolled
                window to always show the currently focused channel item.

                        * app/layers_dialog.c (layers_dialog_create): adjust the scrolled
                                window to always show the currently focused layer item.
1998-04-27 22:26:24 +00:00
Manish Singh 0ecdced2c1 partially applied gimp-monniaux-980413-0, corrects nonfunctional interface
elements

-Yosh
1998-04-14 23:17:58 +00:00
Manish Singh b2f00c5412 handle delete_event for color selector properly
* gradient.c: handle delete_event for color selector properly

* plug-ins/webbrowser/web-browser.scm: updated link to the bugs page

-Yosh
1998-04-14 20:45:53 +00:00
Sven Neumann 0c503ae7fd Backed gradient-041398-seth-diff back out since it totally broke the
gradient editor. Seeing two simple lines like this breaking everything
makes me fear...


--Sven
1998-04-14 19:47:23 +00:00
Sven Neumann cadc2734f4 applied gimp-quinet-980414-0; adds new tips applied gimp-quinet-980414-1;
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips
        * plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1;
        defines M_PI
        * app/app_procs.c: applied gimp-quinet-980414-2; adds more
        information to the startup screen
        * app/gradient.c: applied gradient-041398-seth; fixes the
        behavior that the gradient editor would become insensitive
        forever if the color selection dialog were close
        * app/regex.c
        * plugins/script-fu/regex.c: partially applied
        gimp-jbuhler-980412-0; adds braces to nested if/else


--Sven
1998-04-14 19:24:23 +00:00
EDT 1998 Matthew Wilson eeb017e163 Fixed prefs to save stingy memory
Mon Apr 13 13:09:32 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/commands.c: Fixed prefs to save stingy memory

--Matt
1998-04-13 17:12:25 +00:00
Sven Neumann 81916ded64 More tips and nicer line wrap.
The last character of the tips (the final dot) was cut off. Fixed this.


--Sven
1998-04-13 11:05:41 +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
EDT 1998 Matthew Wilson 13b2894496 Duh. We have a message_box. Why not use it for the prefs code.
Mon Apr 13 00:41:50 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/command.c: Duh. We have a message_box.  Why not use it for
	the prefs code.

--Matt "reinvent the wheel" Wilson
1998-04-13 04:44:43 +00:00
Sven Neumann e51a86b85d Fixed a typo in the palette-dialog.
Removed the systemwide palettes directory from the palettes searchpath.
I still think we should overwork the gradients and palettes functions to
distinct between files that can be changed and those that are not writeable.
Probably for 1.1 ??


--Sven
1998-04-12 13:54:23 +00:00
Manish Singh 0ed0191962 fixed up idle handler for file open (look like testgtk idle demo)
* app/app_procs.c: fixed up idle handler for file open (look like testgtk
idle demo)

* app/colomaps.c: fixup for visual test and use of gdk_color_alloc for some
fixed colors (from Owen Taylor)

* app/errors.h
* app/errors.c
* app/main.c
* libgimp/gimp.c: redid the signal handlers so we only get a debug prompt on
SIGSEGV, SIGBUS, and SIGFPE.

* applied gimp-jbuhler-980408-0 and gimp-joke-980409-0 (warning fixups)

* applied gimp-monnaux-980409-0 for configurable plugin path for multiarch
setups

-Yosh
1998-04-11 05:07:52 +00:00
Sven Neumann 34582db809 Cosmetic change to the gradient editor. Put the frame for the preview and
controls into the hbox instead of putting the hbox into the frame.


--Sven
1998-04-10 11:07:48 +00:00
EDT 1998 Matthew Wilson b1ec1c16b5 Fixed (hopefully) the preferences code. Added a warning to restart GIMP
Fri Apr 10 00:17:23 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/commands.c: Fixed (hopefully) the preferences code.  Added
	a warning to restart GIMP for those changes that require restarts.

--Matt
1998-04-10 04:19:25 +00:00
Manish Singh 3b271c3c40 added regex.[ch] to app/ and plug-ins/script-fu/ so we REALLY have proper
* added regex.[ch] to app/ and plug-ins/script-fu/ so we REALLY have proper
regex functions on all platforms

* updated gfig plugin

-Yosh
1998-04-08 05:39:41 +00:00
Matt Wilson e43fc9027c Sun Apr 5 17:43:50 EDT 1998 Matthew Wilson <msw@gimp.org
* app/bezier_select.c: Destroy the tool when changing displays.
	* app/command.c: initialize pointers to drawables when selecting
	tools
	* app/disp_callbacks.c: initialize pointers to drawables on first
	click of a gdisplay
	* app/gimage.c: removed extra tool destruction
	* app/tools.c: make a fallback case when starting tools so that
	you'll always have an active tool.

--Matt
1998-04-05 22:49:16 +00:00
Sven Neumann 366943bed8 Reflect the fact that you can't move a non-alpha layer up or down in the
menu- and button-sensitivity.


--Sven
1998-04-04 14:19:21 +00:00
Sven Neumann caea619064 The sensitivity of the buttons in the Layers&Channels-dialog wasn't set
correctly when deleting an image. This is fixed now.


--Sven
1998-04-04 13:52:06 +00:00
Sven Neumann 4b5f5608bb Added a "Add Alpha Channel" menu-entry to the Image-menu. To be exact, I
added it twice, once under <Image>->Layers and additionally under
<Image>->Image->Alpha

Now it is possible to work on a single-layer image without opening the
Layers-dialog for adding an alpha channel.


--Sven
1998-04-03 11:58:04 +00:00
Sven Neumann 69fc983a33 Added buttons to access the menu functions in the Layers&Channels-dialog
more directly. They are connected to the menu-item-callback-functions.


--Sven
1998-04-03 10:29:25 +00:00
Sven Neumann 2ce045101f The impossibility of duplicating a non-auxillary channel is now reflected
by the menu-sensitivity.


--Sven
1998-04-02 18:16:57 +00:00
Sven Neumann abdc50068d Applied gimp-simon-980331-0. Cosmetic change to the Layers&Channels-dialog.
I will hopefully finish my changes to the dialog tonight and will upload a
new version of my patch. Could you (the core developers) please make up your
mind whether to include it in 1.0 or not...

The Blend-Tool dialog now changes the repeat_mode_menu to insensitive when
the Gradient-Type is one of the Shapeburst-types.


--Sven
1998-04-01 18:48:34 +00:00
EST 1998 Matthew Wilson 7dcd8e85ab app/gimage.c app/tools.c Added a field in the Tools struct, preserve.
Tue Mar 31 02:21:15 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/gimage.c
	* app/tools.c
	* app/tools.h: Added a field in the Tools struct, preserve.
	During gimage_dirty, if this flag is not set the tool will be
	reset.  This is good for tools that keep a copy of the image
	in cache for local manipulation like transform_core.

	* app/bezier_select.c
	* app/blend.c
	* app/brightness_contrast.c
	* app/bucket_fill.c
	* app/color_balance.c
	* app/color_picker.c
	* app/crop.c
	* app/curves.c
	* app/ellipse_select.c
	* app/free_select.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/levels.c
	* app/move.c
	* app/paint_core.c
	* app/posterize.c
	* app/rect_select.c
	* app/text_tool.c
	* app/transform_core.c: Set the preserve flag to the correct
	values in the new functions and wrapped calls to functions that
	dirty the gimage to prevent tool restarts.

	* app/disp_callbacks.c
	* app/menus.c: Removed Nether's tool patch.

--phew.  Matt
1998-03-31 07:23:50 +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
EST 1998 Matthew Wilson 6daf14262c Always update the drawable when converting a floating selection to a layer
Fri Mar 27 13:41:55 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/floating_sel.c: Always update the drawable when converting
	a floating selection to a layer

--Matt
1998-03-27 21:21:57 +00:00
Adrian Likins 380deeb2d8 Fixed up --no-data so that the various *_init() routines always get
* app/app_procs.c app/brush_select.c app/brushes.c
        app/brushes.h app/convert.c app/gradient.c app/gradient.h
        app/palette.c app/palette.h app/pattern_select.c app/patterns.c
        app/patterns.h:   Fixed up --no-data so that the various *_init()
        routines always get called, and so that when in interactive mode
        the data can be loaded by the user even when started with --no-data.
        Fixes the blend bug too...

	yeah, sven scooped me... but i think this is still a needed patch...

-adrian
1998-03-26 18:24:42 +00:00
Sven Neumann b1a30ca8a0 Gimp crashed when the Blend Tool was used with a gradient and gimp was
started with the --no-data option. This is fixed now. grad_get_color_at()
now returns a totally transparent black when no gradient is present.

Additionally the gradient editor now behaves better when the window is
resized. The resize code is still an ugly hack though.


--Sven
1998-03-26 17:55:54 +00:00
EST 1998 Matthew Wilson 64d26eddbe now prints messages when starting up --no-splash
Wed Mar 25 16:22:00 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/app_procs.c: now prints messages when starting up --no-splash

	* app/gimprc.c: now prints messages when starting up --no-splash

	* app/plug-in.c: does not print messages when starting up with
	splash screen
1998-03-25 21:36:59 +00:00
Adrian Likins 1bfe515fe1 gimp-joke-980321
* app/iscissors.c, app/tips_dialog.c, app/gradient.c,
        libgimp/gimp.c, plug-ins/AlienMap/AlienMap.c,
        plug-ins/bmp/bmp.c, plug-ins/fits/fitsrw.h,
        plug-ins/fits/fitsrw.c, plug-ins/flarefx/flarefx.c,
        plug-ins/gfig/gfig.c, plug-ins/gfli/gfli.c,
        plug-ins/gicon/gicon.c, plug-ins/gqbist/gqbist.c,
        plug-ins/gtm/gtm.c, plug-ins/hot/hot.c,
        plug-ins/ifscompose/ifscompose.c,
        plug-ins/ifscompose/ifscompose_utils.c
        plug-ins/max_rgb/max_rgb.c, plug-ins/nlfilt/nlfilt.c,
        plug-ins/pat/pat.c, plug-ins/pcx/pcx.c, plug-ins/rotate/rotate.c,
        plug-ins/script-fu/script-fu-server.c, plug-ins/snoise/snoise.c,
        plug-ins/threshold_alpha/threshold_alpha.c,
        plug-ins/zealouscrop/zealouscrop.c :gimp-joke-980321

        plug-ins/CML_explorer, plug-ins/autocrop,
        plug-ins/align_layers, plug-ins/blinds,
        plug-ins/bmp, plug-ins/megawidget: gimp-joke-980322

        Applied gimp-joke-980322-0.patch and gimp-joke-980321-0.patch
        from Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp>. Mostly
        portability for DEC osf1's cc. Lots of MAIN();'s, trailing
        commas in enums, and guchar/gchar madness.

	Gimp now sends mail, cleans vinyl records,
	removes stubborn stains, julien fries, and more!

-adrian
1998-03-22 20:44:39 +00:00
Sven Neumann 5ec602da8a Small changes to reflect the fact that a gfig directory is created in
the users gimp-directory.


--Sven
1998-03-21 15:30:38 +00:00
Sven Neumann e5ab9ffece Removed auto-save from preferences and marked it as not yet implemented
in gimprc. The code is still there for later reuse.

Changed the WMCLASS on the image close confirmation dialog to 'really_close'.


--Sven
1998-03-21 14:54:37 +00:00
Adrian Likins 947490dd2e fixed some brokenness in palette refreshing..ie, you dont have to restart
gimp to use new palettes now...

-adrian
1998-03-20 22:19:45 +00:00
CST 1998 Larry Ewing eff6ee8b64 fixed out of bounds reference in pallete_create. The dialogs are a mess.
Thu Mar 19 22:05:56 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/palette.c: fixed out of bounds reference in pallete_create.
	The dialogs are a mess.
1998-03-20 04:06:13 +00:00
Manish Singh b07e146676 Applied gimp-jbuhler-980315-0
-Yosh
1998-03-19 09:10:25 +00:00
Manish Singh 7cb1950fd7 M_PI madness...
-Yosh
1998-03-18 23:40:52 +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
Sven Neumann f5395e48b1 Fixed a problem in the gradient editor that made the gimp crash, when started
with the no-data option and no gradients are load.


--Sven
1998-03-17 23:16:40 +00:00
CST 1998 Larry Ewing 77ddb24fa4 added gimage_ID to the dialog struct to check if the gimage was still
Mon Mar 16 21:52:46 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/convert.c (indexed_ok_callback): added gimage_ID to the
	dialog struct to check if the gimage was still around.

	* app/commands.c: fixed border/grow/shrink to check for valid
	gimage.  (Once again object if you don't like this method).
1998-03-17 03:53:53 +00:00
CST 1998 Larry Ewing 723ea64bb4 changed select_feather_cmd_callback to pass the gimage->ID rather than the
Mon Mar 16 17:05:54 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/commands.c: changed select_feather_cmd_callback to pass the
	gimage->ID rather than the gimage to prevent a fatal error.  If
	you have objections to this speak now.
1998-03-16 23:16:51 +00:00
EST 1998 Adrian Likins d728bead19 Changed MAIN(); to MAIN()
Mon Mar 16 17:50:56 EST 1998 Adrian Likins <adrian@gimp.org>

        * plugins/illusion/illusion.c:
        * plugins/papertile/papertile.c:
        * plugins/fractaltrace/fractaltrace.c:
        * plugins/flame/flame.c: Changed MAIN(); to MAIN()

        *gimprc_user: added a commented out (install-colormap)
        option

        *app/install.c: comsetic update to show info about .gimp/scripts

        *plugins/sparkle/sparckle.c:
        *plugins/despeckle/despeckle.c: made a local MIN/MAX instead
        of redefing the normal one (causes problems on some compilers)

-adrian
1998-03-16 23:02:31 +00:00
Lauri Alanko 7ad9fec9b9 Fixed the tool options disappearing at undo.
Fixed the tool options disappearing at undo.
1998-03-16 10:22:53 +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 8497cf6f1a pass layer_ID instead of layer_widget to rename funtion to prevent
Sun Mar 15 02:06:18 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/layers_dialog.c: pass layer_ID instead of layer_widget to
	rename funtion to prevent dereferencing freed mem. Fixes layer
	rename bug.
1998-03-15 08:15:10 +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
Elliot Lee 110c62ad99 Put "www.gimp.org" label in the about box - just a peeve of mine to always include info on where to get a program... :) 1998-03-13 19:41:03 +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 89ec6691ee fixed memory overrun error
* app/convert.c: fixed memory overrun error

* app/gdisplay.c
* app/menus.c: reapplied the tools patch from Nether, looks
like it doesn't trip up anymore. Added some sanity checks
anyway

* app/disp_callbacks.c
* app/transform_core.c: plugged some harmless build warnings

-Yosh
1998-03-11 08:58:42 +00:00
Manish Singh b0787f405f fix for (install-colormap) and splash screen using gtk_preview_reset()
* app/app_procs.c: fix for (install-colormap) and splash screen
        using gtk_preview_reset()

        * configure.in: on some platforms libXmu doesn't require libSM and
        libICE. configure should know this now.

        * app/gradient.c: corrected WM_CLASS typo

        * plug-ins/gfli/gfli.c: fix for load handler magic

        * plug-ins/gtm/gtm.c: don't use naughty gccisms.

        * plug-ins/gqbist
        * plug-ins/maze: updated from registry

-Yosh
1998-03-09 01:45:26 +00:00
Manish Singh 7bf752c87b Cleanups for 0.99.19 release
-Yosh
1998-03-02 02:47:35 +00:00
Sven Neumann a19b750c45 Implemented gimp_palette_set_default_colors and
gimp_palette_swap_colors as pdb-calls and bound menu-entries and
keybindings to them.
(gimp-sven-980216-0.patch)

--Sven
1998-03-01 19:38:25 +00:00
Manish Singh 2afd3ffb75 From the Changelog:
* Makefile.am: don't do docs generation by default

        * configure.in: -lXt for webbrowser plugin

        * libgimp/gimp.c
        * libgimp/gimpprotocol.c
        * libgimp/gimptile.c
        * libgimp/gimpwire.c
        * app/plug_in.c: applied memory leak patch from Mattias Gronlund

        * app/eraser.c
        * app/eraser.h
        * app/internal_procs.c
        * app/paintbrush.c
        * app/paintbrush.h: incremental modes for eraser and paintbrush,
        as well as a "hard eraser"

        * plug-ins/ifscompose/ifscompose.c: pixmap visual fixups

-Yosh
1998-03-01 01:18:45 +00:00
Sven Neumann 1bc5055b12 Use a correct gc in (about_dialog_logo_load) the way quartic showed
it in splash_logo_load.

--Sven
1998-02-27 22:09:01 +00:00
Manish Singh 2a4eeffc80 Better autoconfing for Xmu.
Added HACKING and autogen.sh files

-Yosh
1998-02-26 11:55:07 +00:00
Manish Singh e88b34cc19 configure detects gtk 0.99.4 or higher
completed plugin split

-Yosh
1998-02-24 12:16:39 +00:00
CST 1998 Francisco Bustamante e9638742b2 Shrinking no longer allowed to avoid SIGSEGV
Sun Feb 22 22:32:56 CST 1998  Francisco Bustamante <pancho@nuclecu.unam.mx>

	* pattern_select.c (pattern_select_new): Shrinking no longer
	allowed to avoid SIGSEGV
1998-02-23 04:24:55 +00:00
CST 1998 Francisco Bustamante 074c967274 Changed call to gtk_window_set_policy to avoid shrinking of the dialog as
Sun Feb 22 22:07:10 CST 1998  Francisco Bustamante <pancho@nuclecu.unam.mx>

	* brush_select.c (brush_select_new): Changed call to gtk_window_set_policy
	  to avoid shrinking of the dialog as it caused a SIGSEGV when shrinked to
	  a very small size.
1998-02-23 04:05:12 +00:00
Manish Singh ac30648449 fixes for the g_string -> g_str change in glib
updated gfig

-Yosh
1998-02-13 10:36:15 +00:00
scott 731f5219a3 More refcounting. --sg
More refcounting.
--sg
1998-02-05 00:07:31 +00:00
scott 32a8be45e4 More stuff for gtk refcounting stuff.
--sg
1998-02-03 22:56:55 +00:00
scott 6eee5bd482 Fixed for new GTK refcounting nonsense. (Let's hope they're done
breaking the Gimp...)
1998-02-03 00:39:06 +00:00
Federico Mena fe69e5ceb1 Applied patch from Wolfgang Hofer <hof@ws6310.gud.siemens.at> to let the
Fri Jan 30 13:47:57 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* app/gradient.c: Applied patch from Wolfgang Hofer
	<hof@ws6310.gud.siemens.at> to let the user load the segment
	endpoint color from the current foreground color.  It also makes
	the preview un-resizable, which is not a complete fix for the
	preview resizing bug.
1998-01-31 01:49:25 +00:00
Manish Singh 89b600d2bc removed all usage of linked.[ch] and switched to GSLists
-Yosh
1998-01-29 08:03:27 +00:00
Manish Singh 626883c2e1 50 is ok for marching ants speed too. :)
-Yosh
1998-01-27 23:54:41 +00:00
Manish Singh 3dab9dcc86 More changes for .18. Please see ChangeLog
-Yosh
1998-01-26 03:14:09 +00:00
Adrian Likins c62f70ab13 added a call to gtk_window_set_wmclass to most of the gimp
dialogs

-adrian
1998-01-25 22:13:00 +00:00
Manish Singh e51e490243 Applied Sven's menu patch
-Yosh
1998-01-25 02:18:54 +00:00
Manish Singh 2ce0e15023 Misc changes for .18
* app/indexed_palette.c: fix for wrong color selected in indexed
        palette dialog

        * app/xcf.c: don't crash on bad input (0 byte files)

        * app/plug_in.h
        * app/plug_in.c: fixes Gimp's most obscure bug. Failed plugin
        queries are handle correctly now

        * app/commands.c: added marching ants speed to preferences

        * plug-ins/tiff/tiff.c: correction for inversion for MINISWHITE
        images without alpha

        * plug-ins/pcx/pcx.c: updated to new version

        * app/paint_funcs.h: changed OPAQUE and TRANSPARENT to
        OPAQUE_OPACITY and TRANSPARENT_OPACITY to avoid possible
        conflicts. All affects .c files changed.

-Yosh
1998-01-25 01:24:46 +00:00
scott c267c55bbe Rewrite to make drawables (layers, channels, layer masks) into GtkObjects.
--sg
1998-01-22 07:02:57 +00:00
Elliot Lee 03752a9264 misc minor performance improvements 1998-01-20 04:51:56 +00:00
Elliot Lee 401e04f469 Nobody said anything, so I'm committing these initstatus changes 1998-01-20 00:12:21 +00:00
Manish Singh 0b8bdb4dd7 configure really checks for gtk >= 0.99.1 this time
minor fix to the gbr plugin for proper save types
make the install dialog fit nice in 640x480

-Yosh
1998-01-06 22:09:30 +00:00
Shawn Amundson 81eb53df7b Changes from Owen Taylor which allow GIMP to compile with
new GTK changes.  ChangeLog is more specific.

-Shawn
1997-12-18 06:30:11 +00:00
People doing a 16 bpc version of gimp 92f0e489b6 fix memory leak 1997-12-18 04:19:11 +00:00
Manish Singh 0c1112c2ea Backed out of the tools patch, cause problems with rmb script-fu
-Yosh
1997-12-15 00:49:42 +00:00
Manish Singh 1d11e145a3 proper PDB support for indexed conversion
dithering to custom palettes

-Yosh
1997-12-14 11:36:53 +00:00
Manish Singh da34538894 Added tooltips preferences support
update mkbrush.scm

-Yosh
1997-12-14 07:32:54 +00:00
Manish Singh d75b2337f2 Added fractaltrace plugin
Fixed about dialog problems (seems to work now)
Added gimprc option for enabling/disabling tooltips
1997-12-11 00:57:08 +00:00
Manish Singh 31bceb1daf Added .cvsignores for the colorify, illusion, glasstile, and papertile
Added Nether's tools patch
Clarified the units in the preference tile cache size field (it's in bytes,
NOT KBs)
1997-12-09 23:22:24 +00:00
Raph Levien dd8d523480 Various patches to fix the preferences dialog, both for stability and
for more complete functionality.

I actually posted this patch Nov 4, 1997, but it seemed to get lost in
the CVS confusion, so here it is again. The original patch applied
cleanly, so it should be ok.
1997-12-09 22:09:10 +00:00
Manish Singh 9109dbafd8 Added Nathan Summers and Seth Burgess to the about dialog
Updared CML_explorer plugin
1997-12-09 05:54:04 +00:00
Adrian Likins e2092a1ffa updated iwarp to latest verison
added a few names to the about dialog
      applied sven's patch for 32-bit color on gck
      fixed an outdated tip in gimp_tip.txt
1997-12-08 16:50:54 +00:00
Manish Singh 2d442d4842 Added Nathan Summers fix for the about dialog (and put my name in the
credits :) )
Added Michael Natterer's escaped menu accelerator fix
Added Andy Thomas's active_tool NULL check for undo
1997-12-08 10:36:19 +00:00
Manish Singh 7d148f0288 Added Sven's patch for the scale and resize dialogs
Added Raph's patch for the transperancy blur problem
1997-12-08 01:13:10 +00:00
Adrian Likins 5c4442bb14 added a check in channels_dialog.c to mirror the one in layers_dialog.c
made wilber swap sides so the perspective is better.

    added the new wilber from Tigert
1997-12-08 00:24:32 +00:00
Adrian Likins d1b0f22db8 fixed "aspect-ratio" bug, and a workaround for the palette dialog rezing
weirdness
1997-12-06 21:53:02 +00:00
Gnome CVS User 05c73c4146 Several fixes, most notably a bug in undo when drawing outside an image,
and the "out of paint bug".
1997-11-26 19:30:17 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00