Commit Graph

44 Commits

Author SHA1 Message Date
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
Manish Singh 0963a109c3 applied gimp-joke-981006-0, portability patch
-Yosh
1998-10-25 05:55:36 +00:00
Manish Singh b23f1a1d2f applied gimp-austin-981007-0, use gtkfontsel for the text tool
* app/text_tool.[ch]: applied gimp-austin-981007-0, use gtkfontsel for the
text tool

* app/about_dialog.c: some nice people ;)

-Yosh
1998-10-07 08:59:11 +00:00
BST 1998 Adam D. Moss c3d66ee292 Resizing image canvases should be less horrible to look at. I've removed
Sat Oct  3 21:01:34 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/channel.c app/channel_ops.c app/disp_callbacks.c
	app/floating_sel.c app/gdisplay.c app/gdisplay.h
	app/gdisplay_ops.c app/gimpimage.c app/image_map.c
	app/interface.c app/layers_dialog.c app/plug_in.c app/undo.c
	app/xcf.c:

	Resizing image canvases should be less horrible to look at.
	I've removed the implicit clear of the whole area when a
	window is resized by the user, and clear the exposed area around
	the image manually when appropriate.

	Dialogs which want synchronous updates for previews and
	such use displays_update_now().

	Removed some old debugging nonsense which I don't want any more.
1998-10-03 20:14:00 +00:00
Sven Neumann 6805b3be8f The statusbar can now be switched off just like the rulers.
--Sven
1998-08-05 12:38:11 +00:00
CDT 1998 Shawn T. Amundson 78d8af84e1 usize statusbar to 1 width
Thu Jul 23 21:57:25 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: usize statusbar to 1 width
1998-07-24 03:20:54 +00:00
EDT 1998 Matthew Wilson bdfc4efe14 app/app_procs.c Changed progressbar updaters to work with new API. THIS
Mon Jul 20 11:07:32 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/app_procs.c
	* app/interface.c: Changed progressbar updaters to work with
	new API.  THIS WILL NOT WORK WITH OLDER GTK+.  SOMEONE NEEDS
	TO MAKE AN ENTRY IN gtkfeatures.h SO WE CAN #ifdef THIS.
	(I suppose I should... but what can I say - I'm lazy)
--Matt
1998-07-20 15:07:13 +00:00
CDT 1998 Shawn T. Amundson bb7a8b4802 Cursor location in statusbar Fixed resize of window progressbar is smaller
Wed Jul 15 22:06:32 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * Cursor location in statusbar
	* Fixed resize of window
	* progressbar is smaller now
1998-07-16 03:23:14 +00:00
jaycox a528c42a2e ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_edit.c app/brush_select.c
	app/gimpbrushgenerated.c app/gimpbrushgenerated.h
 	app/interface.c
     Added freeze/thaw to gimpbrushgenerated.
     added a close button and a preview to the brush_edit dialog.
 ----------------------------------------------------------------------
1998-07-15 12:15:24 +00:00
Adam D. Moss 0d268dc3b1 app/gdisplay.h app/interface.c Added the ability to cancel a running
* app/gdisplay.h
        * app/interface.c
        * app/plug_in.c: Added the ability to cancel a running
        plugin when the progress-bar has been sucked into the image
        window.

        * plug-ins/psd/psd.c: Turned debugging on again, since we
        are in a development cycle...
1998-07-12 15:18:07 +00:00
Sven Neumann 329e2072d8 More session-managment functionality. Opened dialogs are saved and eventually
reopened. Try to use the --restore-session command-line option.


--Sven
1998-07-11 22:23:23 +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
Manish Singh 83e02a396f minor unused variable warning cleanup
* app/interface.c: minor unused variable warning cleanup

* plug-ins/bumpmap/bumpmap.c: another warning cleanup

* plug-ins/flame/flame.c: time(NULL) instead of time(0)

* plug-ins/gpc/Makefile.am
* plug-ins/megawidget/Makefile.am: install in $libdir instead of
$gimpplugindir since they *are* libs. Some archs try to exec them, and it
barfs

-Yosh
1998-06-28 06:33:38 +00:00
Sven Neumann d16b3aba04 Rough outline of session-managment. A new config
file 'sessionrc' is written and the position of some windows is
remembered. Still has some problems (offset by wm decorations).
Can be switched off in the preferences.
1998-06-22 17:30:40 +00:00
CDT 1998 Larry Ewing db79dc64df app/bezier_select.c app/commands.[ch] app/devices.c app/disp_callbacks.c
Sun Jun 21 15:16:46 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/bezier_select.c
	* app/commands.[ch]
	* app/devices.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/menus.c
	* app/pixmaps.h
	* app/tools.[ch]
	* app/undo.c: Lots of changes to the way tools are intialized and
	accessed.  All information about a tool type is now contained in a
	single ToolInfo array.  There are still some small issues to
	adress about tool groups and we need some way of getting menu
	ordering/grouping to work better (plug-ins need this too).  There
	is still much to be done, but this is the next in cleaning up the
	tools.

	* app/posterize.[ch]
	* app/threshold.[ch]
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/levels.[ch]
	* app/brightness_contrast.[ch]
	* app/by_color_select.[ch]
	* app/color_balance.[ch]
	* app/curves.[ch]: Changed the *_initalize function prototypes from
	gpointer to GDisplay, to allow better type chacking and provide a
	uniform interface for all the dialog tools.
1998-06-21 20:17:21 +00:00
Owen Taylor 95118f347f Removed calls to gtk_container_[dis/en]able_resize()
Thu Jun 18 21:20:12 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c app/tools.c: Removed calls to
	  gtk_container_[dis/en]able_resize()

Thu Jun 18 21:03:33 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_display_shell): Set the resize
	mode on the statusbar to prevent the window from being
	unnecessarily auto-shrunk.

	* plug-ins/gfig/gfig.c (my_gtk_label_set): Removed unused
	function using deprecated gtk_container_need_resize()

