Commit Graph

89 Commits

Author SHA1 Message Date
CDT 1998 Larry Ewing e6c92b1b22 moved gtk_widget_show (lc_shell) so that the layers show up in the dialog
Fri Jul 24 14:40:55 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/layers_dialog.c (lc_dialog_create): moved
	gtk_widget_show (lc_shell) so that the layers show up in the
	dialog again.  I've told Owen about this problem, we'll see what
	comes up.
1998-07-24 19:41:23 +00:00
EDT 1998 Adrian Likins a827cd6101 applied gimp-kc-980707-1 from Kevin Cozens <kcozens@interlog.com>
Mon Jul 13 19:07:43 EDT 1998  Adrian Likins <adrian@gimp.org>

        * app/drawable.c app/commands.c app/gimpimage.h
          app/layers_dialog.c: applied gimp-kc-980707-1 from
          Kevin Cozens <kcozens@interlog.com>

        * Dialog boxes for creating a new image or a new layer now include
          as a fill type option.

-adrian
1998-07-14 00:29:08 +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 6a02cda396 Started gimpset, a generic class for handling collections of
objects. (And to automatically manage their signals, not implemented
yet)

Moved drawable_apply_image to drawable.c

Created a global context object (image_context) to handle the
collection of images that the app manages.
1998-07-01 23:06:49 +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 5c5c73f3f5 Misc cleaning up here and there. Note that since the ids were used
to detect if an image still exists, some things may, for now,
access freed images and break. This will be fixed once proper
destroy handlers are added.
1998-06-30 01:14:36 +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
Sven Neumann efd46c7a67 The lc-dialog can now be opened from the toolbox-menu. Did that in
preparation for auto-opening dialogs on start-up.


--Sven
1998-06-23 21:28:22 +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
Sven Neumann 5ed22def4a The middle mouse button now pops up the menu as well as the third
when clicking on the layer/channel. This should help users that use
a tablet and don't have a right mouse button (like me).


--Sven
1998-06-18 01:04:45 +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
Manish Singh 5cc38d44a2 divide paint mode stuff
-Yosh
1998-06-09 04:04:43 +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
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
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
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
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 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +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 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 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 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 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 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 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 7bf752c87b Cleanups for 0.99.19 release
-Yosh
1998-03-02 02:47:35 +00:00
scott 731f5219a3 More refcounting. --sg
More refcounting.
--sg
1998-02-05 00:07:31 +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
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 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
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
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