Thu Jun 18 16:31:16 1998  Owen Taylor  <otaylor@gtk.org>

	* app/blob.c: Try to prevent overflows when drawing ellipses)
	(fixes the ink => line bug for big sizes)
1998-06-19 01:39:02 +00:00
Sven Neumann 8f8cef6219 Started to implement some sort of session-managment. Right now it only saves
a few window-positions (more to come). I plan to move the saving out of
gimprc into a seperate file and add more stuff like last openend image etc.
Any help is appreciated...


--Sven
1998-06-17 00:18:46 +00:00
CDT 1998 Larry Ewing 8e6f42e4cf added menu entry and changed loop bounds to get the new ink tool
Tue Jun 16 15:06:19 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/interface.c:
	* app/menus.c: added menu entry and changed loop bounds to get the
	new ink tool functioning properly

	* app/tools.[ch]: added new and free funcs to the ToolInfo struct,
	and began small cleanup of tools
1998-06-16 20:09:19 +00:00
CDT 1998 Shawn T. Amundson 0e28e58749 Table spacings
Sun Jun 15 00:41:05 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: Table spacings
1998-06-15 05:43:46 +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
Owen Taylor b0e08ede22 Added new files for handling scan-converted convex polygons. (From gsumi)
Sun Jun 14 18:37:06 1998  Owen Taylor  <otaylor@gtk.org>

	* Makefile.am app/blob.[ch] (blob_bounds): Added new files for
	handling scan-converted convex polygons. (From
	gsumi) (these will be moved out to a plug-in tool directory
	when such a thing exists)

	* app/ink.[ch]: New tool for drawing with a hard-edged
	pressure and tilt-sensitive brush.

	* gimprc.c interface.c paint_core.c pixmaps.h tools.[ch]
	All the modifications for adding a new tool. We need
	to fix this.
1998-06-14 22:42:36 +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
Sven Neumann 4d12855242 Added a popup menu to the upper left corner of the image window.
Updated pagecurl plug-in.


--Sven
1998-06-09 09:20:46 +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 Matthew Wilson 5454b968e7 Register private tips for all the tools - for use with online help later
Sun Jun  7 00:22:01 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/interface.c: Register private tips for all the tools -
	for use with online help later
--Matt
1998-06-07 04:22:57 +00:00
Manish Singh 9fa974dd15 changed it back, things work now
* app/interface.c: changed it back, things work now

* plug-ins/gfli/gfli.c: fixed gccism

* plug-ins/MapObject/mapobject_main.c: update display when we're done
(from seth)

-Yosh
1998-06-06 21:25:10 +00:00
Manish Singh 3819b86677 Something is really broke here. GdkImages of type GDK_IMAGE_NORMAL crash
on gdk_image_destroy(). I've changed the code in interface.c to workaround
this (so gimp at least starts) but the text tool is still broken, as well
as many of the plugins.

What niggles me is that I can't find anything in glib or gdk that could
explain this (diffing against the stable branch, where everything works).
I dunno, maybe I'm looking over something obvious...

I'd like to know what data this problem started happening... anyone?

-Yosh
1998-06-06 11:04:03 +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 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 a7b50bbeca plug mem leak in message_box
* app/interface.c: plug mem leak in message_box

* plug-ins/mail/mail.c: use g_message

* plug-ins/script-fu/scripts/carve-it.scm: fix for gimp-layer-new params from
Kevin Cozens <kcozens@interlog.com>

* plug-ins/CEL/CEL.c
* plug-ins/pcx/pcx.c
* plug-ins/tiff/tiff.c: updates from author

* plug-ins/png/png.c: correct copyright

* plug-ins/print/print.h: use correct version

-Yosh
1998-05-31 06:49:20 +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
EDP 1998 Matthew Wilson 56772cb2cf Set the current tool's gdisplay pointer to NULL when destroying a gdisplay
Mon Apr 13 00:27:45 EDP 1998 Matthew Wilson <msw@gimp.org>

	* app/gdisplay.c: Set the current tool's gdisplay pointer to NULL
	when destroying a gdisplay

	* app/interface.c: Use "clicked" as the signal to handle for menu
	based tools.  This lets us pop by_color_select back up.

--Matt
1998-04-13 04:32:39 +00:00
Tim Janik 83d3ce6535 handle WM delete of toolbox correctly. (gdisplay_delete): don't close
* app/interface.c (toolbox_delete): handle WM delete of toolbox
        correctly.
        (gdisplay_delete): don't close image window without confirmation.
-timj
1998-03-15 03:15:35 +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 16aacc47a8 Drawable scrollbars shouldn't autofocus for keyboard ops.
-Yosh
1998-03-11 05:38:45 +00:00
Tim Janik 118a5668dd gtk_tooltips_set_tips -> gtk_tooltips_set_tip conversion
-timj
1998-02-21 03:42:10 +00:00
scott ff6cbbb8e6 More refcounting stuff. I think canvas refcounting is correct now.
--sg
1998-02-14 15:30:31 +00:00
scott 60cd2ad1d3 Removed called to gtk_widget_destroy after gtk_widget_sink in toolbox_free.
(Don't ask me why.)
--sg
1998-02-03 23:47:15 +00:00
scott fd75df2a47 Changes to deal with new GTK refcounting regime.
--sg
1998-02-03 22:54:35 +00:00
Manish Singh 89b600d2bc removed all usage of linked.[ch] and switched to GSLists
-Yosh
1998-01-29 08:03:27 +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 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
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00